I am still having trouble getting OpenSG 2.0 to compile.  I wasn't sure 
if I had the right stable source until today, but using advice from the 
list I am fairly sure this time I have compiled with the stable 
branch.   However, I am getting the same error from OSGModelRequest.cpp. 
I was wondering if any one had any advice on a solution.

Source
svn co https://opensg.vrsource.org/svn/branches/fcptr_stable_jun07 opensg2

System
RHEL4
uname -a
Linux localhost 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 
x86_64 x86_64 x86_64 GNU/Linux

Compiler
$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)



=====$ scons 
BoostBaseDir=/research/tools/boost/current/linux.x86_64.gcc.debug/ 
BoostIncludeDir=/research/tools/boost/current/linux.x86_64.gcc.debug/include/ 
fcptr_mode=MT_CPTR var_arch=x64

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
Checking for arch [ia32] ...(cached) yes
Valid archs:  ['x64', 'ia32']
Updating  boost
Loading initial settings for boost
   BoostBaseDir specified or cached. 
[/research/tools/boost/current/linux.x86_64.gcc.debug/].
   BoostIncludeDir specified or cached. 
[/research/tools/boost/current/linux.x86_64.gcc.debug/include/].
   Boost, autofinding toolset...   toolset: [gcc]
   boost include path:  
/research/tools/boost/current/linux.x86_64.gcc.debug/include/
   boost version: 1.33.1
Checking for C++ library boost_filesystem-gcc-mt-1_33_1... (cached) yes
  filesystem: boost_filesystem-gcc-mt-1_33_1
Checking for:  freetype
Checking for C++ library freetype... (cached) yes
Checking for:  glut
Checking for C++ library glut... (cached) yes
Checking for:  zlib
Checking for C++ library z... (cached) yes
Checking for:  fontconfig
Checking for C++ library fontconfig... (cached) yes
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:  tiff
Checking for C++ library tiff... (cached) yes
Checking for:  png
Checking for C++ library png... (cached) yes
Checking for:  jpeg
Checking for C++ library jpeg... (cached) yes
Scanning libraries: .....................................   found 16 
libraries
WARNING: enable_scanparse_regen disabled. If you change .yy files they 
will not be rebuilt.
WARNING: enable_scanparse_regen disabled. If you change .ll files they 
will not be rebuilt.
Using prefix:  
/research/tools/opensg/opensg.2.0/build/build.linux.x86_64.gcc.debug/opensg2/build.linux.g++/instlinks
   Processing combo:  type:debug, arch:x64
OSGContribGUI OSGState OSGRenderTraversal OSGWindow OSGFileIO OSGText 
OSGWindowGLUT OSGGroup OSGContribBackgroundLoader OSGWindowX OSGUtil 
OSGCluster OSGImageFileIO OSGBase OSGSystem OSGDrawable
   Processing combo:  type:optimized, arch:x64
OSGContribGUI OSGState OSGRenderTraversal OSGWindow OSGFileIO OSGText 
OSGWindowGLUT OSGGroup OSGContribBackgroundLoader OSGWindowX OSGUtil 
OSGCluster OSGImageFileIO OSGBase OSGSystem OSGDrawable
scons: done reading SConscript files.
scons: Building targets ...
g++ -o 
build.linux.g++/type-debug--arch-x64/Source/Contrib/BackgroundLoader/OSGModelRequest.os
 
-c -g -pipe -m64 
-I/research/tools/boost/current/linux.x86_64.gcc.debug/include/ -fPIC 
-DOSG_COMPILECONTRIBBACKGROUNDLOADERLIB 
-Ibuild.linux.g++/instlinks/include 
-Ibuild.linux.g++/instlinks/include/OpenSG -I/usr/include/freetype2 
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp: In constructor 
`OSG::ModelRequest::ModelRequest()':
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp:12: error: expected 
unqualified-id before ""
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp:13: error: expected 
unqualified-id before ""
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp: In member function 
`virtual void OSG::ModelRequest::sync()':
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp:41: error: expected 
unqualified-id before ""
Source/Contrib/BackgroundLoader/OSGModelRequest.cpp:41: error: expected 
`)' before ""
scons: *** 
[build.linux.g++/type-debug--arch-x64/Source/Contrib/BackgroundLoader/OSGModelRequest.os]
 
Error 1
scons: building terminated because of errors.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to