<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello,<br> <br> I am trying to compile an example, test.cpp in a separate file. I have some errors:<br> g++ -o test -I../../audio_tool/stk-4.4.1/include test.cpp -L ../../audio_tool/stk-4.4.1/src/ -lstk <br>../../audio_tool/stk-4.4.1/include/Mutex.h:67: error: ‘MUTEX’ does not name a type<br>../../audio_tool/stk-4.4.1/include/Mutex.h:68: error: ‘CONDITION’ does not name a type<br><br>I also tried the following:<br>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 <br><command line>:1:16: warning: missing whitespace after the macro name<br>ld: library not
found for -lstk<br>collect2: ld returned 1 exit status<br>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. <br>I played around this but still errors. Can anybody help me with an example, please.<br>Thank you.<br><br><br></div></div><br>
<p class="MsoNormal"> </p>
<tbody><tr>
<td style="padding: 0.75pt;">
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="1" width="100%">
</span></font></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><img id="_x0000_i1026" src="http://us.i1.yimg.com/us.yimg.com/i/ca/iotg_search.jpg" align="absbottom" border="0" height="25" hspace="4" width="25"><a href="http://ca.toolbar.yahoo.com/" target="_new"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo!
Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on
the web and bookmark your favourite sites. Download it now! </span></a>
</span></font><span lang="NO-BOK"><o:p></o:p></span></p></body></html>