Dear all,
I try to build OpenSG 2.0 with Visual Studio 2005 on Windows XP and
python 2.6 using
python Tools/scons-local/scons.py BoostBaseDir=c:\programs\boost\boost_1_35_0
MSVS_VERSION=8.0 var_type=debug enable_unittests=False
The build process ends with a compiler error in OSGRemoteAspect - see attached
output file.
Can anybody help?
Many thanks
Paul
--
------------------------------------------------------------
Dr. Paul Benölken Tel: +49 221 478-5581
Zentrum für Angewandte Informatik Fax: +49 221 478-86845
Universität zu Köln Email: [EMAIL PROTECTED]
Robert-Koch-Strasse 10 www.uni-koeln.de/rrzk
D - 50931 Köln www.zaik.de
------------------------------------------------------------
scons: Reading SConscript files ...
Using SConsAddons from: Tools/scons-addons/src
-------------------------------------------------
WARNING: The build is currently in development.
- It needs the svn version of scons-addons
WARNING:
Building OpenSG 2.0.0-pre1
### Apply OpenSG SCons AddOn Hacks ###
Valid archs: ['default']
Updating boost
Loading initial settings for boost
BoostBaseDir specified or cached. [C:\Programme\boost\boost_1_35_0].
BoostIncludeDir specified or cached. [C:\Programme\boost\boost_1_35_0].
boost include path: C:\Programme\boost\boost_1_35_0
boost version: 1.35.0
Checking for C++ library boost_filesystem-vc80-mt-1_35... (cached) yes
filesystem: boost_filesystem-vc80-mt-1_35
Checking for C++ library boost_system-vc80-mt-1_35... (cached) yes
system: boost_system-vc80-mt-1_35
Checking for: collada
CSDK find
None
INC : None
LIB : None
Checking for C++ library libcollada14dom... (cached) no
Validation failed for option: collada
Checking for: freetype
Checking for C++ library freetype... (cached) no
Validation failed for option: freetype
Checking for: glut
Checking for C++ library glut32... (cached) yes
Checking for: zlib
Checking for C++ library zlib... (cached) no
Validation failed for option: zlib
Checking for: fontconfig
Checking for C++ library fontconfig... (cached) no
Validation failed for option: fontconfig
Checking for: X
Checking for C++ library X11... (cached) no
Validation failed for option: X
Checking for: NVPerfSDK
Checking for C++ library NVPerfSDK... (cached) no
Validation failed for option: NVPerfSDK
Checking for VTK... VTK base dir (VtkBaseDir) was not specified
Checking for: xml2
Checking for C++ library iconv_a... (cached) no
Checking for C++ library libxml2_a... (cached) no
Validation failed for option: xml2
Checking for: tiff
Checking for C++ library tif32... (cached) no
Validation failed for option: tiff
Checking for: png
Checking for C++ library libpng... (cached) no
Validation failed for option: png
Checking for: jpeg
Checking for C++ library libjpeg... (cached) no
Validation failed for option: jpeg
Found MSVS. using version: 8.0
{'FRAMEWORKDIR': u'C:\\WINDOWS\\Microsoft.NET\\Framework\\',
'FRAMEWORKSDKDIR': u'C:\\Programme\\Microsoft Visual Studio 8\\SDK\\v2.0\\',
'FRAMEWORKVERSION': u'v2.0.50727',
'FRAMEWORKVERSIONS': [u'v2.0.50727', u'v1.1.4322', u'v1.0.3705'],
'PROJECTSUFFIX': '.vcproj',
'SOLUTIONSUFFIX': '.sln',
'SUITE': 'PRO',
'SUITES': ['PRO'],
'VCINSTALLDIR': u'C:\\Programme\\Microsoft Visual Studio 8\\VC\\',
'VERSION': '8.0',
'VERSIONS': ['9.0', '8.0'],
'VSINSTALLDIR': u'C:\\Programme\\Microsoft Visual Studio 8\\'}
Scanning libraries: ................................................... found
18 libraries
Using prefix: D:\Entwicklung\OpenSG\build.win32.cl.8.0\instlinks
Processing combo: type:debug, arch:default
OSGContribGUI OSGState OSGContribCSM OSGWindow OSGFileIO OSGText OSGWindowWIN32
OSGEffectGroups OSGWindowGLUT OSGGroup OSGContribBackgroundLoader OSGContribPLY
OSGUtil OSGCluster OSGImageFileIO OSGBase OSGSystem OSGDrawable
scons: done reading SConscript files.
scons: Building targets ...
cl /nologo /Od /Ob0 /Z7 /W1 /MD /EHsc /GR /TP /IC:\Programme\boost\boost_1_35_0
/DBOOST_ALL_DYN_LINK /D_WINDOWS /DWIN32 /DOSG_DEBUG /DOSG_COMPILECLUSTERLIB
/D_WIN32_WINNT=0x0400 /DWINVER=0x0400 /Ibuild.win32.cl.8.0\instlinks\include
/Ibuild.win32.cl.8.0\instlinks\include\OpenSG /IC:\Programme\boost\boost_1_35_0
/Ibuild.win32.cl.8.0\type-debug--arch-default\Source\External /ISource\External
/c Source\System\Cluster\Base\OSGRemoteAspect.cpp
/Fobuild.win32.cl.8.0\type-debug--arch-default\Source\System\Cluster\Base\OSGRemoteAspect.obj
OSGRemoteAspect.cpp
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(302)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(388)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(476)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(559)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(641)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(721)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(813)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(901)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(974)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(1053)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(1242)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseTypeTraits.h(1315)
: warning C4996: 'sprintf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see
declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseFunctions.inl(3354)
: warning C4996: 'strcpy' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\string.h(73) : see
declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseFunctions.inl(3396)
: warning C4996: 'strcpy' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\string.h(73) : see
declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using
strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseFieldTraits.h(466)
: warning C4996: 'strncpy' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\string.h(156) : see
declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using
strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
d:\entwicklung\opensg\build.win32.cl.8.0\instlinks\include\opensg\OSGBaseFieldTraits.h(486)
: warning C4996: 'sscanf' was declared deprecated
C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see
declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using
sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
Source\System\Cluster\Base\OSGRemoteAspect.cpp(612) : error C2664:
'std::vector<_Ty>::push_back' : cannot convert parameter 1 from 'bool (__cdecl
*)(OSG::FieldContainer *const ,OSG::RemoteAspect *)' to 'const
OSG::RemoteAspect::Functor &'
with
[
_Ty=OSG::RemoteAspect::Functor
]
Reason: cannot convert from 'overloaded-function' to 'const
OSG::RemoteAspect::Functor'
No constructor could take the source type, or constructor overload
resolution was ambiguous
Source\System\Cluster\Base\OSGRemoteAspect.cpp(629) : error C2664:
'std::vector<_Ty>::push_back' : cannot convert parameter 1 from 'bool (__cdecl
*)(OSG::FieldContainer *const ,OSG::RemoteAspect *)' to 'const
OSG::RemoteAspect::Functor &'
with
[
_Ty=OSG::RemoteAspect::Functor
]
Reason: cannot convert from 'overloaded-function' to 'const
OSG::RemoteAspect::Functor'
No constructor could take the source type, or constructor overload
resolution was ambiguous
Source\System\Cluster\Base\OSGRemoteAspect.cpp(646) : error C2664:
'std::vector<_Ty>::push_back' : cannot convert parameter 1 from 'bool (__cdecl
*)(OSG::FieldContainer *const ,OSG::RemoteAspect *)' to 'const
OSG::RemoteAspect::Functor &'
with
[
_Ty=OSG::RemoteAspect::Functor
]
Reason: cannot convert from 'overloaded-function' to 'const
OSG::RemoteAspect::Functor'
No constructor could take the source type, or constructor overload
resolution was ambiguous
scons: building terminated because of errors.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users