Page 1 of 1

Build OpenSim from source for 64 bit on Windows

Posted: Fri Sep 13, 2013 11:59 pm
by leonard
Good day to all.

I have built Simbody 3.1 and OpenSim 3.1 for 32bit on windows 7.
It's very easy to do just by following the guide.
My question is how to build from source for 64 bit manually.
Is the key point to configure CMake details?
I tried to set up the configuration manager on Visual Studio 2010, changed it from Win32 to x64 and then I tried to build the project "ALL_BUILD".
The result is "3 succeeded, 161 failed".
I don't know how to do and didn't find the guide for 64 bit on windows.

PS. I use Visual Studio 2010 on Windows 7(x64)

Thanks for the infos.
Leonard

Re: Build OpenSim from source for 64 bit on Windows

Posted: Sat Sep 14, 2013 3:21 pm
by sherm
Hi, Leonard. This is done by choice of CMake "generator". If you start a new binary directory, or if you delete the CMake cache and then Configure again, you will be prompted for a generator. Choose Visual Studio 2010 64 bit instead of 32 bit (the default). Then when you bring up the solution in Visual Studio you will see that it is already set to x64 so you only have to build.

Regards,
Sherm

Re: Build OpenSim from source for 64 bit on Windows

Posted: Sun Sep 15, 2013 7:22 pm
by leonard
Hi, Sherm. Thank you so much. It really helps me a lot.

Best regards,
Leonard