Amateur clone of Minecraft. I want to do it properly.
Please excuse me for the current state of affairs, but I am the only one actively working on this project right now, and while the feedback is very nice, I still have to code it myself.
Right now Minicraft runs on SFML Window creation and Input; I don't use prebuilt SFML packages; instead, they are compiled from source together with engine code; I found this approach safer and easier to ensure smooth builds on *ix systems.
I'm putting these at the top; please, don't get this wrong again
- Make absolutely sure you got
develop-2.0
branch of Engine - SOIL image library isn't used; it has been replaced alltogether by FreeImage. If you happen to stumble on
ImageData.cpp
, just delete it. - The same goes for rapidxml parser (replaced by PugiXML) and
Scene.cpp
You can now build Minicraft on both linux and windows using provided SConstruct file (requires Python and SCons). It will use default compiler on linux, and is set up for MinGW on Windows. It's pretty easy to change it for MSVS toolchain generation and I will add this in the future.
Right now it depends on Lua 5.1
, FreeImage
, glm
and GLEW
.
Simply cd
to the project folder and type:
$ scons
You can try using that, but only SCons is "oficially" supported by me right now.
My original development platform is hardly obtainable for everyone, because I am using Intel C++ Compiler; I'm however constantly checking the build on VS compiler for compatibility.
- You will need VS 2012 (it can be without CTP updates, stock release should work fine).
- Get the source of Minicraft from master branch and Engine from develop-2.0 (That's very important)
- Build the Engine first; One thing you might wanna set up is the Boost path; if you know how to configure VS for that, it shouldn't be a problem. If you are building for the first time, I suggest building
Debug
target first - After that, open up the Minicraft
.sln
, set up the path for library directories to point to your newly made Engine.lib
(or just make a folder inside and copy.lib
(and presumably.pdb
) there) - If it builds and links, hit Run. Feel free to report any crashes from this point as Issues here.
Thanks to @sehe for first build attempt.
- Integrating Engine as subrepo (I haven't done it yet for various reasons) to ease the cloning