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
--
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
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/df47c5f0-c95c-4865-8a72-edc9577a8f33n%40googlegroups.com.
JD,
Sorry for the confusion. Ignore my previous message about running this from a cmd or powershell console.
I was thinking of some of the other scripts for installing various dependencies. OpenCRG is a bit special in that it is not distributed with any sort of configuration script (such as CMake) and so, I had to directly invoke the cl compiler.
As the instructions in the script indicate, you have to run this from a VS developer console. Since we build everything 64-bit, make sure you start the “x64 Native Tools Command Prompt for …” console. That will invoke vcvarsall.bat to initialize the environment for ‘x64’.
I suspect you somehow end up running the “x86 Native …” which initializes the ‘x86’ environment.
--Radu
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/931416ac-ce1f-4424-8115-2903349b2f76n%40googlegroups.com.