Josh, Just to confirm, this is happening for you when running the buildOpenCRG.bat script from under contrib/build-scripts/opencrg/, correct? I cannot reproduce this issue and have not heard anyone else having this problem. I don’t even need to run this script from a VS developer console. Have you tried running this from a cmd or powershell console? Do you get the same issues? This may be due to a particular installation of your VS. By the way, what version of VS do you use?
I don’t see a problem adding a notice about this possible issue in the installation guide, but I’d like first to know it’s not just some peculiarity of your setup. Thanks, Radu From: [email protected] <[email protected]> On Behalf Of J D Sent: Tuesday, October 31, 2023 1:24 AM To: ProjectChrono <[email protected]> Subject: [chrono] OpenCRG build target x64 & Vehicle Module Hello again, This might be a small thing, but it contributed to a lot of problem solving why my Vehicle module wouldn't compile. So it might help another newbie. I didn't find anything about this in the installation documentation, and it may not be immediately obvious, but the default target for VS developer console might not always align with the target chosen for building Chrono. For example, I'm running an x64 build, and it took a long time digging through various LINK errors to realise that before I used the build scripts, I needed to run "vcvarsall.bat x64" in the developer console (usually in C:\Program Files\Microsoft Visual Studio\<version>\<edition>\VC\Auxiliary\Build) After re-building the scripts with the right target set in console, the ChronoEngine_vehicle.dll and dependent compiles were successful. If this is helpful for others, it might be worth adding to the documentation here: https://api.projectchrono.org/module_vehicle_installation.html Kind regards, Josh -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/df47c5f0-c95c-4865-8a72-edc9577a8f33n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/df47c5f0-c95c-4865-8a72-edc9577a8f33n%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/PH0PR06MB82376DE81FAD59C894A33E84A7A0A%40PH0PR06MB8237.namprd06.prod.outlook.com.
