Compile error in GEOM
-
Hello,
I compiled GEOM_SRC_3.2.6 and got the following messages.
But SDVertices() and myMVSD seems to be declared in NMTDS_Iterator.hxx.
I tried to compile it with both gcc-3.4.6 and 4.1.2 and results are the same.
How should I do to correct this error?
Thanks.

----------------------------
make[1]: Entering directory `/usr/local/salome-3.2.6/build/geom/src/NMTDS'../../libtool --mode=compile g++ -I. -I.. -g -D_DEBUG_ -DPCLINUX -ffriend-injection -fpermissive -pthread -DOMNIORB_VERSION=4 -D__x86__ -D__linux__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG -funsigned-char -I/usr/local/include/salome -I../../include/salome -I../../../../src/GEOM_SRC_3.2.6/src/NMTDS -I. -I/usr/include -I/usr/include/omniORB4 -I/usr/include/COS -DOCC_VERSION_MAJOR=6 -DOCC_VERSION_MINOR=2 -DOCC_VERSION_MAINTENANCE=0 -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -DOCC_CONVERT_SIGNALS -I/usr/local/OpenCASCADE6.2.0/ros/inc -I/usr/local/include/salome -c ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx g++ -I. -I.. -g -D_DEBUG_ -DPCLINUX -ffriend-injection -fpermissive -pthread -DOMNIORB_VERSION=4 -D__x86__ -D__linux__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG -funsigned-char -I/usr/local/include/salome -I../../include/salome -I../../../../src/GEOM_SRC_3.2.6/src/NMTDS -I. -I/usr/include -I/usr/include/omniORB4 -I/usr/include/COS -DOCC_VERSION_MAJOR=6 -DOCC_VERSION_MINOR=2 -DOCC_VERSION_MAINTENANCE=0 -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -DOCC_CONVERT_SIGNALS -I/usr/local/OpenCASCADE6.2.0/ros/inc -I/usr/local/include/salome -c ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx -fPIC -DPIC -o NMTDS_Iterator.lo ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx:158: error: no 'const TColStd_DataMapOfIntegerListOfInteger& NMTDS_Iterator::SDVertices() const' member function declared in class 'NMTDS_Iterator' ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx: In member function 'const TColStd_DataMapOfIntegerListOfInteger& NMTDS_Iterator::SDVertices() const':
../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx: In member function 'void NMTDS_Iterator:
repare()':
make[1]: *** [NMTDS_Iterator.lo] Error 1 -
Tomo Bessho wrote:
Hello,
I compiled GEOM_SRC_3.2.6 and got the following messages.
But SDVertices() and myMVSD seems to be declared in NMTDS_Iterator.hxx.
I tried to compile it with both gcc-3.4.6 and 4.1.2 and results are the same.
How should I do to correct this error?
Thanks.

----------------------------
make[1]: Entering directory `/usr/local/salome-3.2.6/build/geom/src/NMTDS'../../libtool --mode=compile g++ -I. -I.. -g -D_DEBUG_ -DPCLINUX -ffriend-injection -fpermissive -pthread -DOMNIORB_VERSION=4 -D__x86__ -D__linux__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG -funsigned-char -I/usr/local/include/salome -I../../include/salome -I../../../../src/GEOM_SRC_3.2.6/src/NMTDS -I. -I/usr/include -I/usr/include/omniORB4 -I/usr/include/COS -DOCC_VERSION_MAJOR=6 -DOCC_VERSION_MINOR=2 -DOCC_VERSION_MAINTENANCE=0 -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -DOCC_CONVERT_SIGNALS -I/usr/local/OpenCASCADE6.2.0/ros/inc -I/usr/local/include/salome -c ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx g++ -I. -I.. -g -D_DEBUG_ -DPCLINUX -ffriend-injection -fpermissive -pthread -DOMNIORB_VERSION=4 -D__x86__ -D__linux__ -DCOMP_CORBA_DOUBLE -DCOMP_CORBA_LONG -funsigned-char -I/usr/local/include/salome -I../../include/salome -I../../../../src/GEOM_SRC_3.2.6/src/NMTDS -I. -I/usr/include -I/usr/include/omniORB4 -I/usr/include/COS -DOCC_VERSION_MAJOR=6 -DOCC_VERSION_MINOR=2 -DOCC_VERSION_MAINTENANCE=0 -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -DOCC_CONVERT_SIGNALS -I/usr/local/OpenCASCADE6.2.0/ros/inc -I/usr/local/include/salome -c ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx -fPIC -DPIC -o NMTDS_Iterator.lo ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx:158: error: no 'const TColStd_DataMapOfIntegerListOfInteger& NMTDS_Iterator::SDVertices() const' member function declared in class 'NMTDS_Iterator' ../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx: In member function 'const TColStd_DataMapOfIntegerListOfInteger& NMTDS_Iterator::SDVertices() const':
../../../../src/GEOM_SRC_3.2.6/src/NMTDS/NMTDS_Iterator.cxx: In member function 'void NMTDS_Iterator:
repare()':
make[1]: *** [NMTDS_Iterator.lo] Error 1
I found the way to solve this problem.
When I added options for CXXFLAGS, I directly edited "configure" file in src directory.This seems to make enviromental valuables broken.
By adding the option as 'make CXXFLAGS="-ffriend-injection -fpermissive" ', the above error doesn't happen.
Bessho
Powered by PloneboardDocument Actions

-