I have managed to compile Elmer with MPI, Hypre, Mumps and GUI including MATC, Paraview, QWT, PythonQT, VTK on OpenSUSE 13.2
But when I am trying to compile it with OCC i am getting this error in Cmake-gui:
Code: Select all
CMake Error at ElmerGUI/CMakeLists.txt:46 (FIND_PACKAGE):
By not providing "FindOCE.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OCE", but
CMake did not find one.
Could not find a package configuration file provided by "OCE" with any of
the following names:
OCEConfig.cmake
oce-config.cmake
Add the installation prefix of "OCE" to CMAKE_PREFIX_PATH or set "OCE_DIR"
to a directory containing one of the above files. If "OCE" provides a
separate development package or SDK, be sure it has been installed.
I have installed OpenCASCADE 6.5 devel using YaST2 . I was trying configure elmer with manually compiled opencascade 6.8.
I wonder if this error is caused by using to fresh version of opencascade?
I searched my computer for files mentioned in error message but I don't have them on my computer.
I tried to set OCE_DIR or CMAKE_PREFIX_PATH to /opt/OpenCASCADE or to /usr (where I installed OCC compiled by me) but it did't help.
Anyone has an idea how to fix this error?
Regards,
Jacek