The issue is not Irrlicht 1.8.5. That should work fine.
The problem is that you are not passing a *library* for IRRLICHT_LIBRARY (but rather a directory) in your CMake configuration.
Note also that you may want to build the code in Release mode.
--Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/53e9ec7a-8bf5-46c8-a999-ba53c04e4d9en%40googlegroups.com.
Please stick with a single email thread. I believe all problems you are having stem from the same place which I mentioned at least twice now.
IRRLICHT_LIBRARY should be set to the Irrlicht library file (NOT a directory)!
You are passing something like:
-DIRRLICHT_LIBRARY=/opt/hamzstlib/Physics/irrlicht-1.8.5/lib/Linux
In the example cmake command line I gave you (which works just fine on my machine) I set:
-DIRRLICHT_LIBRARY=/usr/lib/x86_64-linux-gnu/libIrrlicht.so
Please locate the library file libIrrlicht.so on your machine and set IRRLICHT_LIBRARY to be that.
You are misinterpreting the output from make.
Please get the above working first. Once you fix the issue above by providing the correct full path to the Irrlicht library file libIrrlicht.so in the cmake variable IRRLICHT_LIBRARY, you should be able to build Chrono with BUILD_DEMOS enabled. You will get the demo executables in the directory bin/ and can run them from within that directory.
If you want to play around with the demos, you can modify their source code and then run again make at the same top-level as the first time. You should NOT try to run make in a demo subdirectory.
The demo programs distributed with Chrono are just that: demos.
--Radu
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CALUh_%2B1NM%2BmxBjcg%3DyCw6Or8m5WZOqLLX5s3nE%2BcaF_6C_nBOw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823718A22B112B20845ABBE6A7D29%40PH0PR06MB8237.namprd06.prod.outlook.com.
Hi Freya(???),
I take it you were able to get past the Irrlicht issue (by specifying the actual library file /opt/hamzstlib/Physics/irrlicht-1.8.5/lib/Linux/libIrrlicht.so.1.8.5).
You do not say what new compilation error you get now (by the way, telling us the percentage where compilation errors out is not very useful; please provide the exact file that fails to compile and the corresponding compiler error).
I doubt this is because you do not have Thrust, but it is likely due to a missing dependency. For example, you enable the “Modal” module, but do not provide the path to the Spectra include headers (see https://api.projectchrono.org/module_modal_installation.html).
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CALUh_%2B2b0QhL%3DtARme%2Be1XQ7jCzZoz_G0E4Ey9y0_H4ikwWjXg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82370745FD78C6437DFC01F4A7DA9%40PH0PR06MB8237.namprd06.prod.outlook.com.
I don’t think anyone has tested the latest 1.2.0 release that is now maintained by ASAM.
You should get version 1.1.2 (latest release maintained by VIRES). You can get that from https://www.asam.net/standards/detail/opencrg/ (see bottom of page).
To use with Chrono::Vehicle you will need to compile and install OpenCRG yourself and make sure the resulting libraries are accessible, as appropriate for your operating system. See instructions provided in the OpenCRG package.
On a different note, you are making again a similar mistake as before: you pass a directory to a CMake variable (OPENCRG_LIBRARY) which expects a library file.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CALUh_%2B1p3T7rjNbXNJ-RGJbwVLSXtb5zGZqn%2B6T3MFGgFPV9sA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82377DEA50A60F5248105678A7A39%40PH0PR06MB8237.namprd06.prod.outlook.com.
You likely have an issue in the OpenCRG library you built.
Note that the makefile they provide may need to be slightly adjusted. For example, I had to remove the flag “-ansi” (else GCC errors because of C++ style comments) and I had to make sure to generate position independent code (add the flag “-fPIC”). If I were
to guess, the latter is the reason for the issues you are seeing.
Note also that you do not need to build OpenCRG as a shared library. A static library will also work (but you do need -fPIC anyway).
Hi all,
OpenCRGv1-2.zipError! Filename not specified.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CALUh_%2B1UbLCeEATdOSm9ifuPg6JLRkNo1qW8gCV8-Ooh0RfX_w%40mail.gmail.com.