Menu

getting_started

Marco Staginski

How to get the source code

The source code is hosted in Git and can be checked out the following way:
git clone git://git.code.sf.net/p/captainsengine/git captainsengine
Do not use the Subversion repository. It is now deprecated.

How to build

What you need

  • CMake
  • Java runtime
  • C++ compiler suitable for your target (Visual Studio, g++, qcc)
  • OpenAL SDK
  • OpenGL headers and libs
    For Linux builds
  • X11 XFree86 Video mode extension development files
  • libavcodec dev
  • libavformat dev
  • libswscale dev

Configuring the build

Make a directory where you intend to have your build results, e.g. build_engine parallel to the checked out source code. Go into that directory.

Building for Linux on Linux:
You can simply use the default options, so
cmake ../captainsengine
configures your build with the most common options

Compiling

Linux:
make Adventure builds the Adventure executable

Run test adventure

Linux:
Copy ../captainsengine/Adventure/AppBuilder/AppBuilder/ffmpeg/bin/engine.ini to your build directory
Execute Adventure/AppBuilder/Appbuilder/Adventure ../captainsengine/Adventure/AppBuilder/test/data/game.dat


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.