I downloaded geom-5.1.27  source as recommended (thanks Thomas). I now have
the strangest compile error.
  
This compile line:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/home/brad/local/inc -I./inc/
-I./src/GEOMAlgo -I./src/BlockFix -I./src/GEOM -I./src/NMTTools -I./src/NMTDS
-g -O2 -MT NMTDS_CArray1OfIndexRange_0.lo -MD -MP -MF
.deps/NMTDS_CArray1OfIndexRange_0.Tpo -c
./src/NMTDS/NMTDS_CArray1OfIndexRange_0.cpp  -fPIC -DPIC -o
.libs/NMTDS_CArray1OfIndexRange_0.o

Produces this error:

/home/brad/local/inc/BOPTColStd_CArray1.gxx:243:39: error: no 'void
NMTDS_CArray1OfIndexRange::Purge()' member function declared in class
'NMTDS_CArray1OfIndexRange'

Notes:
1 - OpenCascade file BOPTColStd_CArray1.gxx contains the function:
void BOPTColStd_CArray1::Purge()

But, I can find no class declaration anywhere in the OpenCascade source!

2 - File NMTDS_CArray1OfIndexRange_0.cpp contains the following macros:
#define BOPTColStd_CArray1 NMTDS_CArray1OfIndexRange
#define BOPTColStd_CArray1_hxx <NMTDS_CArray1OfIndexRange.hxx>
#include <BOPTColStd_CArray1.gxx>

I think the first #define is intended to redefine the class name
NMTDS_CArray1OfIndexRange as BOPTColStd_CArray1 ?
The second appears to be redundant as the symbol BOPTColStd_CArray1_hxx is
unused anywhere.

During the following #include we get all BOPTColStd_CArray1 symbols replaced
by NMTDS_CArray1OfIndexRange and indeed if I dump the pre-processor output:
 g++ -E ..... | grep 'NMTDS_CArray1OfIndexRange::Purge'
void NMTDS_CArray1OfIndexRange::Purge()

Is defined. So why the error?

My simple mind says that the nasty #define hack, or whatever it is, doesn't
work using g++ ! So where do I go from here?

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to