tpaviot / smesh

An extension to oce, provides advanced meshing features
69 stars 24 forks source link

Compiling for pythonOCC installed with Conda #35

Closed JosefWN closed 8 years ago

JosefWN commented 8 years ago

Sorry, I must be misunderstanding something. The instructions say:

$ mkdir cmake-build
$ cd cmake-build
$ make
$ make install

So create an empty directory (where, in the smesh directory as fetched by git?) and then go in there and make? There will be nothing in the empty dir to make, or?

I tried the following:

$ mkdir Test
$ cd Test
$ git clone git://github.com/tpaviot/smesh.git
$ cd smesh
$ cmake CMakeLists.txt
$ make
$ make install

Then:

>>> from OCC.SMESH import SMESH_Gen
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named SMESH
tpaviot commented 8 years ago

@Puffton You missed the cmake step, see https://github.com/tpaviot/pythonocc-core/blob/master/INSTALL.md

Can you point me to the file where you read those wrong instructions ?

JosefWN commented 8 years ago

Thank you for your quick reply. I found it in the README on the front page: https://github.com/tpaviot/smesh

tpaviot commented 8 years ago

Fixed README by commit 2884fc9. Please submit pythonocc related issues to the pythonocc tracker.