Hi,

thanks for providing pythonogg. I am very interested and would like to see
if I can use it. But so far I can't. I've got some problems compiling on
Debian Lenny. I tried both methods, with Scons and distutils.


Scons:
------

In the svn-trunk version (Rev. 769) some files seem to be missing, compared
to http://download.gna.org/pythonocc/source_release/pythonOCC-0.3.tar.gz:
pythonOCC-0.3/src/SConstruct
pythonOCC-0.3/data/images/EDesigner.GIF
pythonOCC-0.3/src/addons/Display/wxSamplesGui.py
pythonOCC-0.3/src/wrapper/SWIG/linux_darwin/*.i
pythonOCC-0.3/src/wrapper/SWIG/win32/*.i

Scons doesn't work without the first on the list. I don't know if the others
are needed as well.

With the older version from the homepage I got the following message:
g...@cassowary:/work/gero/opencascade/pythonOCC-0.3/pythonOCC-0.3/src$ scons
mode=build OCC_INC=/usr/include OCC_CONFIG_H_PATH=/usr/include/opencascade
OCC_LIB=/usr/lib
scons: Reading SConscript files ...
ImportError: No module named Modules:
  File "/work/gero/opencascade/pythonOCC-0.3/pythonOCC-0.3/src/SConstruct",
line 28:
    from Modules import MODULES

Do you know what this Modules-module is and where to get it from?


distutils
---------

I did not install salome so I tried to use the -NO_GEOM option:
g...@cassowary:/work/gero/opencascade/pythonOCC/src$ python setup.py build
-NO_GEOM --with-occ-include=/usr/include --with-occ-lib=/usr/lib
--with-boost-include=/usr/include/boost/
Building pythonOCC-0.4 for linux2
[...]
error: option -N not recognized

Without the -NO_GEOM option still errors:
g...@cassowary:/work/gero/opencascade/pythonOCC/src$ python setup.py build
--with-occ-include=/usr/include --with-occ-lib=/usr/lib
--with-boost-include=/usr/include/boost/
Building pythonOCC-0.4 for linux2
Checking OCC Standard_Transient.hxx header ... no
[... most other libraries: "... yes", only ...]
Checking OCC TKDCAF library ... no
Checking OCC TKDraw library ... no
Checking OCC TKTObjDRAW library ... no
Checking OCC TKTopAlgo library ... yes
Checking OCC TKTopTest library ... no
Checking OCC TKV2d library ... yes
Checking OCC TKV3d library ... yes
Checking OCC TKViewerTest library ... no
Checking OCC TKXDEDRAW library ... no
Checking OCC TKXSDRAW library ... no
[...]
/work/gero/opencascade/pythonOCC/src/wrapper/SWIG/linux_darwin/Standard_wrap
.cpp:2963:32: error: Standard_Failure.hxx: No such file or directory
/work/gero/opencascade/pythonOCC/src/wrapper/SWIG/linux_darwin/Standard_wrap
.cpp:2969:50: error: Handle_Standard_AbortiveTransaction.hxx: No such file
or directory
/work/gero/opencascade/pythonOCC/src/wrapper/SWIG/linux_darwin/Standard_wrap
.cpp:2970:48: error: Handle_Standard_ConstructionError.hxx: No such file or
directory
[...]

Same question as above: what are those files, where do they come from, where
can I find them?

Thanks, Gero.


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

Reply via email to