Getting Started (Linux)
- Make sure you have gcc installed.
- Make sure you have CMake installed.
- Make sure you have SVN installed.
- Make sure you have Boost installed.
- Launch a terminal / console.
- Get the source code, as described in the post that brought you to this page. Here’s an example for the initial version of Bayts:
Bash
svn checkout http://programmicon.googlecode.com/svn/tags/IntroducingBayts-0.01 programmicon
- Create a build directory, and change into it. Continuing with the Bayts example:
Bash
- cd programmicon/Bayts
- mkdir build
- cd build
- Configure the project with CMake:
Bash
- ccmake ../src
- Hit ‘c’, wait a bit, then hit ‘c’ again, followed by ‘g’.
- And build the project:
Bash
- make
- Bayts isn’t too big, but one of its dependencies can take a little while to build, so, in the tradition of tutorials like this: Go get a cup of coffee.
- When the build is done, you’ll have a new application called Bayts, which you can launch with:
Bash
- ./Bayts
Note: CMake is capable of generating projects for KDevelop 3, like this:
Bash
- ccmake ../src -G KDevelop3