AngelCAD Forums

User Forums => General Discussion => Topic started by: KamShamn on 2019-08-10, 09:05:31

Title: Building AngelCAD
Post by: KamShamn on 2019-08-10, 09:05:31
Hi, i want to compile my own stratagus version, which some modifications, but im not able to find all the libraries files to do it, any way to get those, or a guide to compile the engine executable for windows??
Title: Re: Building AngelCAD
Post by: Carsten Arnholm on 2019-08-10, 21:21:17
Hi, i want to compile my own stratagus version, which some modifications, but im not able to find all the libraries files to do it, any way to get those, or a guide to compile the engine executable for windows??

Hi, thanks for posting!  I moved the question to its own thread, since the thread you posted to is for user libraries as used by AngelCAD, not for building the software.

What is a "stratagus" version?

AngelCAD contains several executables, so do you want to build everything? If so you must begin with installing Code::blocks and g++ compiler. Then build

wxWidgets - https://github.com/arnholm/cpde_utils/tree/master/doc/wxWidgets
Boost - https://github.com/arnholm/cpde_utils/tree/master/doc/boost
msgpack -https://github.com/arnholm/cpde_utils/tree/master/doc/msgpack

cpde_utils - https://github.com/arnholm/cpde_utils
 
This will give you the basic setup assuming you configure Code::Blocks properly

Next you need AngelScript via
cpde_syslibs - https://github.com/arnholm/cpde_syslibs

You also need spaceio and spacemath from
spacelibs - https://github.com/arnholm/spacelibs

Then you can build applications

xcsg- https://github.com/arnholm/xcsg
xcsg depends on carve
 * carve - https://github.com/arnholm/carve

AngelCAD - https://github.com/arnholm/angelcad

 
For Windows you must use MSVC compiler with Code::Blocks IDE, read this
https://github.com/arnholm/cpde_utils/blob/master/doc/toolchain/CodeBlocks_MSVC_setup.pdf

The Code::Blocks workspaces and project files support both Windows and Linux. On Windows, select the build targets MSVC_Debug/MSVC_Releas. On Linux, select GCC_Debug/GCC_Release

Hope this helps. Have you tried any of the prebuilt binaries on Windows or Linux?

https://github.com/arnholm/angelcad/releases

This will give you everything for Windows or Ubuntu.