occmodel icon indicating copy to clipboard operation
occmodel copied to clipboard

Comments on Installation of occmodel on Ubuntu 16.04

Open davidstutz opened this issue 8 years ago • 0 comments

Hi,

I spent quite some time to install occmodel on Ubuntu 16.04. I wanted to report some issues I stumbled upon in the hope it might be helpful for others.

I installed oce-0.17 manually. 0.17.1, which is available using sudo apt-get install liboce-*-dev might also work, but I did not try it again. Version 0.16.x does not work.

Installation of gltools and geotools worked fine after installing the requirements. However, I had to manually create a link to libXmu:

sudo ln -s /usr/lib/x86_64-linux-gnu/libXmu.so.6 /usr/lib/x86_64-linux-gnu/libXmu.so

Then, in setup_build.py, the TKAdvTools library has to be removed (as this is not built anymore by oce, see here. In addition, line 70 and following should say:

SOURCES += glob.glob("occmodel/@src/*.cpp")
OCCINCLUDE = '/usr/local/include/oce'
OCCLIBS = OCC.split()
COMPILE_ARGS.append("-fpermissive")

Note that when installing oce manually, it is installed in /usr/local instead of /usr!

David

davidstutz avatar Mar 17 '17 13:03 davidstutz