Re: [osg-users] [build] Problem building OsgWorks on Ubuntu

2010-08-03 Thread Axel Spirtaat
For precise, i add the result of make command:

Code:

Scanning dependencies of target osgwTools
[  3%] Building CXX object 
src/osgwTools/CMakeFiles/osgwTools.dir/AbsoluteModelTransform.cpp.o
In file included from 
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:21:
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:25:27:
 error: osg/NodeVisitor: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:26:25:
 error: osg/Transform: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:22:31:
 error: osgUtil/CullVisitor: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:25:22:
 error: osg/Matrix: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:28:24:
 error: osg/io_utils: Nessun file o directory
In file included from 
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:21:
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:47:
 error: ‘osg’ has not been declared
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:47:
 error: expected ‘{’ before ‘Transform’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:48:
 error: invalid type in declaration before ‘{’ token
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:48:
 warning: extended initializer lists only available with -std=c++0x or 
-std=gnu++0x
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:49:
 error: expected primary-expression before ‘public’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:49:
 error: expected ‘}’ before ‘public’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:49:
 error: expected ‘,’ or ‘;’ before ‘public’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:51:
 error: expected unqualified-id before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:51:
 error: expected ‘)’ before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:52:
 error: expected unqualified-id before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:52:
 error: expected ‘)’ before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:54:
 error: expected constructor, destructor, or type conversion before ‘(’ token
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: ‘virtual’ outside class declaration
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: ‘osg’ has not been declared
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: ‘matrix’ was not declared in this scope
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: ‘osg’ has not been declared
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: ‘nv’ was not declared in this scope
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: initializer expression list treated as compound expression
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:56:
 error: expected ‘,’ or ‘;’ before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: ‘virtual’ outside class declaration
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: ‘osg’ has not been declared
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: ‘matrix’ was not declared in this scope
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: ‘osg’ has not been declared
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: ‘nv’ was not declared in this scope
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: initializer expression list treated as compound expression
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:57:
 error: expected ‘,’ or ‘;’ before ‘const’
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:59:
 error: ISO C++ forbids declaration of ‘osg’ with no type
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:59:
 error: 

Re: [osg-users] [build] Problem building OsgWorks on Ubuntu

2010-08-03 Thread Paul Martz
I'd suggest discussing this on the osgWorks Google Group. But it appears to be 
the case that your osgWorks makefiles are, for some reason, unable to find your 
OSG installation. Without information on how you've configured the osgWorks 
CMake, or where you've installed OSG, it'll be difficult to provide further 
assistance. Please include this information when you post to the osgWorks Google 
Group.

   -Paul


Axel Spirtaat wrote:

For precise, i add the result of make command:

Code:

Scanning dependencies of target osgwTools
[  3%] Building CXX object 
src/osgwTools/CMakeFiles/osgwTools.dir/AbsoluteModelTransform.cpp.o
In file included from 
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:21:
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:25:27:
 error: osg/NodeVisitor: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/include/osgwTools/AbsoluteModelTransform.h:26:25:
 error: osg/Transform: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:22:31:
 error: osgUtil/CullVisitor: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:25:22:
 error: osg/Matrix: Nessun file o directory
/home/axel/Desktop/OSG/osgWorks_01_01_00_rc2/src/osgwTools/AbsoluteModelTransform.cpp:28:24:
 error: osg/io_utils: Nessun file o directory


[ ... ]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org