Hi there, I wrote and released the Delta Best plugin for rF2 with MSVC 2010 Express: http://isiforums.net/f/showthread.php/19517-Delta-Best-plugin-for-rFactor-2 Now I want to release a 64 bit version, but my MSVC 2010 doesn't have any x64 platform. From what I read around (f.ex. here, http://stackoverflow.com/questions/...orm-option-of-64-bit-in-configuration-manager) I need to wipe everything and reinstall. Since I'm in the process of doing that, I was wondering if I should upgrade to MSVC 2012 Express. I briefly tried MSVC 2013 express but it's such an abomination that I'm not sure I'd like to go there. Please can you tell me what are you using to build your plugins? Which MSVC and SDK versions? In particular, SDK 7.1 is ok with MSVC 2012? Should I go for SDK 8? Thanks,
Hello, If you want to build 64 bits using VC++2010 Express. 1) You need to uninstall .Net Framework 4.5 (if you have it installed) - you can try but normally the step 2 will not succeed to install 2) Install Microsoft SDK 7.1 (here) 3) Apply the SDK 7.1 patch from Microsoft : here 4) Reinstall .NET framework 4.5 (if needed) Now you will be able to create a 64 bits configuration. Don't forget also in 64bit configuration to update your DirectX SDK lib path (from x86 to x64). Another solution is to you Visual Studio 2012 Express, who contains directly 32bit and 64bit compiler. I succeed to build 32 and 64bits with VC++2010 and 2012.
Thanks Gerald. In the end I: * uninstalled the existing MSVC 2010 compiler * re-installed the Windows SDK 7.1 * installed MSVC 2012 Express (super frustration because it wants to install its crap in C: where I don't have space) x64 platform is now available and I managed to convert my project and modify all paths to include the x64 versions of libraries and executables. What a pain though...
I have upgraded Visual Studio Express 2010 to 2012 for building x64 plugin version too. Setting struct member alignment from 4 Bytes to default in compiler options resolved plugin crashes. (4 Byte alignment was set in the InternalsPlugin5 project settings)
No, i'm referring to Properties - Configuration Properties - Code Generation - Struct Member Alignment = 4 Byte (/Zp4)