Simply reinstalling XCode for 10.6 fixed the problem. <br><br>Thanks for the help. <br>Celil<br><br><div class="gmail_quote">On Sun, Aug 30, 2009 at 10:49 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">MAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2<br>
<br></div>
Yep, there is the problem. CMake looks in the /Developer/SDKs for all available SDKs and then greps for some information to try and figure out which one to use. Get rid of anything OTHER than official Apple SDKs that are in /Developer/SDKs/*, just consider that directory off limits to anything other than Apple stuff and you should be OK.<br>

<br>
Mike<div><div></div><div class="h5"><br>
<br>
<br>
On Aug 30, 2009, at 11:26 PM, Celil Rufat wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
this person also has the problem &lt;<a href="http://stackoverflow.com/questions/1349886/cmake-settings-on-snow-leopard" target="_blank">http://stackoverflow.com/questions/1349886/cmake-settings-on-snow-leopard</a>&gt;<br>

<br>
Yup, that was also me :-)<br>
<br>
 Please post the following variables from your project after a first run of cmake on your project from a clean build directory.<br>
<br>
 CMAKE_OSX_ARCHITECTURES<br>
 CMAKE_OSX_SYSROOT<br>
<br>
<br>
CMAKE_OSX_ARCHITECTURES  i386<br>
CMAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2<br>
<br>
Hmm, the last variable is strange. I don&#39;t know why it is detecting my android installation as the system root. I will try to delete it, and test again.<br>
<br>
Celil<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>