Hi, I have installed and built chrono-8.0.0 on Ubuntu 18.04. I can run all the demos OK.
I am trying to create a new project, using tutorials ( https://github.com/projectchrono/chrono-tutorial/tree/8.0.0 ), and the template_project folder that comes with chrono (https://api.projectchrono.org/tutorial_install_project.html). When I try to configure the cmake, for these projects, I get errors for "PREPEND" subcommand not recognized. I am aware that these commands were added to cmake in only the later versions, and not in 3.10. I wonder if I am doing something wrong, or am supposed to run another template project/ tutorial versions? Config: gcc 7.5.0 cmake 3.10.2 irrlicht 1.8.4 CMAKE configuration Output for the tutorials case (I get same PREPEND unrecognized error for the template_project too that came with the /chrono directory) ------------------------------------------------------------------------- ==== Chrono programs ==== Finding package Chrono... CMake Error at /home/cralab/chrono/chrono_build/cmake/ChronoConfig.cmake:83 (list): list does not recognize sub-command PREPEND Call Stack (most recent call first): slider_crank/CMakeLists.txt:16 (find_package) CMake Error at /home/cralab/chrono/chrono_build/cmake/ChronoConfig.cmake:86 (list): list does not recognize sub-command PREPEND Call Stack (most recent call first): slider_crank/CMakeLists.txt:16 (find_package) Requested component Irrlicht (REQUIRED) CMake Error at /home/cralab/chrono/chrono_build/cmake/ChronoConfig.cmake:258 (list): list does not recognize sub-command PREPEND Call Stack (most recent call first): slider_crank/CMakeLists.txt:16 (find_package) CMake Error at /home/cralab/chrono/chrono_build/cmake/ChronoConfig.cmake:264 (list): list does not recognize sub-command PREPEND Call Stack (most recent call first): slider_crank/CMakeLists.txt:16 (find_package) CHRONO_CXX_FLAGS (Compiler flags): ;-pthread;-fopenmp;-march=native CHRONO_C_FLAGS (Compiler flags): ;-pthread;-fopenmp;-march=native CHRONO_LINKER_FLAGS (Linker flags): -L/home/cralab/chrono/chrono_build/lib CHRONO_INCLUDE_DIRS (Chrono include directories): /home/cralab/chrono/chrono/src;/home/cralab/chrono/chrono/src/chrono;/home/cralab/chrono/chrono/src/chrono/collision/bullet;/home/cralab/chrono/chrono/src/chrono/collision/gimpact;/home/cralab/chrono/chrono/src/chrono_thirdparty/HACD;/home/cralab/chrono/chrono/src/chrono_thirdparty/HACDv2;/home/cralab/chrono/chrono_build;/usr/local/include/eigen3;;/usr/include/irrlicht CHRONO_LIB_NAMES (Chrono library names): CHRONO_LIBRARIES (Chrono libraries): /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so;;/usr/lib/x86_64-linux-gnu/libIrrlicht.so;-lXxf86vm;-lglut;-lX11;-lGL CHRONO_DLL_NAMES (Chrono DLL names): CHRONO_DLLS (Chrono DLLs): CHRONO_DATA_DIR (Path to Chrono data folder): /home/cralab/chrono/chrono/data/ CHRONO_VEHICLE_DATA_DIR (Path to Chrono::Vehicle data folder): /home/cralab/chrono/chrono/data/vehicle/ CHRONO_FSI_DATA_DIR (Path to Chrono::FSI data folder): /home/cralab/chrono/chrono/data/fsi/ ...add slider_crank_0 CMake Error at slider_crank/CMakeLists.txt:55 (target_link_options): Unknown CMake command "target_link_options". Configuring incomplete, errors occurred! See also "/home/cralab/chrono/chrono-tutorial-8.0.0_build/CMakeFiles/CMakeOutput.log". --------------------------------------------------------------------- Any help is appreciated! Thanks! Prakhar Gupta -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/78bcf2be-ad2f-4da8-9c60-c69f9cad3b36n%40googlegroups.com.
