AppKit compile error

59 views
Skip to first unread message

Stefan Hertenberger

unread,
Apr 22, 2012, 11:55:28 AM4/22/12
to cocotr...@googlegroups.com

Hello,

i'll try to compile cocotron with xcode 4.2 on snow leopard, i get the following error message

Build target AppKit-Windows-i386

Ld /Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/Versions/A/AppKit.1.0.dll normal i386
    cd /Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit
    /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-gcc -arch i386 -dynamiclib -L/Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/../build/Release-windows -F/Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/../build/Release-windows -filelist /Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/build/AppKit.build/Release-windows/AppKit-Windows-i386.build/Objects-normal/i386/AppKit.LinkFileList -install_name /Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/Versions/A/AppKit.1.0.dll -static -shared -lmsimg32 -lole32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lopengl32 -lwinmm -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--out-implib,/Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/libAppKit.a -framework Foundation -single_module -o /Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/Versions/A/AppKit.1.0.dll

Command /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-gcc failed with exit code 1

I completly removed xcode and reinstalled the CDT, but the error remains. Any Ideas?

Greetings Stefan

andyvn22

unread,
Apr 26, 2012, 7:23:20 PM4/26/12
to cocotr...@googlegroups.com
The problem here is that Xcode is providing NO useful information on the error. I find that if you run the command manually sometimes you get much more detailed errors, so I recommend copying the command into Terminal.app and running it from there--you may at least be able to provide additional information here.

If you're unsure, the command I'm talking about to run in Terminal is:
cd /Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit
    /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-gcc -arch i386 -dynamiclib -L/Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/../build/Release-windows -F/Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/../build/Release-windows -filelist /Users/stefan/Programmieren/Cocotron/glennganz-cocotron1/AppKit/build/AppKit.build/Release-windows/AppKit-Windows-i386.build/Objects-normal/i386/AppKit.LinkFileList -install_name /Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/Versions/A/AppKit.1.0.dll -static -shared -lmsimg32 -lole32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lopengl32 -lwinmm -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--out-implib,/Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/libAppKit.a -framework Foundation -single_module -o /Developer/Cocotron/1.0/Windows/i386/Frameworks/AppKit.framework/Versions/A/AppKit.1.0.dll

Stefan Hertenberger

unread,
Apr 27, 2012, 1:15:35 AM4/27/12
to cocotr...@googlegroups.com
Hi,

after a bit of try and error i found out that -lz and -ljpeg where missing. I got it compiled, thank you.
Reply all
Reply to author
Forward
0 new messages