Tutorial: Compiling the sources

From DaevsGUI

Jump to: navigation, search

WARNING: This page is outdated

[TODO: add documentation for dynamic libraries]

Project files

Grab the latest source release and uncompress it using 7-Zip. Inside the zip (read about the file structure find a project file for your IDE. After opening the project file in your IDE, it depends on the IDE what to do next. I will discuss a few here:

CodeBlocks

Once opened, select 'Release' from the drop-down list in the top bar. Press Ctrl + F11 to make a full rebuild. In the directory of the project file, a 'bin/Release/' directory will appear. Inside you'll find the static library (named libDaevsGUI.a or DaevsGUI.lib).

Place the static library into one of the search directories for CodeBlocks, to make sure it can find it.

Manually

Grab the latest source release and uncompress it using 7-Zip. Inside the zip (read about the file structure you need to compile all source files (with the .cpp extension) at once. The source files will include header files from the 'include' directory, be sure this is within the search paths.

Compile the files as a static library, no linking to other libraries is required.


[TODO: add several examples of makefiles for a variety of compilers]


If you used an IDE or any other method that is not yet provided, I would be happy to include it with future source releases.

Views
Personal tools
Other