Hello
I'm using Kali and m compiler is (gcc (Debian 10.2.1-3) 10.2.1 20201224). I am trying to install GranOO. I have followed the instructions step by step but after entering the following code: make && make install an error was shown. I have attached an image of the error. What can I do to fix this issue and complete the installation? Thanks |
Administrator
|
Hello, unfortunately, this is the first time that I see this error :-(
It looks like a problem with the external C++ boost library. I am sorry, I have no idea on how to solve this problem. |
Ok :(
I'll try again on mint to see if same thing happens again |
This post was updated on .
Hi,
I have the same problem when compiling in Debian 11 - which is actually in a WSL on Windows 11. Anyone found a workaround? I might point out that I was getting warnings concerning some files of VTK6 which were not found, and had to copy them manually in /usr/bin. But I don't think that's related. Here is my output: [ 13%] Building CXX object Lib/CMakeFiles/GranOO.dir/GranOO/libDEM/ContactDetection.cpp.o In file included from /home/user/granoo/tags/2.0/Lib/GranOO/libShape/Volume.hpp:42, from /home/user/granoo/tags/2.0/Lib/GranOO/libShape/Sphere.hpp:40, from /home/user/granoo/tags/2.0/Lib/GranOO/libDEM/DiscreteElement.hpp:37, from /home/user/granoo/tags/2.0/Lib/GranOO/libDEM/ContactLaw.hpp:39, from /home/user/granoo/tags/2.0/Lib/GranOO/libDEM/ContactDetection.hpp:39, from /home/user/granoo/tags/2.0/Lib/GranOO/libDEM/ContactDetection.cpp:34: /usr/include/boost/serialization/set.hpp: In function ‘void boost::serialization::load_set_collection(Archive&, Container&)’: /usr/include/boost/serialization/set.hpp:40:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type; did you mean ‘item_version_type’? 40 | const boost::serialization::library_version_type library_version( | ^~~~~~~~~~~~~~~~~~~~ | item_version_type /usr/include/boost/serialization/set.hpp:47:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’; did you mean ‘item_version_type’? 47 | if(boost::serialization::library_version_type(3) < library_version){ | ^~~~~~~~~~~~~~~~~~~~ | item_version_type /usr/include/boost/serialization/set.hpp:47:56: error: ‘library_version’ was not declared in this scope 47 | if(boost::serialization::library_version_type(3) < library_version){ | ^~~~~~~~~~~~~~~ make[2]: *** [Lib/CMakeFiles/GranOO.dir/build.make:758: Lib/CMakeFiles/GranOO.dir/GranOO/libDEM/ContactDetection.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:267: Lib/CMakeFiles/GranOO.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 |
Administrator
|
Hello, if you use the current ubuntu LTS version, it should work.
Cheers, Damien. |
In reply to this post by Virgil
Hello-- I can confirm it works perfectly using Linux mint 19.3 Uma
In general I try to avoid using any sort of virtual machines or windows subsystems to run heavy calcs as you lose efficiency (sometimes substantial). Probably best to just use another computer and do a hard install of the OS. You can always virtualize Windows on top of Linux instead, since linux is usually the one doing the heavy calcs. |
This post was updated on .
I installed Ubuntu as a Windows Subsystem Linux but I get errors for missing VTK 6 errors again. I will try to fix them like I did in Debian.
Thanks for the tip about the virtual machine; I only use the VM for local development, and then send the heavy duty calculations to a dedicated server! Edit: Worked on WSL Ubuntu 20.04. I had to additionally install libvtk6.3-qt, and copy some files in /usr/bin (vtkWrapHierarchy-6.3, vtkParseOGLExt-6.3, vtkHashSource-6.3, vtkEncodeString-6.3) |
Free forum by Nabble | Edit this page |