Author Topic: Building AngelCAD  (Read 89 times)

KamShamn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Building AngelCAD
« 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??

Carsten Arnholm

  • Administrator
  • Newbie
  • *****
  • Posts: 15
    • View Profile
Re: Building AngelCAD
« Reply #1 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.

 
« Last Edit: 2019-08-10, 21:35:44 by Carsten Arnholm »