Error : Could not open file `../******'
Hi,All:/ This is Jack Lee,I just started using gmsh for a while, and as documented, fltk and open are installed.When I do the following steps: mkdir build cd build cmake -DENABLE_BUILD_DYNAMIC=1 .. make make install But there were some problems when I tried to run the c++ test cases in tutorials, they are: ./t4_cpp ./t7_cpp ./t8_cpp ./t9_cpp ./t13_cpp ./t17_cpp ./t20_cpp They all have very similar problems, and they report errors like this:
Error : Could not read file '../t20_data.step' Info : Could not load STEP file: bye!
or
Error : Unable to open file '../t7_bgmesh.pos' Info : Could not load background mesh: bye!
or
Error : Unable to open file '../view1.pos' Info : Could not load post-processing views: bye!
, etc. I don't know why, but I modified CMakeLists.txt as follows before: 1.
- old:
opt(3M "Enable proprietary 3M extension" OFF)
- new:
opt(3M "Enable proprietary 3M extension" ON)
- old:
opt(OCC "Enable OpenCASCADE CAD kernel" ${DEFAULT})
- new:
opt(OCC "Enable OpenCASCADE CAD kernel" ON)
- old:
opt(OCC_CAF "Enable OpenCASCADE CAF module (for STEP/IGES attributes)" ${DEFAULT})
- new:
opt(OCC_CAF "Enable OpenCASCADE CAF module (for STEP/IGES attributes)" ON)
It is worth noting that the same error will be reported whether this file is changed or not, and the "make" processing will be done again after the change. Now I don't know how to deal with it. I hope you can help me. Thank you very much! The appendix,Some pictures: