With the last version of pythonOCC, what is the right version of OCE?
With the last version of OCE, I can’t compile due to a problem of
I totally agree that documenting the versions which are known "to work"
would
be incredible useful. Can I help doing so?
It took me quite a while, but was able to compile pythonocc-0.5 this way:
mkdir -p build/swig_output_linux2_py27
ln -sf `pwd`/wrapper/SWIG ../1
python setup.py \
--with-occ-lib=${occ}/lib \
--with-occ-include=${occ}/include \
--with-geom-lib=${geom}/lib \
--with-smesh-lib=${smesh}/lib \
install --prefix="$out" install
using these versions:
src = fetchurl {
url = http://pythonocc.googlecode.com/files/pythonocc-0.5.tar.gz;
sha256 = "1z3grc7m3js5h27z7g4l56xdn71vj7w27ci4vwby6jsg9rlh93ka";
};
src = fetchurl {
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
md5 = "52778127974cb3141c2827f9d40d1f11";
};
However eventually the 0.12 version of the community work might work as
well. I
forgot about where I read about it.
smesh and geom are compiled and installed to their own target directories.
Now I have this list of files in the output directory:
http://mawercer.de/tmp/pythonocc-files-first-compilation-success.txt
and I fail importing anything. Also adding a top-level __ini__.py file
with these contents:
OCC/__init__.py:
__all__ = [ 'GEOMImpl' ]
and creating such a symlink:
ln -s `pwd`/_GEOMImpl.so GEOMImpl.so
still makes me fail at:
ImportError:
/nix/store/hndmb0dd82i6a35fnkbk7q4mh81m22r3-opencascade-6.3.0/lib/libTKService.so.0:
undefined symbol: XConfigureWindow
XConfigureWindow is contained in libX11
This might be due to nixos linux distribution. I haven't had time to test
setting rpath
The problems seems to be that eg Ubuntu ships with opencascade 6.5 now not
with
6.3.
questions:
1) Is anybody able to confirm that the versions I'm using are the
recommended ones?
2) Is anybody who has this working able to just run find in the pythonocc
installation directory so that I can compare the file list?
I've tried quite a lot of combinations of versions - and almost always
failed due to some details.
Thus some documentation about which versions are known to work would be
highly appreciated.
I've found another comment that tpaviot has not much time at the moment
(and he didn't reply to a mail to his github email address asking about
which versions to use)
Is anybody willing to give enough "support" (even if payed)
so that I get this up and running faster?
All I want is creating some small models, and the last time I tried using
cascade it
looked very time consuming which is why I love that python wrappers were
written.
Thanks
Marc Weber
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users