Step 3) Install Code::Blocks following instructions listed in nightly build forum. Microsoft Windows SDK v7.1 (earlier versions might not work, later version will probably work but directories will change) Microsoft Visual C++ 2010 express (or better) Code::Bocks (at least as of the nightly build worked) The following instructions will allow you to compile 64-bit code using Microsoft's VC 2010 compiler (with the Windows SDK). A new template would be cool but that’s something for another time.Ĭompiling amd64 code using Microsoft Visual C++ 2010 Now in the generated code add the following line: Step6) Create a new project (console project) and select our new ‘Windows SDK 圆4’ compiler as the compiler to use. C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib\圆4 C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\LIB\圆4 C:\Program Files\Microsoft SDKs\Windows\v6.0\Include C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\INCLUDE Step5) Now go to the ‘Search Directories’ tab and remove all items under the ‘Compiler’, ‘Linker’ and ‘Resource compiler’ tabs. C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin\圆4 C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\圆4 Remove the directory that goes to your Visual C++ 2005 install dir NOT the debug one and add the following directory’s: Then click the ‘Additional Paths’ tab inside the ‘Toolchain executables’ tab. Step4) Now with ‘Windows SDK 圆4’ as the selected compiler go to the ‘Toolchain executables’ tab and EMPTY the directory text box. Now choose a name I used ‘Windows SDK 圆4’ but you can name it whatever you like. Step3) Start Code::Blocks and go to ‘Settings->Compiler and Debugger settings’, then select ‘Microsoft Visual C++ 2005’ from the dropdown box and click the copy button. tip If you deselect the documentation parts you reduce the download size to under 100mb.net stuff because we won’t be needing it. Step2) Install the Windows SDK, you can deselect all the. Step1) Make sure you have a nightly build because I don’t think that RC2 supports all the needed functionality to setup the compiler. How-to compile amd64 code with Code::Blocks
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |