Hi all, I am trying to create my very simple first project in chrono where a I just wanted to replace the gator vehicle in the demo_VEH_Gator.cpp with a MAN 5t truck. While building the project I am getting around 56 error LNK2019. I have attached my code and error in the text file below. Any help is highly appreciated.
my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl chrono::vehicle::GetDataFile(c lass std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetDataFile@vehicle@chrono@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] -- 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/a4c11ff7-71de-4a19-9181-141eb554dac4n%40googlegroups.com.
The code: // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of the distribution and at // http://projectchrono.org/license-chrono.txt. // // ============================================================================= // Authors: Radu Serban // ============================================================================= // // Main driver function for the truck full model. // // The vehicle reference frame has Z up, X towards the front of the vehicle, and // Y pointing to the left. // // ============================================================================= #include "chrono/utils/ChUtilsInputOutput.h" #include "chrono_vehicle/ChVehicleModelData.h" #include "chrono_vehicle/terrain/RigidTerrain.h" #include "chrono_models/vehicle/man/MAN_5t.h" #include "chrono_models/vehicle/man/MAN_7t.h" #include "chrono_models/vehicle/man/MAN_10t.h" #include "chrono_thirdparty/filesystem/path.h" #ifdef CHRONO_IRRLICHT #include "chrono_vehicle/driver/ChInteractiveDriverIRR.h" #include "chrono_vehicle/wheeled_vehicle/ChWheeledVehicleVisualSystemIrrlicht.h" using namespace chrono::irrlicht; #endif #ifdef CHRONO_VSG #include "chrono_vehicle/driver/ChInteractiveDriverVSG.h" #include "chrono_vehicle/wheeled_vehicle/ChWheeledVehicleVisualSystemVSG.h" using namespace chrono::vsg3d; #endif using namespace chrono; using namespace chrono::vehicle; using namespace chrono::vehicle::man; #define TRUCK 10 // ============================================================================= // Run-time visualization system (IRRLICHT or VSG) ChVisualSystem::Type vis_type = ChVisualSystem::Type::VSG; // Initial vehicle location and orientation ChVector<> initLoc(0, 0, 0.5); ChQuaternion<> initRot(1, 0, 0, 0); // Visualization type for vehicle parts (PRIMITIVES, MESH, or NONE) VisualizationType chassis_vis_type = VisualizationType::MESH; VisualizationType suspension_vis_type = VisualizationType::PRIMITIVES; VisualizationType steering_vis_type = VisualizationType::PRIMITIVES; VisualizationType wheel_vis_type = VisualizationType::MESH; VisualizationType tire_vis_type = VisualizationType::MESH; // Type of engine model (SHAFTS, SIMPLE, SIMPLE_MAP) EngineModelType engine_model = EngineModelType::SIMPLE; // Type of transmission model (SHAFTS, SIMPLE_MAP) TransmissionModelType transmission_model = TransmissionModelType::AUTOMATIC_SIMPLE_MAP; // Type of break model (SIMPLE, SHAFTS) BrakeType brake_model = BrakeType::SHAFTS; // Collision type for chassis (PRIMITIVES, MESH, or NONE) CollisionType chassis_collision_type = CollisionType::NONE; // Type of tire model (RIGID, RIGID_MESH, TMEASY) TireModelType tire_model = TireModelType::TMEASY; // Rigid terrain RigidTerrain::PatchType terrain_model = RigidTerrain::PatchType::BOX; // Contact method ChContactMethod contact_method = ChContactMethod::NSC; // Simulation step sizes double step_size = 2e-3; double tire_step_size = step_size; // Time interval between two render frames double render_step_size = 1.0 / 50; // FPS = 50 // Output directories const std::string out_dir = GetChronoOutputPath() + "truck"; const std::string pov_dir = out_dir + "/POVRAY"; // POV-Ray output bool povray_output = false; // ============================================================================= int main(int argc, char* argv[]) { GetLog() << "Copyright (c) 2017 projectchrono.org\nChrono version: " << CHRONO_VERSION << "\n\n"; // -------------- // Create vehicle // -------------- #if !defined(TRUCK) #define TRUCK 5 #endif #if defined(TRUCK) && (TRUCK == 5) std::string truck_name = "MAN_5t"; MAN_5t truck; #endif #if defined(TRUCK) && (TRUCK == 7) std::string truck_name = "MAN_7t"; MAN_7t truck; truck.SetDriveline6WD(false); #endif #if defined(TRUCK) && (TRUCK == 10) std::string truck_name = "MAN_10t"; MAN_10t truck; truck.SetDriveline8WD(false); #endif truck.SetContactMethod(contact_method); truck.SetChassisCollisionType(chassis_collision_type); truck.SetChassisFixed(false); truck.SetInitPosition(ChCoordsys<>(initLoc, initRot)); truck.SetEngineType(engine_model); truck.SetTransmissionType(transmission_model); truck.SetTireType(tire_model); truck.SetBrakeType(brake_model); truck.SetTireStepSize(tire_step_size); truck.Initialize(); truck.SetChassisVisualizationType(chassis_vis_type); truck.SetSuspensionVisualizationType(suspension_vis_type); truck.SetSteeringVisualizationType(steering_vis_type); truck.SetWheelVisualizationType(wheel_vis_type); truck.SetTireVisualizationType(tire_vis_type); // Associate a collision system truck.GetSystem()->SetCollisionSystemType(ChCollisionSystem::Type::BULLET); // ------------------ // Create the terrain // ------------------ RigidTerrain terrain(truck.GetSystem()); ChContactMaterialData minfo; minfo.mu = 0.9f; minfo.cr = 0.01f; minfo.Y = 2e7f; auto patch_mat = minfo.CreateMaterial(contact_method); std::shared_ptr<RigidTerrain::Patch> patch; switch (terrain_model) { case RigidTerrain::PatchType::BOX: patch = terrain.AddPatch(patch_mat, CSYSNORM, 100.0, 100.0); patch->SetTexture(vehicle::GetDataFile("terrain/textures/tile4.jpg"), 200, 200); patch = terrain.AddPatch(patch_mat, ChCoordsys<>(ChVector<>(10, 0, 0), Q_from_AngY(-10 * CH_C_DEG_TO_RAD)), 5, 10); patch->SetColor(ChColor(0.6f, 0.5f, 0.2f)); break; case RigidTerrain::PatchType::HEIGHT_MAP: patch = terrain.AddPatch(patch_mat, CSYSNORM, vehicle::GetDataFile("terrain/height_maps/test64.bmp"), 128, 128, 0, 4); patch->SetTexture(vehicle::GetDataFile("terrain/textures/grass.jpg"), 16, 16); break; case RigidTerrain::PatchType::MESH: patch = terrain.AddPatch(patch_mat, CSYSNORM, vehicle::GetDataFile("terrain/meshes/test.obj")); patch->SetTexture(vehicle::GetDataFile("terrain/textures/grass.jpg"), 100, 100); break; } terrain.Initialize(); // ------------------------------------------------------------------------------ // Create the vehicle run-time visualization interface and the interactive driver // ------------------------------------------------------------------------------ #ifndef CHRONO_IRRLICHT if (vis_type == ChVisualSystem::Type::IRRLICHT) vis_type = ChVisualSystem::Type::VSG; #endif #ifndef CHRONO_VSG if (vis_type == ChVisualSystem::Type::VSG) vis_type = ChVisualSystem::Type::IRRLICHT; #endif // Set the time response for steering and throttle keyboard inputs. double steering_time = 1.0; // time to go from 0 to +1 (or from 0 to -1) double throttle_time = 1.0; // time to go from 0 to +1 double braking_time = 0.3; // time to go from 0 to +1 std::shared_ptr<ChVehicleVisualSystem> vis; std::shared_ptr<ChDriver> driver; switch (vis_type) { case ChVisualSystem::Type::IRRLICHT: { #ifdef CHRONO_IRRLICHT // Create the vehicle Irrlicht interface auto vis_irr = chrono_types::make_shared<ChWheeledVehicleVisualSystemIrrlicht>(); vis_irr->SetWindowTitle("truck Demo"); vis_irr->SetChaseCamera(ChVector<>(0.0, 0.0, 2.0), 5.0, 0.05); vis_irr->Initialize(); vis_irr->AddLightDirectional(70, 20); vis_irr->AddSkyBox(); vis_irr->AddLogo(); vis_irr->AttachVehicle(&truck.GetVehicle()); // Create the interactive Irrlicht driver system auto driver_irr = chrono_types::make_shared<ChInteractiveDriverIRR>(*vis_irr); driver_irr->SetSteeringDelta(render_step_size / steering_time); driver_irr->SetThrottleDelta(render_step_size / throttle_time); driver_irr->SetBrakingDelta(render_step_size / braking_time); driver_irr->Initialize(); vis = vis_irr; driver = driver_irr; #endif break; } default: case ChVisualSystem::Type::VSG: { #ifdef CHRONO_VSG // Create the vehicle VSG interface auto vis_vsg = chrono_types::make_shared<ChWheeledVehicleVisualSystemVSG>(); vis_vsg->SetWindowTitle("truck Demo"); vis_vsg->AttachVehicle(&truck.GetVehicle()); vis_vsg->SetChaseCamera(ChVector<>(0.0, 0.0, 2.0), 5.0, 0.05); vis_vsg->SetWindowSize(ChVector2<int>(800, 600)); vis_vsg->SetWindowPosition(ChVector2<int>(100, 300)); vis_vsg->SetUseSkyBox(true); vis_vsg->SetCameraAngleDeg(40); vis_vsg->SetLightIntensity(1.0f); vis_vsg->SetLightDirection(1.5 * CH_C_PI_2, CH_C_PI_4); vis_vsg->Initialize(); // Create the interactive VSG driver system auto driver_vsg = chrono_types::make_shared<ChInteractiveDriverVSG>(*vis_vsg); driver_vsg->SetSteeringDelta(render_step_size / steering_time); driver_vsg->SetThrottleDelta(render_step_size / throttle_time); driver_vsg->SetBrakingDelta(render_step_size / braking_time); driver_vsg->Initialize(); vis = vis_vsg; driver = driver_vsg; #endif break; } } // ----------------- // Initialize output // ----------------- if (povray_output) { if (!filesystem::create_directory(filesystem::path(out_dir))) { std::cout << "Error creating directory " << out_dir << std::endl; return 1; } if (!filesystem::create_directory(filesystem::path(pov_dir))) { std::cout << "Error creating directory " << pov_dir << std::endl; return 1; } terrain.ExportMeshPovray(out_dir); } // --------------- // Simulation loop // --------------- // output vehicle mass truck.GetVehicle().LogSubsystemTypes(); std::cout << "\nVehicle mass: " << truck.GetVehicle().GetMass() << std::endl; // Number of simulation steps between miscellaneous events int render_steps = (int)std::ceil(render_step_size / step_size); // Initialize simulation frame counters int step_number = 0; int render_frame = 0; truck.GetVehicle().EnableRealtime(true); while (vis->Run()) { double time = truck.GetSystem()->GetChTime(); // Render scene and output POV-Ray data if (step_number % render_steps == 0) { vis->BeginScene(); vis->Render(); vis->EndScene(); if (povray_output) { // Zero-pad frame numbers in file names for postprocessing std::ostringstream filename; filename << pov_dir << "/data_" << std::setw(4) << std::setfill('0') << render_frame + 1 << ".dat"; utils::WriteVisualizationAssets(truck.GetSystem(), filename.str()); } render_frame++; } // Get driver inputs DriverInputs driver_inputs = driver->GetInputs(); // Update modules (process inputs from other modules) driver->Synchronize(time); terrain.Synchronize(time); truck.Synchronize(time, driver_inputs, terrain); vis->Synchronize(time, driver_inputs); // Advance simulation for one timestep for all modules driver->Advance(step_size); terrain.Advance(step_size); truck.Advance(step_size); vis->Advance(step_size); // Increment frame number step_number++; } return 0; } -------------------------------------------------------------------------------------------------------------- The Error PS D:\chrono\chrono\man> cmake --build build Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. 1>Checking Build System Creating DLL output directory D:/chrono/chrono/man/build/Debug/ Building Custom Rule D:/chrono/chrono/man/CMakeLists.txt Copying Chrono DLL D:/chrono/chrono/build/bin/Debug/ChronoEngine.dll in D:/chrono/chrono/man/build/Debug/ Copying Chrono DLL D:/chrono/chrono/build/bin/Debug/ChronoModels_robot.dll in D:/chro no/chrono/man/build/Debug/ Copying Chrono DLL D:/chrono/chrono/build/bin/Debug/ChronoEngine_irrlicht.dll in D:/chrono/chrono/man/build/Debug/ Copying DLL dependency D:/chrono/c hrono/libraries/irrlicht-1.8.5/irrlicht-1.8.5/bin/Win64-VisualStudio/Irrlicht.dll in D:/chrono/chrono/man/build/Debug/ Building Custom Rule D:/chrono/chrono/man/CMakeLists.txt my_example.cpp my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl chrono::vehicle::GetDataFile(c lass std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetDataFile@vehicle@chrono@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl chrono::vehicle::ChTerrain::Synchronize(double)" (__imp_?Synchronize@ChTerrain@vehicle@chrono@@UE AAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl chrono::vehicle::ChTerrain::Advance(double)" (__imp_?Advance@ChTerrain@vehicle@chrono@@UEAAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::RigidTerrain::Patch::SetColor(class chrono::ChColor const &)" (__imp_?SetColor@Patch@Rig idTerrain@vehicle@chrono@@QEAAXAEBVChColor@4@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::RigidTerrain::Patch::SetTexture(class std::basic_string<char,struct std::char_traits<cha r>,class std::allocator<char> > const &,float,float)" (__imp_?SetTexture@Patch@RigidTerrain@vehicle@chrono@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MM@Z) referenced in function m ain [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl chrono::vehicle::RigidTerrain::RigidTerrain(class chrono::ChSystem *)" (__imp_??0RigidTerrain@vehicle@chrono@@ QEAA@PEAVChSystem@2@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl chrono::vehicle::RigidTerrain::~RigidTerrain(void)" (__imp_??1RigidTerrain@vehicle@chrono@@UEAA@XZ) re ferenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::shared_ptr<class chrono::vehicle::RigidTerrain::Patch> __cdecl chrono::vehicle::RigidTerrain::AddPatch(clas s std::shared_ptr<class chrono::ChMaterialSurface>,class chrono::ChCoordsys<double> const &,double,double,double,bool,double,bool)" (__imp_?AddPatch@RigidTerrain@vehicle@chrono@@QEAA?AV?$shared_ptr@VPatch@Rig idTerrain@vehicle@chrono@@@std@@V?$shared_ptr@VChMaterialSurface@chrono@@@5@AEBV?$ChCoordsys@N@3@NNN_NN2@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::shared_ptr<class chrono::vehicle::RigidTerrain::Patch> __cdecl chrono::vehicle::RigidTerrain::AddPatch(clas s std::shared_ptr<class chrono::ChMaterialSurface>,class chrono::ChCoordsys<double> const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool,double,bool)" ( __imp_?AddPatch@RigidTerrain@vehicle@chrono@@QEAA?AV?$shared_ptr@VPatch@RigidTerrain@vehicle@chrono@@@std@@V?$shared_ptr@VChMaterialSurface@chrono@@@5@AEBV?$ChCoordsys@N@3@AEBV?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@5@_NN3@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::shared_ptr<class chrono::vehicle::RigidTerrain::Patch> __cdecl chrono::vehicle::RigidTerrain::AddPatch(clas s std::shared_ptr<class chrono::ChMaterialSurface>,class chrono::ChCoordsys<double> const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double,double,double ,double,bool,double,bool)" (__imp_?AddPatch@RigidTerrain@vehicle@chrono@@QEAA?AV?$shared_ptr@VPatch@RigidTerrain@vehicle@chrono@@@std@@V?$shared_ptr@VChMaterialSurface@chrono@@@5@AEBV?$ChCoordsys@N@3@AEBV?$ba sic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@5@NNNN_NN3@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::RigidTerrain::Initialize(void)" (__imp_?Initialize@RigidTerrain@vehicle@chrono@@QEAAXXZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::RigidTerrain::ExportMeshPovray(class std::basic_string<char,struct std::char_traits<char >,class std::allocator<char> > const &,bool)" >(__imp_?ExportMeshPovray@RigidTerrain@vehicle@chrono@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) > referenced in function main [D:\ chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: double __cdecl chrono::vehicle::ChVehicle::GetMass(void)const " (__imp_?GetMass@ChVehicle@vehicle@chrono@@QEBANXZ) ref erenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChVehicle::EnableRealtime(bool)" (__imp_?EnableRealtime@ChVehicle@vehicle@chrono@@QEAAX_ N@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChWheeledVehicle::LogSubsystemTypes(void)" (__imp_?LogSubsystemTypes@ChWheeledVehicle@ve hicle@chrono@@QEAAXXZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl chrono::vehicle::man::MAN_10t::MAN_10t(void)" (__imp_??0MAN_10t@man@vehicle@chrono@@QEAA@XZ) referenced in fun ction main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl chrono::vehicle::man::MAN_10t::~MAN_10t(void)" (__imp_??1MAN_10t@man@vehicle@chrono@@QEAA@XZ) referenced in fu nction main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetContactMethod(enum chrono::ChContactMethod)" (__imp_?SetContactMethod@M AN_10t@man@vehicle@chrono@@QEAAXW4ChContactMethod@4@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetChassisFixed(bool)" (__imp_?SetChassisFixed@MAN_10t@man@vehicle@chrono@ @QEAAX_N@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetChassisCollisionType(enum chrono::vehicle::CollisionType)" (__imp_?SetC hassisCollisionType@MAN_10t@man@vehicle@chrono@@QEAAXW4CollisionType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetDriveline8WD(bool)" (__imp_?SetDriveline8WD@MAN_10t@man@vehicle@chrono@ @QEAAX_N@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetEngineType(enum chrono::vehicle::EngineModelType)" (__imp_?SetEngineTyp e@MAN_10t@man@vehicle@chrono@@QEAAXW4EngineModelType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetTransmissionType(enum chrono::vehicle::TransmissionModelType)" (__imp_? SetTransmissionType@MAN_10t@man@vehicle@chrono@@QEAAXW4TransmissionModelType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetBrakeType(enum chrono::vehicle::BrakeType)" (__imp_?SetBrakeType@MAN_10 t@man@vehicle@chrono@@QEAAXW4BrakeType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetTireType(enum chrono::vehicle::TireModelType)" (__imp_?SetTireType@MAN_ 10t@man@vehicle@chrono@@QEAAXW4TireModelType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetInitPosition(class chrono::ChCoordsys<double> const &)" (__imp_?SetInit Position@MAN_10t@man@vehicle@chrono@@QEAAXAEBV?$ChCoordsys@N@4@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetTireStepSize(double)" (__imp_?SetTireStepSize@MAN_10t@man@vehicle@chron o@@QEAAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class chrono::ChSystem * __cdecl chrono::vehicle::man::MAN_10t::GetSystem(void)const " (__imp_?GetSystem@MAN_10t@man@v ehicle@chrono@@QEBAPEAVChSystem@4@XZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class chrono::vehicle::ChWheeledVehicle & __cdecl chrono::vehicle::man::MAN_10t::GetVehicle(void)const " (__imp_?GetVe hicle@MAN_10t@man@vehicle@chrono@@QEBAAEAVChWheeledVehicle@34@XZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::Initialize(void)" (__imp_?Initialize@MAN_10t@man@vehicle@chrono@@QEAAXXZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetChassisVisualizationType(enum chrono::vehicle::VisualizationType)" (__i mp_?SetChassisVisualizationType@MAN_10t@man@vehicle@chrono@@QEAAXW4VisualizationType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetSuspensionVisualizationType(enum chrono::vehicle::VisualizationType)" ( __imp_?SetSuspensionVisualizationType@MAN_10t@man@vehicle@chrono@@QEAAXW4VisualizationType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetSteeringVisualizationType(enum chrono::vehicle::VisualizationType)" (__ imp_?SetSteeringVisualizationType@MAN_10t@man@vehicle@chrono@@QEAAXW4VisualizationType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetWheelVisualizationType(enum chrono::vehicle::VisualizationType)" (__imp _?SetWheelVisualizationType@MAN_10t@man@vehicle@chrono@@QEAAXW4VisualizationType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::SetTireVisualizationType(enum chrono::vehicle::VisualizationType)" (__imp_ ?SetTireVisualizationType@MAN_10t@man@vehicle@chrono@@QEAAXW4VisualizationType@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::Synchronize(double,struct chrono::vehicle::DriverInputs const &,class chro no::vehicle::ChTerrain const &)" (__imp_?Synchronize@MAN_10t@man@vehicle@chrono@@QEAAXNAEBUDriverInputs@34@AEBVChTerrain@34@@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::man::MAN_10t::Advance(double)" (__imp_?Advance@MAN_10t@man@vehicle@chrono@@QEAAXN@Z) ref erenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct chrono::vehicle::DriverInputs __cdecl chrono::vehicle::ChDriver::GetInputs(void)const " (__imp_?GetInputs@ChDri ver@vehicle@chrono@@QEBA?AUDriverInputs@23@XZ) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChInteractiveDriver::SetThrottleDelta(double)" (__imp_?SetThrottleDelta@ChInteractiveDri ver@vehicle@chrono@@QEAAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChInteractiveDriver::SetSteeringDelta(double)" (__imp_?SetSteeringDelta@ChInteractiveDri ver@vehicle@chrono@@QEAAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChInteractiveDriver::SetBrakingDelta(double)" (__imp_?SetBrakingDelta@ChInteractiveDrive r@vehicle@chrono@@QEAAXN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChVehicleVisualSystem::SetChaseCamera(class chrono::ChVector<double> const &,double,doub le)" (__imp_?SetChaseCamera@ChVehicleVisualSystem@vehicle@chrono@@QEAAXAEBV?$ChVector@N@3@NN@Z) referenced in function main [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual double __cdecl chrono::vehicle::ChVehicleVisualSystem::GetSimulationRTF(void)const " (__imp_?GetSimulationRTF@ ChVehicleVisualSystem@vehicle@chrono@@UEBANXZ) referenced in function "[thunk]:public: virtual double __cdecl chrono::vehicle::ChVehicleVisualSystem::GetSimulationRTF`vtordisp{4294967292,424}' (void)const " ( ?GetSimulationRTF@ChVehicleVisualSystem@vehicle@chrono@@$4PPPPPPPM@BKI@EBANXZ) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl chrono::vehicle::ChVehicleVisualSystemIrrlicht::Initialize(void)" (__imp_?Initialize@ChVehicleVis ualSystemIrrlicht@vehicle@chrono@@UEAAXXZ) referenced in function "[thunk]:public: virtual void __cdecl chrono::vehicle::ChVehicleVisualSystemIrrlicht::Initialize`vtordisp{4294967292,8}' (void)" (?Initialize@ ChVehicleVisualSystemIrrlicht@vehicle@chrono@@$4PPPPPPPM@7EAAXXZ) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl chrono::vehicle::ChVehicleVisualSystemIrrlicht::Render(void)" (__imp_?Render@ChVehicleVisualSyste mIrrlicht@vehicle@chrono@@UEAAXXZ) referenced in function "[thunk]:public: virtual void __cdecl chrono::vehicle::ChVehicleVisualSystemIrrlicht::Render`vtordisp{4294967292,8}' (void)" (?Render@ChVehicleVisualS ystemIrrlicht@vehicle@chrono@@$4PPPPPPPM@7EAAXXZ) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl chrono::vehicle::ChInteractiveDriverIRR::ChInteractiveDriverIRR(class chrono::vehicle::ChVehicleVisualSystemIr rlicht &)" (__imp_??0ChInteractiveDriverIRR@vehicle@chrono@@QEAA@AEAVChVehicleVisualSystemIrrlicht@12@@Z) referenced in function "void __cdecl std::_Construct_in_place<class chrono::vehicle::ChInteractiveDriv erIRR,class chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht &>(class chrono::vehicle::ChInteractiveDriverIRR &,class chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht &)" (??$_Construct_in_place@VCh InteractiveDriverIRR@vehicle@chrono@@AEAVChWheeledVehicleVisualSystemIrrlicht@23@@std@@YAXAEAVChInteractiveDriverIRR@vehicle@chrono@@AEAVChWheeledVehicleVisualSystemIrrlicht@23@@Z) [D:\chrono\chrono\man\build \my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl chrono::vehicle::ChInteractiveDriverIRR::~ChInteractiveDriverIRR(void)" (__imp_??1ChInteractiveDriverI RR@vehicle@chrono@@UEAA@XZ) referenced in function "public: virtual void * __cdecl chrono::vehicle::ChInteractiveDriverIRR::`scalar deleting destructor'(unsigned int)" (??_GChInteractiveDriverIRR@vehicle@chro no@@UEAAPEAXI@Z) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht::ChWheeledVehicleVisualSystemIrrlicht(void)" (__imp_??0C hWheeledVehicleVisualSystemIrrlicht@vehicle@chrono@@QEAA@XZ) referenced in function "void __cdecl std::_Construct_in_place<class chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht>(class chrono::vehicle::C hWheeledVehicleVisualSystemIrrlicht &)" (??$_Construct_in_place@VChWheeledVehicleVisualSystemIrrlicht@vehicle@chrono@@$$V@std@@YAXAEAVChWheeledVehicleVisualSystemIrrlicht@vehicle@chrono@@@Z) [D:\chrono\chrono \man\build\my_demo.vcxproj] my_example.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht::`vbase destructor'(void)" (__imp_??_DChWheeledVehi cleVisualSystemIrrlicht@vehicle@chrono@@QEAAXXZ) referenced in function "public: virtual void * __cdecl chrono::vehicle::ChWheeledVehicleVisualSystemIrrlicht::`scalar deleting destructor'(unsigned int)" (??_G ChWheeledVehicleVisualSystemIrrlicht@vehicle@chrono@@UEAAPEAXI@Z) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl chrono::vehicle::ChInteractiveDriver::Advance(double)" (?Advance@ChInteractiveDriver@vehicle@chrono@@UEAAXN@Z) [D:\chro no\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl chrono::vehicle::ChInteractiveDriverIRR::HasJoystick(void)const " (?HasJoystick@ChInteractiveDriverIRR@vehicle@chrono@@ UEBA_NXZ) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl chrono::vehicle::ChInteractiveDriverIRR::Initialize(void)" (?Initialize@ChInteractiveDriverIRR@vehicle@chrono@@UEAAXXZ) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2001: unresolved external symbol "private: virtual bool __cdecl chrono::vehicle::ChInteractiveDriverIRR::OnEvent(struct irr::SEvent const &)" (?OnEvent@ChInteractiveDriverIRR@vehicle @chrono@@EEAA_NAEBUSEvent@irr@@@Z) [D:\chrono\chrono\man\build\my_demo.vcxproj] my_example.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl chrono::vehicle::ChInteractiveDriver::Synchronize(double)" (?Synchronize@ChInteractiveDriver@vehicle@chrono@@UEAAXN@Z) [D:\chrono\chrono\man\build\my_demo.vcxproj] D:\chrono\chrono\man\build\Debug\my_demo.exe : fatal error LNK1120: 54 unresolved externals [D:\chrono\chrono\man\build\my_demo.vcxproj] -------------------------------------------------------------------------------------------------------------------------------------------------------
