03.07.2009, 20:13
I cant compile it, someone have a idea (under Ubuntu)?
Quote:
gcc -c -O3 -w -D LINUX -I ./SDK/amx/ ./SDK/amx/*.c g++ -c -O3 -w -D LINUX -I ./SDK/amx/ ./SDK/*.cpp g++ -c -O3 -w -D LINUX -I ./SDK/amx/ *.cpp audio.cpp: In function вint audio_listen(int)в: audio.cpp:149: erreur: no matching function for call to вboost::thread::thread(int (&)(int), int&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) audio.cpp:150: erreur: no matching function for call to вboost::thread::thread(void (&)(int), int&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) audio.cpp: In function вint audio_receive(int)в: audio.cpp:186: erreur: no matching function for call to вboost::thread::thread(void (&)(int), int&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) main.cpp: In function вcell n_audio_createtcpserver(AMX*, cell*)в: main.cpp:75: erreur: no matching function for call to вboost::thread::thread(int (&)(int), int&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) main.cpp: In function вcell n_audio_setpack(AMX*, cell*)в: main.cpp:138: erreur: no matching function for call to вboost::thread::thread(int (&)(char*), char*&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) main.cpp: In function вcell n_audio_transferpack(AMX*, cell*)в: main.cpp:983: erreur: no matching function for call to вboost::thread::thread(int (&)(int, char*), int&, char*&)в /usr/include/boost/thread/pthread/thread.hpp:160: note: candidats sont: boost::thread::thread(boost::detail::thread_move_t <boost::thread>) /usr/include/boost/thread/pthread/thread.hpp:144: note: boost::thread::thread() /usr/include/boost/thread/pthread/thread.hpp:139: note: boost::thread::thread(boost::detail::thread_data_p tr) /usr/include/boost/thread/pthread/thread.hpp:112: note: boost::thread::thread(boost::thread&) make: *** [all] Erreur 1 |