Can not build

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
PAS
Poor
Poor
Posts: 4
Joined: Sun May 29, 2011 11:58 am

Can not build

Post by PAS »

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 ?
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Can not build

Post by Eric Walch »

No real ideas. I get a similar error with XCode 3.x on Snow Leopard with debug builds:

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
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 :lol:
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
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Can not build

Post by JensAyton »

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)
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.
PAS
Poor
Poor
Posts: 4
Joined: Sun May 29, 2011 11:58 am

Re: Can not build

Post by PAS »

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.
Post Reply