Seite 1 von 1

Portierung auf MAC

Verfasst: 4. Dezember 2009 08:36
von AuE
Hi, bin grade mit meinen Projekt auf nen Mac umgezogen.... Allerdings habe ich noch einige Schwierigkeiten beim bauen:

Bekomme immerwieder den Fehler "Can´t map file"

macadmins-macbook-pro:Control-Center user make
make -f Makefile.Debug
/Developer/Tools/Qt/uic contolcentermain.ui -o ui_contolcentermain.h
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/main.o main.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/contolcentermain.o contolcentermain.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/pluginLoader.o pluginLoader.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/helperfunctions.o helperfunctions.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/Systemtray.o Systemtray.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/debug.o debug.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/viewWidgetHandling.o viewWidgetHandling.cpp
../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
/Developer/Tools/Qt/moc -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -D__APPLE__ -D__GNUC__ contolcentermain.h -o debug/moc_contolcentermain.cpp
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/moc_contolcentermain.o debug/moc_contolcentermain.cpp
debug/../../picture_plugin/picture_plugin_interface.h:8: warning: ‘class PicturePluginInterface’ has virtual functions but non-virtual destructor
/Developer/Tools/Qt/moc -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -D__APPLE__ -D__GNUC__ ../globalInclude/mainInterface.h -o debug/moc_mainInterface.cpp
g++ -c -pipe -g -gdwarf-2 -Wall -W -DDEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/usr/include/QtUiTools -I/Library/Frameworks/QtDesigner.framework/Versions/4/Headers -I/usr/include/QtDesigner -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtXml.framework/Versions/4/Headers -I/usr/include/QtXml -I/Library/Frameworks/QtScript.framework/Versions/4/Headers -I/usr/include/QtScript -I/usr/include -I../qtsoap-2.7-opensource/src -Idebug -I. -I. -F/Library/Frameworks -o debug/moc_mainInterface.o debug/moc_mainInterface.cpp
g++ -headerpad_max_install_names -o ../build/Control-Center_debug.app/Contents/MacOS/Control-Center_debug debug/main.o debug/contolcentermain.o debug/pluginLoader.o debug/helperfunctions.o debug/Systemtray.o debug/debug.o debug/viewWidgetHandling.o debug/moc_contolcentermain.o debug/moc_mainInterface.o -F/Library/Frameworks -L/Library/Frameworks -L/Users/muserld/Projects/projects/unix-gui/qtsoap-2.7-opensource/lib -lQtSolutions_SOAP-2.7_debug -L ../build/plugins -framework QtNetwork -framework SystemConfiguration -framework QtDesigner -framework QtScript -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -framework ApplicationServices -lQtUiTools_debug
ld: in ../build/plugins, can't map file, errno=22

unter ../build/plugins sollten eigentlich dann die Plugins liegen aber auch wenn ich die bauen will - gleicher Fehler.

Verfasst: 4. Dezember 2009 08:56
von solarix
g++ -headerpad_max_install_names -o ../build/Control-Center_debug.app/Contents/MacOS/Control-Center_debug debug/main.o debug/contolcentermain.o debug/pluginLoader.o debug/helperfunctions.o debug/Systemtray.o debug/debug.o debug/viewWidgetHandling.o debug/moc_contolcentermain.o debug/moc_mainInterface.o -F/Library/Frameworks -L/Library/Frameworks -L/Users/muserld/Projects/projects/unix-gui/qtsoap-2.7-opensource/lib -lQtSolutions_SOAP-2.7_debug -L ../build/plugins -framework QtNetwork -framework SystemConfiguration -framework QtDesigner -framework QtScript -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -framework ApplicationServices -lQtUiTools_debug
Da hat's ein Leerzeichen zuviel.. "-L<SPACE>../build/plugins".. keine Ahnung woher das kommt, aber der Linker hält "../build/plugins" für ein zu linkendes Objekt..

hth