Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems compiling CADConverter on Ubuntu 9.04
Problems compiling CADConverter on Ubuntu 9.04 [message #8904] |
Wed, 24 June 2009 17:09 |
Sverre Dørheim
Messages: 23 Registered: October 2008 Location: Munich
|
occasional visitor |
From: 129.187.154*
|
|
Using the steps described in the wiki I get these errors when doing make on the CadConverter:
Toggle Spoiler
root@sverre-laptop2:/opt/CadConv/build# make
/usr/bin/cmake -H/opt/CadConv/CadConverterConsole -B/opt/CadConv/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /opt/CadConv/build/CMakeFiles /opt/CadConv/build/CMakeFiles/progress.make
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/CadConv/build'
make -f CadDDLConverter/CMakeFiles/CADConverter.dir/build.make CadDDLConverter/CMakeFiles/CADConverter.dir/depend
make[2]: Entering directory `/opt/CadConv/build'
cd /opt/CadConv/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/CadConv/CadConverterConsole /opt/CadConv/CadConverterConsole/CadDDLConverter /opt/CadConv/build /opt/CadConv/build/CadDDLConverter /opt/CadConv/build/CadDDLConverter/CMakeFiles/CADConverter.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/CadConv/build'
make -f CadDDLConverter/CMakeFiles/CADConverter.dir/build.make CadDDLConverter/CMakeFiles/CADConverter.dir/build
make[2]: Entering directory `/opt/CadConv/build'
/usr/bin/cmake -E cmake_progress_report /opt/CadConv/build/CMakeFiles 1
[ 2%] Building CXX object CadDDLConverter/CMakeFiles/CADConverter.dir/CadDDLConverter.o
cd /opt/CadConv/build/CadDDLConverter && /usr/bin/c++ -DCADConverter_EXPORTS -DCSFDB -DNO_CXX_EXCEPTION -DNo_Exception -DHAVE_CONFIG_H -DHAVE_WOK_CONFIG_H -DLIN -DLININTEL -DHAVE_IOSTREAM -DHAVE_LIMITS -g -fPIC -I/opt/fairROOT/fairsoft/tools/root/include -I/opt/OpenCASCADES6.3.0/inc -I/opt/fairROOT/fairsoft/tools/root/lib -I/opt/OpenCASCADES6.3.0/Linux/lib -o CMakeFiles/CADConverter.dir/CadDDLConverter.o -c /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.cc
In file included from /opt/OpenCASCADES6.3.0/inc/Standard_Macro.hxx:11,
from /opt/OpenCASCADES6.3.0/inc/Handle_TDF_Data.hxx:26,
from /opt/OpenCASCADES6.3.0/inc/TDF_Label.hxx:29,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CxlObject.hh:16,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.hh:4,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.cc:1:
/opt/fairROOT/fairsoft/tools/root/include/config.h:16:2: warning: #warning config.h is deprecated, replace by RConfigure.h.
In file included from /opt/OpenCASCADES6.3.0/inc/Standard_Address.hxx:21,
from /opt/OpenCASCADES6.3.0/inc/Standard.hxx:26,
from /opt/OpenCASCADES6.3.0/inc/Handle_TDF_Data.hxx:29,
from /opt/OpenCASCADES6.3.0/inc/TDF_Label.hxx:29,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CxlObject.hh:16,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.hh:4,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.cc:1:
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx: In function ‘Standard_Integer IntegerFirst()’:
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx:119: error: ‘INT_MIN’ was not declared in this scope
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx: In function ‘Standard_Integer IntegerLast()’:
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx:125: error: ‘INT_MAX’ was not declared in this scope
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx: In function ‘Standard_Integer IntegerSize()’:
/opt/OpenCASCADES6.3.0/inc/Standard_Integer.hxx:131: error: ‘CHAR_BIT’ was not declared in this scope
In file included from /opt/OpenCASCADES6.3.0/inc/Standard_PrimitiveTypes.hxx:23,
from /opt/OpenCASCADES6.3.0/inc/Handle_Standard_Transient.hxx:10,
from /opt/OpenCASCADES6.3.0/inc/Handle_MMgt_TShared.hxx:33,
from /opt/OpenCASCADES6.3.0/inc/Handle_TDF_Data.hxx:33,
from /opt/OpenCASCADES6.3.0/inc/TDF_Label.hxx:29,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CxlObject.hh:16,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.hh:4,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.cc:1:
/opt/OpenCASCADES6.3.0/inc/Standard_Real.hxx: In function ‘Standard_Integer RealSize()’:
/opt/OpenCASCADES6.3.0/inc/Standard_Real.hxx:162: error: ‘CHAR_BIT’ was not declared in this scope
/opt/OpenCASCADES6.3.0/inc/Standard_Real.hxx: In function ‘Standard_Integer RealToInt(Standard_Real)’:
/opt/OpenCASCADES6.3.0/inc/Standard_Real.hxx:283: error: ‘INT_MIN’ was not declared in this scope
/opt/OpenCASCADES6.3.0/inc/Standard_Real.hxx:283: error: ‘INT_MAX’ was not declared in this scope
In file included from /opt/OpenCASCADES6.3.0/inc/Standard_OStream.hxx:8,
from /opt/OpenCASCADES6.3.0/inc/Standard_ExtCharacter.hxx:24,
from /opt/OpenCASCADES6.3.0/inc/Standard_PrimitiveTypes.hxx:29,
from /opt/OpenCASCADES6.3.0/inc/Handle_Standard_Transient.hxx:10,
from /opt/OpenCASCADES6.3.0/inc/Handle_MMgt_TShared.hxx:33,
from /opt/OpenCASCADES6.3.0/inc/Handle_TDF_Data.hxx:33,
from /opt/OpenCASCADES6.3.0/inc/TDF_Label.hxx:29,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CxlObject.hh:16,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.hh:4,
from /opt/CadConv/CadConverterConsole/CadDDLConverter/CadDDLConverter.cc:1:
/opt/OpenCASCADES6.3.0/inc/Standard_Stream.hxx: At global scope:
/opt/OpenCASCADES6.3.0/inc/Standard_Stream.hxx:84: error: ‘std::setw’ has not been declared
/opt/OpenCASCADES6.3.0/inc/Standard_Stream.hxx:85: error: ‘std::setprecision’ has not been declared
make[2]: *** [CadDDLConverter/CMakeFiles/CADConverter.dir/CadDDLConverter.o] Error 1
make[2]: Leaving directory `/opt/CadConv/build'
make[1]: *** [CadDDLConverter/CMakeFiles/CADConverter.dir/all] Error 2
make[1]: Leaving directory `/opt/CadConv/build'
make: *** [all] Error 2
All variables has been set as explained in the wiki. CMake runs without errors. The errors points to some variables not beeing declared which would imply that somehow an include is missing.
I'm using OpenCASCADES 6.3 and CadConverter2.2_OCC6.3.tar.gz
Also tried the tip from Simone Bianco in the wiki by changing:
{CadConverterConsole}/CMakeLists.txt --> CadConverterFixed/CMakeLists.txt
{CadConverterConsole}/CadDDLConverter/CMakeLists.txt --> CadConverterFixed/CadDDLConverter/CMakeLists.txt
{CadConverterConsole}/cmake/Modules/FindOpenCascade.cmake --> CadConverterFixed/cmake/Modules/FindOpenCascade.cmake
Does anybody have a clue how this might be fixed?
Best regards and thanks in advance for all your efforts,
Sverre
|
|
|
Goto Forum:
Current Time: Mon Dec 02 21:24:13 CET 2024
Total time taken to generate the page: 0.00635 seconds
|