Build OpenSim from source for 64 bit on Windows

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yueh-Lin Lee
Posts: 8
Joined: Thu Jun 27, 2013 12:09 am

Build OpenSim from source for 64 bit on Windows

Post by Yueh-Lin Lee » Fri Sep 13, 2013 11:59 pm

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

User avatar
Michael Sherman
Posts: 805
Joined: Fri Apr 01, 2005 6:05 pm

Re: Build OpenSim from source for 64 bit on Windows

Post by Michael Sherman » Sat Sep 14, 2013 3:21 pm

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

User avatar
Yueh-Lin Lee
Posts: 8
Joined: Thu Jun 27, 2013 12:09 am

Re: Build OpenSim from source for 64 bit on Windows

Post by Yueh-Lin Lee » Sun Sep 15, 2013 7:22 pm

Hi, Sherm. Thank you so much. It really helps me a lot.

Best regards,
Leonard

POST REPLY