Hello OpenSG-fellows,

I am currently trying to compile OpenSG (dailybuild from today) in 
VS2008 (WinXP) with Gerrits gv_beta flag.
The result is strange:

scons: Reading SConscript files ...
Compiling with gv beta enabled!
Detected environment: win32-msvc90
scons: done reading SConscript files.
scons: Building targets ...
cl /nologo /TP /arch:SSE /Oi /Ot /GS- /Gy /w44910 /w44258 /w44996 /EHsc 
/GR /Zm1200 /Zc:forScope /MD /Ox /Ob2 /DOSG_WITH_GLUT /DOSG_WITH_JPG 
/DOSG_WITH_TIF /DOSG_WITH_PNG /DOSG_WITH_GIF /DOSG_WITH_JASPER 
/DOSG_WITH_IMF /DOSG_GV_BETA /DWIN32 /D_WINDOWS /DWINVER=0x0400 
/D_WIN32_WINDOWS=0x0410 /D_WIN32_WINNT=0x0400 /DSTRICT /DNOMINMAX 
/D_OSG_HAVE_CONFIGURED_H_ /DNDEBUG /DOSG_WITH_GLUT /DOSG_BUILD_DLL 
/IBuild\win32-msvc90\Source\Base /IBuild\win32-msvc90\Tutorials 
/ITutorials /IBuild\win32-msvc90\installed\include /c 
Tutorials\01hello.cpp /FoBuild\win32-msvc90\Tutorials\opt\01hello.obj
01hello.cpp
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(81) : error C2504: 
'MPBase' : base class undefined
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(90) : error C2146: 
syntax error : missing ';' before identifier 'Inherited'
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(90) : error C4430: 
missing type specifier - int assumed. Note: C++ does not support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(90) : error C4430: 
missing type specifier - int assumed. Note: C++ does not support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(387) : error 
C2146: syntax error : missing ';' before identifier 'Type'
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(387) : error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(387) : error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(469) : error 
C2146: syntax error : missing ';' before identifier 'Type'
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(469) : error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(469) : error 
C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(78) : 
error C2039: 'Type' : is not a member of 'osg::Lock'
        Build\win32-msvc90\installed\include\OpenSG/OSGLock.h(381) : see 
declaration of 'osg::Lock'
        
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(307) : 
see reference to class template instantiation 
'osg::MPFieldStore<MPFieldT>' being compiled
        with
        [
            MPFieldT=osg::Lock
        ]
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(78) : 
error C2146: syntax error : missing ';' before identifier 'MPFieldType'
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(78) : 
error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(78) : 
error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(117) : 
error C2143: syntax error : missing ';' before '*'
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(117) : 
error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(117) : 
error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(117) : 
warning C4183: 'findMPFieldType': missing return type; assumed to be a 
member function returning 'int'
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(128) : 
error C2065: 'MPFieldType' : undeclared identifier
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(128) : 
error C2059: syntax error : '>'
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(129) : 
error C2653: 'MPFieldTypeMap' : is not a class or namespace name
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(131) : 
error C2653: 'MPFieldTypeMap' : is not a class or namespace name
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(134) : 
error C2653: 'MPFieldMap' : is not a class or namespace name
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(154) : 
error C2143: syntax error : missing ';' before '}'
Build\win32-msvc90\installed\include\OpenSG/OSGThreadManager.h(154) : 
fatal error C1004: unexpected end-of-file found
scons: building terminated because of errors.


Even though OSGMPBase.h is included in OSGLock.h, the base class MPBase 
is unknown. Is anyone using Gerrits code with VS2008 and has a solution 
(other than using an older MSVS version...)?

Cheers,
Volker Settgast


PS:
I allready tried some fixes: adding OSGLog.h seems to help somehow to 
build some objects, but I get stuck later on, so it is not that simple...

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to