I'm trying to to build from the source getting the following error
ld: file not found: ../build/Debug/Oolite.app/Contents/MacOS/Oolite
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode 4.4
OS Mountain Lion
Any Ideas ?
Can not build
Moderators: winston, another_commander, Getafix
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Can not build
No real ideas. I get a similar error with XCode 3.x on Snow Leopard with debug builds:
This error though is only there because of a previous error that fails to build oolite. And than for the second it is logic that it can't find the compiled file
So, any previous error would be more helpful.
You could try making an other build by selecting in the XCode menu Project->set Active Build Configuration->TestRelease
(It builds in a different folder that the debug builds)
That helps for me, but my problem should not be there on XCode 4.x
Code: Select all
ld: file not found: ../build/Debug/Oolite.app/Contents/MacOS/Oolite
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Command /Developer/usr/bin/clang failed with exit code 1
So, any previous error would be more helpful.
You could try making an other build by selecting in the XCode menu Project->set Active Build Configuration->TestRelease
(It builds in a different folder that the debug builds)
That helps for me, but my problem should not be there on XCode 4.x
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Can not build
The equivalent in Xcode 4 is to select “Oolite - Test Release” from the Scheme pop-up. But as Eric suggests, this error cannot happen unless there’s a preceding error.Eric Walch wrote:You could try making an other build by selecting in the XCode menu Project->set Active Build Configuration->TestRelease
(It builds in a different folder that the debug builds)
E-mail: [email protected]
Re: Can not build
Thanks will give it a go, just started using a Mac done most of my programming under Linux so on a bit of a learning curve.