Hi Guys,
I am currently in the process of compiling the OpenSim 4.4.1 C++ source code on Windows, utilizing Visual Studio 2019 and CMAKE.
I have encountered a few errors during the final build, as attached in the screenshot.
I would greatly appreciate any guidance on addressing these issues!!
Thanking You,
Milan Chandarana
Errors in building Opensim core 4.4.1 from source (C++) code
- Milan Chandarana
- Posts: 6
- Joined: Wed Aug 05, 2020 1:17 am
Errors in building Opensim core 4.4.1 from source (C++) code
- Attachments
-
- Error_VS-2019.JPG (352.26 KiB) Viewed 1120 times
Tags:
- Nicholas Bianco
- Posts: 1044
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Errors in building Opensim core 4.4.1 from source (C++) code
Hi Milan,
Is this in a fresh build environment? If you've built the Java bindings from another OpenSim commit in the same build folder, I recommend deleting the "Bindings" folder under opensim-core-build and trying again.
-Nick
Is this in a fresh build environment? If you've built the Java bindings from another OpenSim commit in the same build folder, I recommend deleting the "Bindings" folder under opensim-core-build and trying again.
-Nick
- Milan Chandarana
- Posts: 6
- Joined: Wed Aug 05, 2020 1:17 am
Re: Errors in building Opensim core 4.4.1 from source (C++) code
Hi Nick,
Thank you very much for your prompt response.
As per your suggestion I was able to built solution for all run, by removing Binding folder and previous versions.
Although, encountered following errors (attached) while building RunTestParallel.
What could be the reason?
Best regards,
Milan Chandarana
Thank you very much for your prompt response.
As per your suggestion I was able to built solution for all run, by removing Binding folder and previous versions.
Although, encountered following errors (attached) while building RunTestParallel.
What could be the reason?
Best regards,
Milan Chandarana
- Attachments
-
- Error1_VS-2019.JPG (150.71 KiB) Viewed 990 times
- Nicholas Bianco
- Posts: 1044
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Errors in building Opensim core 4.4.1 from source (C++) code
Hi Milan,
Did you remove the Bindings folder under the build directory or the source directory?
-Nick
Did you remove the Bindings folder under the build directory or the source directory?
-Nick
- Milan Chandarana
- Posts: 6
- Joined: Wed Aug 05, 2020 1:17 am
Re: Errors in building Opensim core 4.4.1 from source (C++) code
Hi Nick,
I removed Binding folder just from Built-directory (opensim-core-built).
Best regards,
Milan
I removed Binding folder just from Built-directory (opensim-core-built).
Best regards,
Milan
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Errors in building Opensim core 4.4.1 from source (C++) code
Hi Milan,
If you plan to use the Java bindings then you need to rerun CMake so that these bindings are recreated and then build the whole project, at that point the java test cases should build and pass. If however you have no intention to use the bindings then you should turn these off at CMake and configure, and at that point the solution will not try to build or test the bindings and you should have a clean test result.
Hope this helps,
-Ayman
If you plan to use the Java bindings then you need to rerun CMake so that these bindings are recreated and then build the whole project, at that point the java test cases should build and pass. If however you have no intention to use the bindings then you should turn these off at CMake and configure, and at that point the solution will not try to build or test the bindings and you should have a clean test result.
Hope this helps,
-Ayman