On 22.08.2007, at 00:20, Bo Peng wrote:
Compiles fine here (linux)
scons/linux/msvc, cmake, autotools/linux/mac are working... enough
for today.
BTW: is cmake with Xcode supposed to work? It gives the following
error at the final linking stage:
collect2: ld returned 1 exit status
/usr/bin/ld: warning -L: directory name (/opt/local/lib/Release)
does not exist
/usr/bin/ld: Undefined symbols:
.objc_class_name_NSCursor
_objc_msgSend
.objc_class_name_NSObject
.objc_class_name_NSSound
_NSBeep
_objc_msgSendSuper
.objc_class_name_NSColor
.objc_class_name_NSColorPanel
.objc_class_name_NSNotificationCenter
_NSCalibratedRGBColorSpace
_NSDeviceCMYKColorSpace
_NSDeviceRGBColorSpace
_NSEnableScreenUpdates
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSGraphicsContext
.objc_class_name_NSImage
.objc_class_name_NSImageView
.objc_class_name_NSMenu
.objc_class_name_NSMenuItem
.objc_class_name_NSStatusBar
.objc_class_name_NSStatusItem
_NSApplicationLoad
_NSMenuDidEndTrackingNotification
_objc_msgSend_stret
/opt/local/lib/libQtGui.a(qcursor_mac.o) reference to
undefined .objc_class_name_NSCursor
/opt/local/lib/libQtGui.a(qcursor_mac.o) reference to undefined
_objc_msgSend
/opt/local/lib/libQtGui.a(qsound_mac.o) reference to
undefined .objc_class_name_NSObject
/opt/local/lib/libQtGui.a(qsound_mac.o) reference to
undefined .objc_class_name_NSSound
/opt/local/lib/libQtGui.a(qsound_mac.o) reference to undefined
_NSBeep
/opt/local/lib/libQtGui.a(qsound_mac.o) reference to undefined
_objc_msgSend
/opt/local/lib/libQtGui.a(qsound_mac.o) reference to undefined
_objc_msgSendSuper
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined .objc_class_name_NSColor
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined .objc_class_name_NSColorPanel
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined .objc_class_name_NSNotificationCenter
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined .objc_class_name_NSObject
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _NSCalibratedRGBColorSpace
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _NSDeviceCMYKColorSpace
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _NSDeviceRGBColorSpace
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _NSEnableScreenUpdates
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _objc_msgSend
/opt/local/lib/libQtGui.a(qcolordialog_mac.o) reference to
undefined _objc_msgSendSuper
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSAutoreleasePool
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSGraphicsContext
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSImage
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSImageView
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSMenu
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSMenuItem
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSNotificationCenter
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSObject
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSStatusBar
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined .objc_class_name_NSStatusItem
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined _NSApplicationLoad
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined _NSMenuDidEndTrackingNotification
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined _objc_msgSend
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined _objc_msgSendSuper
/opt/local/lib/libQtGui.a(qsystemtrayicon_mac.o) reference to
undefined _objc_msgSend_stret
collect2: ld returned 1 exit status
Build failed (1 error, 72 warnings)
Andi