On 2010/5/22 John Griessen wrote:
> Hello Denis,
>
> Are the patches you mentioned 5/19/2010 still recommended?

Thomas applied them all (thanks!), you can update your svn checkout.

> I'd like to try them with python2.6 (and python2.6-dev installed) also.

Following commands should work on a fresh checkout, I will try to
recompile later:
 cd src/contrib/SMESH/
 # install libGEOM.so and libSMESH.so into /usr/local/lib; if installed
 # into another place, LD_LIBRARY_PATH has to be modified
 cmake -DOCC_INCLUDE_PATH:PATH=/usr/include/opencascade \
             -DOCC_LIB_PATH:PATH=/usr/lib .
 make
 sudo make install
 cd ../GEOM
 cmake -DOCC_INCLUDE_PATH:PATH=/usr/include/opencascade \
             -DOCC_LIB_PATH:PATH=/usr/lib .
 make
 sudo make install
 cd ../..
 # install into $HOME/.local/lib/python2.6/
 python2.6 setup.py \
    --with-geom-lib=/usr/local/lib \
    --with-smesh-lib=/usr/local/lib \
    --with-occ-include=/usr/include/opencascade \
    --with-occ-lib=/usr/lib build install --user
 export CSF_GraphicShr=/usr/lib/libTKOpenGl.so

Denis

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

Reply via email to