• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems linking a standalone Java Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Problems linking a standalone Java Cocoa app (From: Vincent Coetzee <email@hidden>)

  • Prev by Date: Re: Value Transformers and MVC ...
  • Next by Date: Re: NSTextView woes
  • Previous by thread: Re: Problems linking a standalone Java Cocoa app
  • Next by thread: Re: Problems linking a standalone Java Cocoa app
  • Index(es):
    • Date
    • Thread