About tutorials

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

About tutorials

Guangchao
Excuse me, When I follow with the tutorials, I meet a problem, the file Granoo/libUtil/Util.hpp is not exist, cannot compile it. but I can obtain a correct result of the Rain example. Can anyone help? Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: About tutorials

Guangchao
python mode:
ct$ python ./Main.py ./build_domain.inp
Traceback (most recent call last):
  File "./Main.py", line 6, in <module>
    from PlugIn_BuildDomain import * # automatically added
ImportError: No module named PlugIn_BuildDomain

C++ mode:
[ 33%] Building CXX object CMakeFiles/my-project.exe.dir/Main.cpp.o
[ 66%] Building CXX object CMakeFiles/my-project.exe.dir/PlugIn_BuildDomain.cpp.o
In file included from /home/guangchaonie/Desktop/LaBoMaP/Granoo/TEST/my-project-1/PlugIn_BuildDomain.cpp:11:0:
/home/guangchaonie/Desktop/LaBoMaP/Granoo/TEST/my-project-1/PlugIn_BuildDomain.hpp:36:10: fatal error: GranOO/libUtil/Util.hpp: No such file or directory
 #include "GranOO/libUtil/Util.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/my-project.exe.dir/build.make:86: recipe for target 'CMakeFiles/my-project.exe.dir/PlugIn_BuildDomain.cpp.o' failed
make[2]: *** [CMakeFiles/my-project.exe.dir/PlugIn_BuildDomain.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/my-project.exe.dir/all' failed
make[1]: *** [CMakeFiles/my-project.exe.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: About tutorials

Damien André
Administrator
Hello, this file was removed. You can remove manually all the lines
#include "GranOO/libUtil/Util.hpp" 

In the C++ source files that trigger this compilation error

Hope this help, Damien.