<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,</div><div><br></div>I'm trying to build cm3.4.0 from source on MacOs Tiger 10.4.11 on an intel machine.<div>I feel like I'm getting frustratingly close, but am a couple of steps out of my depth.</div><div><br></div><div>As far as I can tell, the issue *may* be somehow related to complex.h.</div><div><br></div><div>My two scenarios:</div><div><br></div><div>A)</div><div>I configure sndlib using CC=g++ and make it.</div><div>I build juce-1.50 using Xcode 2.5, with target deployment to 10.4 universal.</div><div>I premake cm3.4.0 using --target gnu --sndlib ../sndlib and passing it the --juce ../../juce-1.50 option</div><div><br></div><div>When I make this, it exits with this error:</div><div><div>In file included from src/juce.h:1,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from src/Scanner.h:16,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from src/Scanner.cpp:21:</div><div>src/juce_amalgamated.h:156:6: error: #error "To build with 10.4 compatibility, use a 10.5 or 10.6 SDK and set the deployment target to 10.4"</div><div>make[1]: *** [obj/cm/Release/Scanner.o] Error 1</div><div>make: *** [cm] Error 2</div><div><br></div><div>Since I know I've built juce with a 10.4 deployment, and the file referred to in the error was src/juce, I thought it looks like the --juce option in the premake (v3.5 installed from MacPorts) wasn't working properly.&nbsp;</div><div><br></div><div>So I changed the #include in cm/src/juce.h to point my juce directory such:&nbsp;<span class="Apple-style-span" style="color: rgb(104, 56, 33); font-family: Monaco; font-size: 10px; ">#include "../../juce-1.50/juce_amalgamated.h"</span></div></div><div><br></div><div>Make again, and now it compiles for quite a while until it exits with this error:</div><div><div>/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:</div><div>_gsl_complex_arccos_real</div><div>_gsl_complex_arccosh_real</div><div>_gsl_complex_cos</div><div>_gsl_complex_cosh</div><div>_gsl_complex_div</div><div>_gsl_complex_mul_real</div><div>_gsl_complex_sin</div><div>_gsl_sf_bessel_I0_e</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [bin/cm] Error 1</div><div>make: *** [cm] Error 2</div><div><br></div><div>Scenario B)</div><div>I configure sndlib using the default CC (i686-apple-darwin8-gcc-4.0.1) and make it&nbsp;</div><div>I unpack the cm sources afresh.</div><div>I modify the cm/src/juce.h as above</div><div>I premake as above</div><div><br></div><div>Upon make it compiles for a while again but then exits with this error:</div><div><div>In file included from /usr/include/c++/4.0.0/backward/complex.h:31,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ../sndlib/clm.h:13,</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from src/SndLib.cpp:16:</div><div>/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the &lt;X&gt; header for the &lt;X.h&gt; header for C++ includes, or &lt;iostream&gt; instead of the deprecated header &lt;iostream.h&gt;. To disable this warning use -Wno-deprecated.</div><div>../sndlib/clm.h:137: error: expected constructor, destructor, or type conversion before 'double'</div><div>make[1]: *** [obj/cm/Release/SndLib.o] Error 1</div><div>make: *** [cm] Error 2</div></div><div><br></div><div>Any clues?</div><div><br></div><div>Anybody else successfully built cm3.4.0 on Tiger?</div><div><br></div><div>Thanks,</div><div>Sean</div><div><br></div></div><br><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Optima; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>-------------------------</div><div>Sean Reed</div><div>Dublin</div><div><a href="mailto:reed@seanreed.ie">reed@seanreed.ie</a></div><div>www.seanreed.ie</div><br class="Apple-interchange-newline"></span> </div><br></body></html>