aymanh wrote: ↑Mon Aug 27, 2018 2:05 pm
Hi Vishal,
Did you build OpenSim from sources or you're trying to use the prebuilt libraries/distribution?
In the former case, I'd suggest you build RelWithDebInfo and step into the method to see the specific line that causes the problem. In the latter case there's a potential that the VisualStudio version and/or project settings you have are not consistent with those used to build the libraries.
Can you point out your scenario, which OpenSim version/installer you're using or else how you're obtaining the libraries, and how you're building the executable?
Best regards,
-Ayman
Hi Ayman
Thank for your quick reply.
I did not build OpenSim from sources, rather I am using the pre-built libraries from OpenSim Windows 64 bit version from
https://simtk.org/frs/download_confirm. ... roup_id=91.
I am using Visual Studio 2017 Community Version on Windows 10 64 bit OS. Here is the snapshot of error that I see using Visual Studio:
When I try running using command prompt, I see the following:

I am not sure if that is supposed to be the output from printDetailedInfo method?
The program that I am trying to run is from the example provided in C:\OpenSim 3.3\sdk\APIExamples\ControllerExample
I did run CMake and followed instructions from the tutorial
https://simtk-confluence.stanford.edu:8 ... r+Part+Two. As you can see, in the website this particular line was not mentioned but in the directory where OutputReference code was provided, line 270 mentions about this statement. Since I am new and learning how to use the OpenSim API, I tried to include and check how the result form printDetaliedInfo() would look like. This created the exception error. I have been working out the previous examples from Performing the simulation, creating analysis and so on without any trouble.
Thanks,
Vishal