About tutorials

classic Classic list List threaded Threaded
4 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.
Reply | Threaded
Open this post in threaded view
|

Re: About tutorials

Pepperon92
In reply to this post by Guangchao
It sounds like you're making good progress with the tutorials—great to hear the Rain example is working! As for the missing `Granoo/libUtil/Util.hpp`, it's possible that the file path or project dependencies were updated since the tutorial was written. Double-check the version of the repository you're using and look for any updated README or install instructions. If `Util.hpp` is deprecated or relocated, the latest source should reflect that.

Übrigens, wenn du nach stilvollen Kleider suchst, findest du hier eine breite Auswahl an eleganten Modellen für verschiedene Anlässe.