[CMake] Cannot compile simple example using cmake and xcode (linker problem)

Bill Hoffman bill.hoffman at kitware.com
Tue Jun 23 15:55:48 EDT 2009


Pim Schellart wrote:
> Hello Everyone,
> 
> I tried removing and reinstalling Xcode using (sudo
> /Developer/Library/uninstall-devtools --mode=all) which also removes
> and reinstalls gcc.
> This does not solve the problem.
> In fact cmake -G Xcode now fails with the following:
> 


You might want to make sure that Xcode works without CMake first.  You 
might also want to check MACOSX_DEPLOYMENT_TARGET and SDKROOT 
environment variables.  I know Xcode can be affect by environment 
variables.


-Bill


More information about the CMake mailing list