Radu, Going back to building projects that use chrono - Are the tutorials from the main branch (https://github.com/projectchrono/chrono-tutorial/tree/main) supposed to build in the current commit? I cannot build the template projects or the tutorial projects for the main branch. This is after I can successfully run the demos.
I am attaching the log from the make process. On Wednesday, 11 October 2023 at 13:29:25 UTC-4 Radu Serban wrote: > Hi Prakhar, > > > > Thanks for the heads up. You are correct, this isa bug (most likely a copy > and paste). > > I’ll push the fix soon. > > > > --Radu > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Prakhar Gupta > *Sent:* Wednesday, October 11, 2023 7:22 PM > *To:* ProjectChrono <[email protected]> > *Subject:* Re: [chrono] CMake version problem for chrono tutorials > > > > Radu, > > I am building the main branch now - with the MATLAB module. > > There seems to be a bug in > https://github.com/projectchrono/chrono/blob/2e6cae2d6578531d73f56d28893740ea009544ab/src/chrono_matlab/ChMatlabEngine.h#L85C1-L85C75 > > > > This leads to following error during make: > > > > ---------------------------------------------------------------- > > > > In file included from > /home/cralab/chrono/chrono/src/chrono_matlab/ChMatlabEngine.cpp:15:0: > /home/cralab/chrono/chrono/src/chrono_matlab/ChMatlabEngine.h:85:10: > error: extra qualification ‘chrono::ChMatlabEngine::’ on member ‘GetString’ > [-fpermissive] > bool ChMatlabEngine::GetString(std::string& str, std::string varname); > ^~~~~~~~~~~~~~ > src/chrono_matlab/CMakeFiles/ChronoEngine_matlab.dir/build.make:75: recipe > for target > 'src/chrono_matlab/CMakeFiles/ChronoEngine_matlab.dir/ChMatlabEngine.cpp.o' > failed > > > > --------------------------------------------------------------- > > > > I removed the extra class declaration and it works. If you agree with this > fix, I can create an issue on github and create a pull request. > > > > Prakhar > > > > > > On Wednesday, 11 October 2023 at 05:50:43 UTC-4 Prakhar Gupta wrote: > > Radu, > > Thanks for the suggestion - I will switch over to the main branch. > > > > Prakhar > > On Wednesday, 11 October 2023 at 01:22:19 UTC-4 Radu Serban wrote: > > Hi Prakhar, > > > > Thanks for pointing this out. We missed it in the 8.0 release but will > make sure to update the template project in the latest development code so > that it requires a proper CMake version, compatible with Chrono itself. > > > > On a different note, like Dario also suggested, I encourage you to start > using the latest code in the ‘main’ branch of the Chrono git repository. > There have been many enhancements, new features, and bug fixes since the > 8.0 release. > > > > --Radu > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Prakhar Gupta > *Sent:* Tuesday, October 10, 2023 11:33 PM > *To:* ProjectChrono <[email protected]> > *Subject:* Re: [chrono] CMake version problem for chrono tutorials > > > > Yes, that fixed the error with cmake 3.27.7. I was just thrown off, > because the cmake minimum version in the cmake files for all chrono was > 3.10, and it does the job too. I did not expect tutorials to be requiring a > different version. > > > > Thanks for the help! > > Cheers, > > Prakhar > > > > On Tuesday, 10 October 2023 at 16:59:36 UTC-4 [email protected] wrote: > > Hi Prakhar, > > we just changed the template project and the relative chrono-config file > so we surely need some feedback. > > > > Could you update CMake to latest version? > > > > Dario > > > > -------- Messaggio originale -------- > > Da: Prakhar Gupta <[email protected]> > > Data: 10/10/23 22:51 (GMT+01:00) > > A: ProjectChrono <[email protected]> > > Oggetto: [chrono] CMake version problem for chrono tutorials > > > > 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 > > <https://groups.google.com/d/msgid/projectchrono/78bcf2be-ad2f-4da8-9c60-c69f9cad3b36n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > 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/bba06e8c-16b7-4791-b224-fdc349d63a75n%40googlegroups.com > > <https://groups.google.com/d/msgid/projectchrono/bba06e8c-16b7-4791-b224-fdc349d63a75n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > 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/391fff37-1c21-4a8e-8451-5a1b28b965fcn%40googlegroups.com > > <https://groups.google.com/d/msgid/projectchrono/391fff37-1c21-4a8e-8451-5a1b28b965fcn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/25ff6e85-17e7-488e-ac01-4c5c051145f7n%40googlegroups.com.
cralab@cralab-EU1009600-2120119:~/chrono/chrono-tutorial-main_build$ make [ 3%] Building CXX object slider_crank/CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o [ 7%] Linking CXX executable ../bin/slider_crank_0 CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `main': slider_crank_0.cpp:(.text+0x182): undefined reference to `chrono::SetChronoDataPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x1b4): undefined reference to `chrono::ChSystemNSC::ChSystemNSC(bool)' slider_crank_0.cpp:(.text+0x231): undefined reference to `chrono::ChSystem::AddBody(std::shared_ptr<chrono::ChBody>)' slider_crank_0.cpp:(.text+0x296): undefined reference to `chrono::ChBody::SetBodyFixed(bool)' slider_crank_0.cpp:(.text+0x30d): undefined reference to `chrono::Q_from_AngX(double)' slider_crank_0.cpp:(.text+0x322): undefined reference to `chrono::VNULL' slider_crank_0.cpp:(.text+0x35c): undefined reference to `chrono::ChPhysicsItem::AddVisualShape(std::shared_ptr<chrono::ChVisualShape>, chrono::ChFrame<double> const&)' slider_crank_0.cpp:(.text+0x3bb): undefined reference to `chrono::ChSystem::AddBody(std::shared_ptr<chrono::ChBody>)' slider_crank_0.cpp:(.text+0x495): undefined reference to `chrono::ChBody::SetInertiaXX(chrono::ChVector<double> const&)' slider_crank_0.cpp:(.text+0x5dc): undefined reference to `chrono::ChVisualShape::SetColor(chrono::ChColor const&)' slider_crank_0.cpp:(.text+0x68c): undefined reference to `chrono::ChPhysicsItem::AddVisualShape(std::shared_ptr<chrono::ChVisualShape>, chrono::ChFrame<double> const&)' slider_crank_0.cpp:(.text+0x735): undefined reference to `chrono::ChVisualShape::SetColor(chrono::ChColor const&)' slider_crank_0.cpp:(.text+0x76c): undefined reference to `chrono::Q_from_AngX(double)' slider_crank_0.cpp:(.text+0x7eb): undefined reference to `chrono::ChPhysicsItem::AddVisualShape(std::shared_ptr<chrono::ChVisualShape>, chrono::ChFrame<double> const&)' slider_crank_0.cpp:(.text+0x87d): undefined reference to `chrono::ChVisualShape::SetColor(chrono::ChColor const&)' slider_crank_0.cpp:(.text+0x93f): undefined reference to `chrono::ChPhysicsItem::AddVisualShape(std::shared_ptr<chrono::ChVisualShape>, chrono::ChFrame<double> const&)' slider_crank_0.cpp:(.text+0x99e): undefined reference to `chrono::ChSystem::AddBody(std::shared_ptr<chrono::ChBody>)' slider_crank_0.cpp:(.text+0xa78): undefined reference to `chrono::ChBody::SetInertiaXX(chrono::ChVector<double> const&)' slider_crank_0.cpp:(.text+0xbbf): undefined reference to `chrono::ChVisualShape::SetColor(chrono::ChColor const&)' slider_crank_0.cpp:(.text+0xc6f): undefined reference to `chrono::ChPhysicsItem::AddVisualShape(std::shared_ptr<chrono::ChVisualShape>, chrono::ChFrame<double> const&)' slider_crank_0.cpp:(.text+0xe7f): undefined reference to `chrono::ChSystem::AddLink(std::shared_ptr<chrono::ChLinkBase>)' slider_crank_0.cpp:(.text+0xfc6): undefined reference to `chrono::ChSystem::AddLink(std::shared_ptr<chrono::ChLinkBase>)' slider_crank_0.cpp:(.text+0x10dc): undefined reference to `chrono::ChLinkDistance::Initialize(std::shared_ptr<chrono::ChBodyFrame>, std::shared_ptr<chrono::ChBodyFrame>, bool, chrono::ChVector<double>, chrono::ChVector<double>, bool, double)' slider_crank_0.cpp:(.text+0x1130): undefined reference to `chrono::ChSystem::AddLink(std::shared_ptr<chrono::ChLinkBase>)' slider_crank_0.cpp:(.text+0x1144): undefined reference to `chrono::GetLog()' slider_crank_0.cpp:(.text+0x118e): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::SetWindowSize(unsigned int, unsigned int)' slider_crank_0.cpp:(.text+0x11aa): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::SetCameraVertical(chrono::CameraVerticalDir)' slider_crank_0.cpp:(.text+0x11fa): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::SetWindowTitle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x128d): undefined reference to `chrono::GetChronoDataFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x129f): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::AddLogo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x1323): undefined reference to `chrono::GetChronoDataFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x1335): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::AddSkyBox(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' slider_crank_0.cpp:(.text+0x140e): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::AddTypicalLights()' slider_crank_0.cpp:(.text+0x1550): undefined reference to `chrono::irrlicht::tools::drawSegment(chrono::irrlicht::ChVisualSystemIrrlicht*, chrono::ChVector<double>, chrono::ChVector<double>, chrono::ChColor, bool)' slider_crank_0.cpp:(.text+0x159c): undefined reference to `chrono::Q_from_AngX(double)' slider_crank_0.cpp:(.text+0x164e): undefined reference to `chrono::irrlicht::tools::drawGrid(chrono::irrlicht::ChVisualSystemIrrlicht*, double, double, int, int, chrono::ChCoordsys<double>, chrono::ChColor, bool)' slider_crank_0.cpp:(.text+0x167e): undefined reference to `chrono::irrlicht::tools::drawAllCOGs(chrono::irrlicht::ChVisualSystemIrrlicht*, double)' slider_crank_0.cpp:(.text+0x16c4): undefined reference to `chrono::ChSystem::DoStepDynamics(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChClassFactory::IsClassRegistered(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory17IsClassRegisteredERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6chrono14ChClassFactory17IsClassRegisteredERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0xd): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChClassFactory::IsClassRegistered(std::type_index const&)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory17IsClassRegisteredERKSt10type_index[_ZN6chrono14ChClassFactory17IsClassRegisteredERKSt10type_index]+0xd): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChClassFactory::GetClassTagName[abi:cxx11](std::type_index const&)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory15GetClassTagNameB5cxx11ERKSt10type_index[_ZN6chrono14ChClassFactory15GetClassTagNameB5cxx11ERKSt10type_index]+0xd): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChBody::SetMass(double)': slider_crank_0.cpp:(.text._ZN6chrono6ChBody7SetMassEd[_ZN6chrono6ChBody7SetMassEd]+0x2d): undefined reference to `chrono::ChVariablesBodyOwnMass::SetBodyMass(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockRevolute::ChLinkLockRevolute()': slider_crank_0.cpp:(.text._ZN6chrono18ChLinkLockRevoluteC2Ev[_ZN6chrono18ChLinkLockRevoluteC5Ev]+0x15): undefined reference to `chrono::ChLinkLock::ChLinkLock()' slider_crank_0.cpp:(.text._ZN6chrono18ChLinkLockRevoluteC2Ev[_ZN6chrono18ChLinkLockRevoluteC5Ev]+0x34): undefined reference to `chrono::ChLinkLock::ChangeLinkType(chrono::ChLinkLock::LinkType)' slider_crank_0.cpp:(.text._ZN6chrono18ChLinkLockRevoluteC2Ev[_ZN6chrono18ChLinkLockRevoluteC5Ev]+0x45): undefined reference to `chrono::ChLinkLock::~ChLinkLock()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockRevolute::ChLinkLockRevolute(chrono::ChLinkLockRevolute const&)': slider_crank_0.cpp:(.text._ZN6chrono18ChLinkLockRevoluteC2ERKS0_[_ZN6chrono18ChLinkLockRevoluteC5ERKS0_]+0x1f): undefined reference to `chrono::ChLinkLock::ChLinkLock(chrono::ChLinkLock const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockPrismatic::ChLinkLockPrismatic()': slider_crank_0.cpp:(.text._ZN6chrono19ChLinkLockPrismaticC2Ev[_ZN6chrono19ChLinkLockPrismaticC5Ev]+0x15): undefined reference to `chrono::ChLinkLock::ChLinkLock()' slider_crank_0.cpp:(.text._ZN6chrono19ChLinkLockPrismaticC2Ev[_ZN6chrono19ChLinkLockPrismaticC5Ev]+0x34): undefined reference to `chrono::ChLinkLock::ChangeLinkType(chrono::ChLinkLock::LinkType)' slider_crank_0.cpp:(.text._ZN6chrono19ChLinkLockPrismaticC2Ev[_ZN6chrono19ChLinkLockPrismaticC5Ev]+0x45): undefined reference to `chrono::ChLinkLock::~ChLinkLock()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockPrismatic::ChLinkLockPrismatic(chrono::ChLinkLockPrismatic const&)': slider_crank_0.cpp:(.text._ZN6chrono19ChLinkLockPrismaticC2ERKS0_[_ZN6chrono19ChLinkLockPrismaticC5ERKS0_]+0x1f): undefined reference to `chrono::ChLinkLock::ChLinkLock(chrono::ChLinkLock const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChSystem::ShowHierarchy(chrono::ChStreamOutAscii&, int) const': slider_crank_0.cpp:(.text._ZNK6chrono8ChSystem13ShowHierarchyERNS_16ChStreamOutAsciiEi[_ZNK6chrono8ChSystem13ShowHierarchyERNS_16ChStreamOutAsciiEi]+0x29): undefined reference to `chrono::ChAssembly::ShowHierarchy(chrono::ChStreamOutAscii&, int) const' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChSystemNSC::~ChSystemNSC()': slider_crank_0.cpp:(.text._ZN6chrono11ChSystemNSCD2Ev[_ZN6chrono11ChSystemNSCD5Ev]+0xf): undefined reference to `vtable for chrono::ChSystemNSC' slider_crank_0.cpp:(.text._ZN6chrono11ChSystemNSCD2Ev[_ZN6chrono11ChSystemNSCD5Ev]+0x22): undefined reference to `chrono::ChSystem::~ChSystem()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::ChBody>::construct<chrono::ChBody>(chrono::ChBody*)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono6ChBodyEE9constructIS2_JEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono6ChBodyEE9constructIS2_JEEEvPT_DpOT0_]+0x32): undefined reference to `chrono::ChBody::ChBody(chrono::collision::ChCollisionSystemType)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::ChCylinderShape>::construct<chrono::ChCylinderShape, double, double>(chrono::ChCylinderShape*, double&&, double&&)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono15ChCylinderShapeEE9constructIS2_JddEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono15ChCylinderShapeEE9constructIS2_JddEEEvPT_DpOT0_]+0x67): undefined reference to `chrono::ChCylinderShape::ChCylinderShape(double, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::ChBoxShape>::construct<chrono::ChBoxShape, double, double, double>(chrono::ChBoxShape*, double&&, double&&, double&&)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono10ChBoxShapeEE9constructIS2_JdddEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono10ChBoxShapeEE9constructIS2_JdddEEEvPT_DpOT0_]+0x85): undefined reference to `chrono::ChBoxShape::ChBoxShape(double, double, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::ChSphereShape>::construct<chrono::ChSphereShape, double>(chrono::ChSphereShape*, double&&)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono13ChSphereShapeEE9constructIS2_JdEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono13ChSphereShapeEE9constructIS2_JdEEEvPT_DpOT0_]+0x49): undefined reference to `chrono::ChSphereShape::ChSphereShape(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::ChLinkDistance>::construct<chrono::ChLinkDistance>(chrono::ChLinkDistance*)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono14ChLinkDistanceEE9constructIS2_JEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono14ChLinkDistanceEE9constructIS2_JEEEvPT_DpOT0_]+0x2d): undefined reference to `chrono::ChLinkDistance::ChLinkDistance()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void __gnu_cxx::new_allocator<chrono::irrlicht::ChVisualSystemIrrlicht>::construct<chrono::irrlicht::ChVisualSystemIrrlicht>(chrono::irrlicht::ChVisualSystemIrrlicht*)': slider_crank_0.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN6chrono8irrlicht22ChVisualSystemIrrlichtEE9constructIS3_JEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN6chrono8irrlicht22ChVisualSystemIrrlichtEE9constructIS3_JEEEvPT_DpOT0_]+0x2d): undefined reference to `chrono::irrlicht::ChVisualSystemIrrlicht::ChVisualSystemIrrlicht()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x28): undefined reference to `chrono::ChLinkLock::ArchiveOut(chrono::ChArchiveOut&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x30): undefined reference to `chrono::ChLinkLock::ArchiveIn(chrono::ChArchiveIn&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x40): undefined reference to `chrono::ChPhysicsItem::SetSystem(chrono::ChSystem*)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x80): undefined reference to `chrono::ChPhysicsItem::GetTotalAABB(chrono::ChVector<double>&, chrono::ChVector<double>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x88): undefined reference to `chrono::ChPhysicsItem::GetCenter(chrono::ChVector<double>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0xa8): undefined reference to `chrono::ChLinkLock::Update(double, bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0xb0): undefined reference to `chrono::ChLink::Update(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0xe0): undefined reference to `chrono::ChLinkLock::GetDOC_d()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x108): undefined reference to `chrono::ChLinkLock::IntStateGatherReactions(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x110): undefined reference to `chrono::ChLinkLock::IntStateScatterReactions(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x128): undefined reference to `chrono::ChLinkMarkers::IntLoadResidual_F(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x138): undefined reference to `chrono::ChLinkLock::IntLoadResidual_CqL(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x140): undefined reference to `chrono::ChLinkLock::IntLoadConstraint_C(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double, bool, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x148): undefined reference to `chrono::ChLinkLock::IntLoadConstraint_Ct(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x150): undefined reference to `chrono::ChLinkLock::IntToDescriptor(unsigned int, chrono::ChStateDelta const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x158): undefined reference to `chrono::ChLinkLock::IntFromDescriptor(unsigned int, chrono::ChStateDelta&, unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x198): undefined reference to `chrono::ChLinkLock::InjectConstraints(chrono::ChSystemDescriptor&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1a0): undefined reference to `chrono::ChLinkLock::ConstraintsBiReset()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1a8): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_C(double, double, bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1b0): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_Ct(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1b8): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_Qc(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1c0): undefined reference to `chrono::ChLinkMarkers::ConstraintsFbLoadForces(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1c8): undefined reference to `chrono::ChLinkLock::ConstraintsLoadJacobians()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1d0): undefined reference to `chrono::ChLinkLock::ConstraintsFetch_react(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1f0): undefined reference to `chrono::ChLinkLock::SetDisabled(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x1f8): undefined reference to `chrono::ChLinkLock::SetBroken(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x238): undefined reference to `chrono::ChLinkLock::RestoreRedundant()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x240): undefined reference to `chrono::ChLink::UpdateTime(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x250): undefined reference to `chrono::ChLinkLock::SetUpMarkers(chrono::ChMarker*, chrono::ChMarker*)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x258): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChMarker>, std::shared_ptr<chrono::ChMarker>)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x260): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChBody>, std::shared_ptr<chrono::ChBody>, chrono::ChCoordsys<double> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x268): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChBody>, std::shared_ptr<chrono::ChBody>, bool, chrono::ChCoordsys<double> const&, chrono::ChCoordsys<double> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x270): undefined reference to `chrono::ChLinkMarkers::UpdateRelMarkerCoords()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x278): undefined reference to `chrono::ChLinkLock::UpdateForces(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono19ChLinkLockPrismaticE[_ZTVN6chrono19ChLinkLockPrismaticE]+0x280): undefined reference to `chrono::ChLinkLock::UpdateState()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockPrismatic::~ChLinkLockPrismatic()': slider_crank_0.cpp:(.text._ZN6chrono19ChLinkLockPrismaticD2Ev[_ZN6chrono19ChLinkLockPrismaticD5Ev]+0x22): undefined reference to `chrono::ChLinkLock::~ChLinkLock()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x28): undefined reference to `chrono::ChLinkLock::ArchiveOut(chrono::ChArchiveOut&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x30): undefined reference to `chrono::ChLinkLock::ArchiveIn(chrono::ChArchiveIn&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x40): undefined reference to `chrono::ChPhysicsItem::SetSystem(chrono::ChSystem*)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x80): undefined reference to `chrono::ChPhysicsItem::GetTotalAABB(chrono::ChVector<double>&, chrono::ChVector<double>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x88): undefined reference to `chrono::ChPhysicsItem::GetCenter(chrono::ChVector<double>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0xa8): undefined reference to `chrono::ChLinkLock::Update(double, bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0xb0): undefined reference to `chrono::ChLink::Update(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0xe0): undefined reference to `chrono::ChLinkLock::GetDOC_d()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x108): undefined reference to `chrono::ChLinkLock::IntStateGatherReactions(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x110): undefined reference to `chrono::ChLinkLock::IntStateScatterReactions(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x128): undefined reference to `chrono::ChLinkMarkers::IntLoadResidual_F(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x138): undefined reference to `chrono::ChLinkLock::IntLoadResidual_CqL(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x140): undefined reference to `chrono::ChLinkLock::IntLoadConstraint_C(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double, bool, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x148): undefined reference to `chrono::ChLinkLock::IntLoadConstraint_Ct(unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x150): undefined reference to `chrono::ChLinkLock::IntToDescriptor(unsigned int, chrono::ChStateDelta const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x158): undefined reference to `chrono::ChLinkLock::IntFromDescriptor(unsigned int, chrono::ChStateDelta&, unsigned int, Eigen::Matrix<double, -1, 1, 0, -1, 1>&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x198): undefined reference to `chrono::ChLinkLock::InjectConstraints(chrono::ChSystemDescriptor&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1a0): undefined reference to `chrono::ChLinkLock::ConstraintsBiReset()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1a8): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_C(double, double, bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1b0): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_Ct(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1b8): undefined reference to `chrono::ChLinkLock::ConstraintsBiLoad_Qc(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1c0): undefined reference to `chrono::ChLinkMarkers::ConstraintsFbLoadForces(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1c8): undefined reference to `chrono::ChLinkLock::ConstraintsLoadJacobians()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1d0): undefined reference to `chrono::ChLinkLock::ConstraintsFetch_react(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1f0): undefined reference to `chrono::ChLinkLock::SetDisabled(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x1f8): undefined reference to `chrono::ChLinkLock::SetBroken(bool)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x238): undefined reference to `chrono::ChLinkLock::RestoreRedundant()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x240): undefined reference to `chrono::ChLink::UpdateTime(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x250): undefined reference to `chrono::ChLinkLock::SetUpMarkers(chrono::ChMarker*, chrono::ChMarker*)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x258): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChMarker>, std::shared_ptr<chrono::ChMarker>)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x260): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChBody>, std::shared_ptr<chrono::ChBody>, chrono::ChCoordsys<double> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x268): undefined reference to `chrono::ChLinkMarkers::Initialize(std::shared_ptr<chrono::ChBody>, std::shared_ptr<chrono::ChBody>, bool, chrono::ChCoordsys<double> const&, chrono::ChCoordsys<double> const&)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x270): undefined reference to `chrono::ChLinkMarkers::UpdateRelMarkerCoords()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x278): undefined reference to `chrono::ChLinkLock::UpdateForces(double)' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTVN6chrono18ChLinkLockRevoluteE[_ZTVN6chrono18ChLinkLockRevoluteE]+0x280): undefined reference to `chrono::ChLinkLock::UpdateState()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `chrono::ChLinkLockRevolute::~ChLinkLockRevolute()': slider_crank_0.cpp:(.text._ZN6chrono18ChLinkLockRevoluteD2Ev[_ZN6chrono18ChLinkLockRevoluteD5Ev]+0x22): undefined reference to `chrono::ChLinkLock::~ChLinkLock()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTIN6chrono19ChLinkLockPrismaticE[_ZTIN6chrono19ChLinkLockPrismaticE]+0x10): undefined reference to `typeinfo for chrono::ChLinkLock' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:(.data.rel.ro._ZTIN6chrono18ChLinkLockRevoluteE[_ZTIN6chrono18ChLinkLockRevoluteE]+0x10): undefined reference to `typeinfo for chrono::ChLinkLock' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void chrono::ChClassFactory::archive_out<chrono::ChCoordsys<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, chrono::ChArchiveOut&, chrono::ChCoordsys<double>*)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory11archive_outINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_[_ZN6chrono14ChClassFactory11archive_outINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_]+0x15): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void chrono::ChClassFactory::archive_out_constructor<chrono::ChCoordsys<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, chrono::ChArchiveOut&, chrono::ChCoordsys<double>*)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory23archive_out_constructorINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_[_ZN6chrono14ChClassFactory23archive_out_constructorINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_]+0x15): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void chrono::ChClassFactory::archive_in<chrono::ChQuaternion<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, chrono::ChArchiveIn&, chrono::ChQuaternion<double>*)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory10archive_inINS_12ChQuaternionIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_[_ZN6chrono14ChClassFactory10archive_inINS_12ChQuaternionIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_]+0x15): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void chrono::ChClassFactory::archive_in<chrono::ChVector<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, chrono::ChArchiveIn&, chrono::ChVector<double>*)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory10archive_inINS_8ChVectorIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_[_ZN6chrono14ChClassFactory10archive_inINS_8ChVectorIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_]+0x15): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o: In function `void chrono::ChClassFactory::archive_in<chrono::ChCoordsys<double> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, chrono::ChArchiveIn&, chrono::ChCoordsys<double>*)': slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory10archive_inINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_[_ZN6chrono14ChClassFactory10archive_inINS_10ChCoordsysIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_11ChArchiveInEPT_]+0x15): undefined reference to `chrono::ChClassFactory::GetGlobalClassFactory()' CMakeFiles/slider_crank_0.dir/slider_crank_0.cpp.o:slider_crank_0.cpp:(.text._ZN6chrono14ChClassFactory11archive_outINS_12ChQuaternionIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_[_ZN6chrono14ChClassFactory11archive_outINS_12ChQuaternionIdEEEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12ChArchiveOutEPT_]+0x15): more undefined references to `chrono::ChClassFactory::GetGlobalClassFactory()' follow collect2: error: ld returned 1 exit status slider_crank/CMakeFiles/slider_crank_0.dir/build.make:98: recipe for target 'bin/slider_crank_0' failed make[2]: *** [bin/slider_crank_0] Error 1 CMakeFiles/Makefile2:153: recipe for target 'slider_crank/CMakeFiles/slider_crank_0.dir/all' failed make[1]: *** [slider_crank/CMakeFiles/slider_crank_0.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
