> > I starting to set up PythonOCC on an Intel Mac and have a question > that > Drew also has: > > I have installed the Intel Mac openCASCADE package from here > successfully-http://www.pythonocc.org/Releases/OpenCASCADE6.3.0.pkg > > on the wiki there is a set of export lines to put in .bash_profile- > this > line is confusing me: > > export OCC_SOURCE_ROOT=/Path/To/OpenCASCADE6.3.0/ros > > > I can't seem to locate any folder with "OpenCASCADE6.3.0/ros" in it.
Hi Dan, Thanks for your feedback. I realize that the wiki was outdated, this is fixed. Thank you for pointing this out. I don't know where OCC_SOURCE_ROOT comes from, but not from the wiki. The most important enviroment variable you need to set is: export CASROOT=/usr/local/lib/OCC export CASROOT=/usr/local/lib/OCC #/Volumes/DATA/Src/OCC/ OpenCASCADE6.3.0/ros export DYLD_LIBRARY_PATH=${CASROOT}/mac/lib:$DYLD_LIBRARY_PATH # needed to get the visualization going... export CSR_GraphicShr=${CASROOT}/libTKOpenGl.dylib export CSF_GraphicShr=${CASROOT}/libTKOpenGl.dylib The rest ( referring to OCC_SOURCE_ROOT ) is helpful to set, but not as critical as these env. vars. > I haven't started installing the pythonOCC packages yet. There is good and bad news to share. The good news is that the installer / python binding I've made work just fine. The bad news is that the wxGTK package isn't. You'll have to do so yourself ( look at the wiki for a link for instructions ). Or, in the case you are a brilliant GUI dev, helps us a hand ;') > What should I do with this line in my .bash_profile? Just copy / paste from the above & you'll be good. Happy to see you onboard, -jelle _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users