Csound Csound-dev Csound-tekno Search About

[Cs-dev] CS Perf Thread - Pthread linking (Windows)

Date2014-11-13 15:32
FromSteven Yi
Subject[Cs-dev] CS Perf Thread - Pthread linking (Windows)
AttachmentsNone  None  
Hi All,

With the latest from develop on Windows, I'm seeing issues with csPerfThread and linking.  I remember there was some recent messages about removing a link to pthread from csnd6; are others able to compile on windows?

steven

CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0x43): undefined reference to `_imp__pthread_mutex_lock'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0x65): undefined reference to `_imp__pthread_cond_wait'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0xdd): undefined reference to `_imp__pthread_mutex_unlock'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0x390): undefined reference to `_imp__pthread_cond_signal'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0x60d): undefined reference to `_imp__pthread_mutex_init'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0x625): undefined reference to `_imp__pthread_cond_init'
CMakeFiles/libcsnd6.dir/objects.a(csPerfThread.cpp.obj):csPerfThread.cpp:(.text+
0xae0): undefined reference to `_imp__pthread_cond_signal'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: CMakeFiles
/libcsnd6.dir/objects.a(csPerfThread.cpp.obj): bad reloc address 0x148 in sectio
n `.gcc_except_table'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [csnd6.dll] Error 1
make[2]: Leaving directory `/c/Users/Administrator/work/cs6make'
make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
make[1]: Leaving directory `/c/Users/Administrator/work/cs6make'
make: *** [all] Error 2