Many people, especially developers who write free plugins, or hobbyists, use only the free Visual C++ 2010 Express for their Windows builds. However, that version of C++ does not support 64 Bit builds.
There is an easy solution for this, and many people already know it. But since the questions comes up from time to time, here is how to get Visual C++ 2010 Express to build for 64 Bit, too.
How it works
Just follow the steps below:
- First, you need to download and install the Windows SDK for your Windows version. Here is the downlaod for the Wuindows 7.1 SDK:
http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx - Now start Visual c++ Express and change your project configuration:
- Open the properties of your project
- From the configuration drop-down on top of the properties dialog, choose “All Configurations”
- In the top-right of the dialog, click the “Configuration Manager…” button
- In the configuration manager’s list, select your project
- In the Platform column drop-down, select “<New>” to open the “New project platform” dialog
- Select “x64” and close the dialog.
- In the Platform column drop-down, select “x64”. Then close the configuration manager.
More information on this step can be found here:
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx - From the tree on the left side of the properties dialog, choose “Configuration Properties > General”
- On the right side, change “Platform Toolset” from “v100” to “Windows7.1SDK”
Issue with updating to Service Pack 1
There is a known issue where the x64 compiler is removed from Visual C++ Express when updating it to SP 1. Microsoft has released an update to fix the problem:
http://support.microsoft.com/kb/2519277/en-us
may be this comment is off topic but i wanted to ask a question for a problem :S
I’m using a computing library in compiling a plugin for cinema4d
this library doesn’t support a path with space (like C:my path)
so what i did is copied the cinema4d folder to another folder without pathes so the plugin work
now I wanted to use the plugin with the long path (which is the usual path for all cinema4d users)
i tried to run cinema 4d 64.exe with its short path from RUN in windows
but I didn’t see my plugin!!!(it is command plugin) …when i run cinema4d normally i find my plugin but it crashes
any solution?
thanks in advance
cheers,
Mohamed Sakr
Hi. Yes, pretty offtopic 😉
If the library does not support paths with spaces, then it sounds like a strange library. You should rewrite the critical parts to use C4D filenames and strings as much as possible.
The plugin type (CommandData) has no influence in this case.
You should debug your plugin and see where it fails.
thanks a lot 🙂
and yea I know it is not about CommandData (was just giving you the full image of the problem)
cheers,
MohamedSakr