nonsinn | Mar 17, 2015 12:45 am |
---|---|
Subject: Quick How to build maxR after the last 2big changes (MSVS2013) Meanwhile — a bunch of month gone since we moved to git (and also dismissed support for some aged compilers…) — I'll try to give you a quick how to Before we start, we need:
getting startedsourcetreeSourceTree is a nice free client for git stuff, unfortunately you have to 'register' — haven't got any spam so far.CMakeCMake is a cross-platform software, with which you can add all needed paths for being able to compile afterwards.Personally I just installed it… but you can also use the portable version… should do the trick as well SDL'cause I'm sometimes bit lazy…[22:34:02] <@Eiko> normally it would not be necessary to build SDL yourself [22:34:30] <@Eiko> but SDL has a memory bug, and had to be patched. Otherwise maxr will be unstable [22:35:34] <@Eiko> but the easiest way would be, you just download the developer package of SDL. And I send you the patched SDL.dll […] [22:39:34] <nonsinn> would you be that nice to me and hand me over a good link to download the sdl… it seems sdl is a bad search-word… […] [22:40:58] <@Eiko> this one: [22:40:59] <@Eiko> http://www.libsdl.org/...0.3-VC.zip [22:41:31] <@Eiko> and: [22:41:32] <@Eiko> http://www.libsdl.org/...0.0-VC.zip [22:41:45] <@Eiko> http://www.libsdl.org/...0.0-VC.zip […] [22:45:42] <@Eiko> make sure to copy the SDL.dll from my mail to the maxr folder, instead of the one from the downloaded package The sdl.dll can (to avoid using an aged one replaced in sdl2\SDL2-2.0.3\lib\x86 Next stepAfter you have setup sourcetree, downloaded and extracted the sdl files, we are going to start CMake (cmake-gui.exe).Add the path to the source code, and a path where you wanna save the compiled .exe later. Afterwards, add the paths to the sdl(2) like the one you can see on the attached picture. Hit the Generate button and you should get a 'maxr.vcxproj' file. If you are now starting the created 'maxr.vcxproj' with MSVS2013 you should be able to compile the executable Add this exe into a local copy of /maxr/data and, at least I had to add "some" (just c+p all from the rood dir) dlls into this dir, which I have taken from Eiko's nightly patch-build, you should be able to run maxr.exe. Happy bug-hunting - cu all in IRC special thanks to beko and alzi for the support via IRC while I tried to setup msvs2013 |
|
Attachments: cmake_for_maxr.png (Filesize: 49.40 KB) SDL2_patch.zip (Filesize: 268.25 KB) |
Jarod42 | Mar 17, 2015 10:34 am |
---|---|
Subject: Re: Quick How to build maxR after the last 2big changes (MSVS2013) As other git tools, I suggest TortoiseGit (https://code.google.com/p/tortoisegit/) on Windows (for those familiar with tortoise family cvs). |
nonsinn | Apr 07, 2015 12:25 pm |
---|---|
Subject: Re: Quick How to build maxR after the last 2big changes (MSVS2013) (moved to public ) |