Re: Problems linking a standalone Java Cocoa app
Re: Problems linking a standalone Java Cocoa app
- Subject: Re: Problems linking a standalone Java Cocoa app
- From: "Alexander F. Hartner" <email@hidden>
- Date: Mon, 21 Jun 2004 22:22:57 +0200
Hi Vincent,
Did you come right with this. I had a similar problem. With newer
versions of X-Code you need to user the "LEGACY APPLICATION" project
type to get the Java stuff to work. I haven't found a better solution
yet, but when you create a legacy application type built process, which
has all the Java options it should work again.
Good luck
Alex
On 03 Jun 2004, at 17:29, Vincent Coetzee wrote:
Hi there
I have had a project working fine using Cocoa and Java. I recently
acquired a new laptop and copied all my source code to the new
machine, as well as installing XCode etc etc (the latest of
everything). Now when I build my Cocoa Java app I get the following
error
StandaloneExecutable.LinkUsingFileList
/Users/vincent/Development/dbusiness/test/build/test.app/Contents/
MacOS/test
/usr/bin/gcc-3.3 -o
/Users/vincent/Development/dbusiness/test/build/test.app/Contents/
MacOS/test "-L/Users/vincent/Development/dbusiness/test/build"
"-F/Users/vincent/Development/dbusiness/test/build" -filelist
/Users/vincent/Development/dbusiness/test/build/test.build/test.build/
Objects-normal/LinkFileList "-arch" "ppc" "-prebind"
"-Wl,-no_arch_warnings" "-framework" "Cocoa"
ld: can't locate file for: -lcrt1.o
...failed StandaloneExecutable.LinkUsingFileList
/Users/vincent/Development/dbusiness/test/build/test.app/Contents/
MacOS/test ...
I am running Java 1.4.2_03 with the dev kit for 1.4.2 installed and
XCode 1.1 on Panther 10.3.4
Does anyone have any ideas. I am baffled ?
Thanks in advance
Vincent
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.