No subject
Mon Aug 10 18:29:21 EDT 2009
ng to link them my old i386 libraries, however =A0the variable CMAKE_OSX_AR=
CHITECTURES is still equal to i386.<br>
<br>
What else could be causing the linker to fail in this way?<br>
<br>
Celil<br>
<br>
<br>
On Mon, Aug 31, 2009 at 11:49 AM, Celil Rufat <<a href=3D"mailto:celil.r=
ufat at gmail.com" target=3D"_blank">celil.rufat at gmail.com</a>> wrote:<br>
Simply reinstalling XCode for 10.6 fixed the problem.<br>
<br>
Thanks for the help.<br>
Celil<br>
<br>
<br>
On Sun, Aug 30, 2009 at 10:49 PM, Michael Jackson <<a href=3D"mailto:mik=
e.jackson at bluequartz.net" target=3D"_blank">mike.jackson at bluequartz.net</a>=
> wrote:<br>
MAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2<br>
<br>
Yep, there is the problem. CMake looks in the /Developer/SDKs for all avail=
able SDKs and then greps for some information to try and figure out which o=
ne 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<br>
<br>
<br>
<br>
On Aug 30, 2009, at 11:26 PM, Celil Rufat wrote:<br>
<br>
<br>
this person also has the problem <<a href=3D"http://stackoverflow.com/qu=
estions/1349886/cmake-settings-on-snow-leopard" target=3D"_blank">http://st=
ackoverflow.com/questions/1349886/cmake-settings-on-snow-leopard</a>><br=
>
<br>
Yup, that was also me :-)<br>
<br>
=A0Please post the following variables from your project after a first run =
of cmake on your project from a clean build directory.<br>
<br>
=A0CMAKE_OSX_ARCHITECTURES<br>
=A0CMAKE_OSX_SYSROOT<br>
<br>
<br>
CMAKE_OSX_ARCHITECTURES =A0i386<br>
CMAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2<br>
<br>
Hmm, the last variable is strange. I don'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>
</blockquote>
<br>
</div></div></blockquote></div><br>
--000e0cd4b31895ec920472872f50--
More information about the CMake
mailing list