I'm attempting to build Chrono from source on my Ubuntu 16.04 VM (32bit) with the following options:
Build demos
build tests
enable irrklang
enable irrlicht
enable opengl
enable vehicle
enable openmp
I'm compiling with gcc (5.4.0) in debug mode, and I get the following error when executing "make" from the chrono_build directory:
...
Scanning dependencies of target demo_VEH_HMMWV9
[ 92%] Building CXX object src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/demo_VEH_HMMWV9.cpp.o
In file included from /home/robert/chrono_ws/chrono_source/chrono/src/chrono_vehicle/driver/ChIrrGuiDriver.h:34:0,
from /home/robert/chrono_ws/chrono_source/chrono/src/demos/vehicle/demo_HMMWV9/demo_VEH_HMMWV9.cpp:30:
/home/robert/chrono_ws/chrono_source/chrono/src/chrono_vehicle/utils/ChVehicleIrrApp.h:38:22: fatal error: irrKlang.h: No such file or directory
compilation terminated.
src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/build.make:62: recipe for target 'src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/demo_VEH_HMMWV9.cpp.o' failed
make[2]: *** [src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/demo_VEH_HMMWV9.cpp.o] Error 1
CMakeFiles/Makefile2:3758: recipe for target 'src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/all' failed
make[1]: *** [src/demos/vehicle/demo_HMMWV9/CMakeFiles/demo_VEH_HMMWV9.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
I have downloaded IrrKlang (1.5.0) from the official download site and installed the shared libraries in /usr/local/lib and the headers in /usr/local/include/irrklang/
I checked that the shared libraries are found in my /etc/ld.so.cache file.
Attached is a full screenshot of my cmake gui window, but I believe the issue has got to be with the following Cmake variables
CH_IRRKLANGLIB = /usr/local/lib/libIrrKlang.so
CH_IRRKLANG_SDKDIR = /usr/local/include/irrklang
I feel like I've hit a wall with this, so any help would be appreciated.
Thanks,
Robert