[Stk] compilation error

Atunu Name atunu64 at yahoo.ca
Wed Sep 16 09:05:58 PDT 2009


Hello,
 
 I am trying to compile an example, test.cpp  in a separate file. I have some errors:
 g++ -o test  -I../../audio_tool/stk-4.4.1/include  test.cpp   -L ../../audio_tool/stk-4.4.1/src/ -lstk 
../../audio_tool/stk-4.4.1/include/Mutex.h:67: error: ‘MUTEX’ does not name a type
../../audio_tool/stk-4.4.1/include/Mutex.h:68: error: ‘CONDITION’ does not name a type

I also tried the following:
g++ -O3 -Wall -o test  -I ../../audio_tool/stk-4.4.1/include  -DHAVE_GETTIMEOFDAY -D__MACOSX_CORE__-D__LITTLE_ENDIAN__  test.cpp   -L ../../audio_tool/stk-4.4.1/src/ -lstk -lpthread -framework CoreAudio  
<command line>:1:16: warning: missing whitespace after the macro name
ld: library not found for -lstk
collect2: ld returned 1 exit status
My stk-4.4.1 is on the desktop, and I am trying to use the test.cpp to make some changes according to my need  in another folder directory on my desktop. 
I played around this but still errors. Can anybody help me with an example, please.
Thank you.


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20090916/472c4ac4/attachment.html 


More information about the Stk mailing list