Here's what we did:
I checked out all modules last thursday or friday (2001-07-12/13). I compiled each module and fixed, among other things, some casting problems in jcas. I'm not quite sure how to submit a patch for your review, but I have the modified file (jcas/jcas.cxx). In the end, I obtained 29 .so files. I moved all .so files to /usr/openCascade/lib and all headers from /inc to /usr/openCascade/include. I tried compiling the following program (just a simple test to see if I could link to any of the libraries - kind of like a "Hello, World !", if you will):
cout << "Hello, world !" ;
Geom2d_CartesianPoint *g2d_cp = new
Geom2d_CartesianPoint (0.0, 0.0) ;
(In the above code, I replaced less-than and greater-than symbols, to accomodate for the HTML nature of the post).
This code runs into the following problem:
g++ -o octest -I/usr/openCascade/include octest.cpp
In file included from /usr/openCascade/include/Standard_Address.hxx:20,
/usr/openCascade/include/Standard_Integer.hxx: In function `Standard_Integer IntegerSize ()':
/usr/openCascade/include/Standard_Integer.hxx:141: parse error before `)'
In file included from /usr/openCascade/include/Standard_PrimitiveTypes.hxx:23,
/usr/openCascade/include/Standard_Real.hxx: In function `Standard_Integer RealSize ()':
/usr/openCascade/include/Standard_Real.hxx:162: parse error before `)'
make: *** [octest] Error 1
I've been getting the same error message when I tried instantiating a math_Vector as well.
I'd appreciate any help and/or direction you can provide.