Hi, here comes my next problem. Like in my other mails I am developing a OpenSG 1.8 application with Qt 4.5 under Windows XP (MSVC 2008 SP1). When I am running my app in the release modus everything is fine. But in the debug modus the startup failed always with return code 1. I have compare the compiler settings, there are no significant differences, except from the debug options. The OSG-QT integration is similar to the tutorial ( http://www.opensg.org/doc-1.6.0/QT.html ). I have try to figure out the error with the debugger. The app quits after calling the parent constructor of OSGQGLWidget, the Qt QGLWidget constructor, in the QSGQ4GLWidget_qt.cpp file. The funny thing is, that the release binary runs perfect.
Here are my compiler and linker options: Compiler: /Od /I "D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Visual Studio 2008\Projects\vrag\src" /I "D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Programmierung\boost_1_39_0" /I "D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Programmierung\pthreads\Pre-built.2\include" /I "D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Visual Studio 2008\Projects\simeng\src" /I "D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Programmierung\OpenSG\Build\win32-msvc90\installed\include" /I ".\GeneratedFiles" /I "C:\Qt\2009.03\qt\include" /I ".\GeneratedFiles\Debug" /I "C:\Qt\2009.03\qt\include\QtCore" /I "C:\Qt\2009.03\qt\include\QtGui" /I "C:\Qt\2009.03\qt\include\QtOpenGL" /I ".\\" /D "UNICODE" /D "WIN32" /D "QT_THREAD_SUPPORT" /D "QT_CORE_LIB" /D "QT_GUI_LIB" /D "QT_OPENGL_LIB" /D "OSG_WITH_QT" /D "OSG_WITH_TIF" /D "OSG_WITH_PNG" /D "OSG_WITH_JPG" /D "_DEBUG" /D "_LIB" /D "_USE_MATH_DEFINES" /D "OSG_DEBUG" /D "OSG_BUILD_DLL" /FD /EHsc /MD /Zc:wchar_t- /Fo"Debug\\" /Fd"Debug\vc90.pdb" /nologo /c /Zi /TP /errorReport:prompt Linker: /OUT:"D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Visual Studio 2008\Projects\Demonstrator2\Debug\Demonstrator2.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Qt\2009.03\qt\lib" /LIBPATH:"D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Programmierung\pthreads\Pre-built.2\lib" /LIBPATH:"D:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Programmierung\OpenSG\Build\win32-msvc90\installed\lib" /MANIFEST /MANIFESTFILE:"Debug\Demonstrator2.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"d:\Dokumente und Einstellungen\jschaefer\Eigene Dateien\Visual Studio 2008\Projects\Demonstrator2\Debug\Demonstrator2.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT OSGBaseD.lib OSGSystemD.lib OSGWindowQT4D.lib pthreadVSE2.lib opengl32.lib qtmaind.lib QtCored4.lib QtGuid4.lib QtOpenGLd4.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Has anybody a idea how to fix this problem? Regards, Johannes. -- Johannes Schäfer, B.Sc. Studentischer Mitarbeiter Geschäftsfeld Virtuelle Produktentstehung Fraunhofer-Institut für Produktionsanlagen und Konstruktionstechnik IPK Pascalstraße 8-9 10587 Berlin Tel.: +49 (0)30 / 3 90 06-266 Fax: +49 (0)30 / 3 91 10 37 mailto:[email protected] http://www.ipk.fraunhofer.de Das Fraunhofer IPK ist DQS-zertifiziert nach ISO 9001:2008. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
