Denis Barbier wrote:
> On 2010/5/22 John Griessen wrote:
>> Any ideas what to try?
> 
> My build also did not work.  First of all, OCC/__init__.py was
> missing, 

I did not have that in my build dirs...

no build/lib.linux-i686-2.6/OCC/__init__.py

I decided to delete everything in the build dir and repeat with build -f.

So now what I did is:

from   /pythonocc-read-only$ svn info
Path: .
URL: http://pythonocc.googlecode.com/svn/trunk
Repository Root: http://pythonocc.googlecode.com/svn
Repository UUID: 3e04dc38-2002-11df-b3bf-63d83f449e3e
Revision: 1031

  export CSF_GraphicShr=/usr/lib/libTKOpenGl.so

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 ../..
  # build
  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 -f
# install into /usr/local/lib/python2.6/dist-packages
python2.6 setup.py  install


------------
A few hours later we'll see.

John

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

Reply via email to