My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  

Phase-Deploy, Featured
Updated May 30, 2011 by 5253...@gmail.com

Windows

The windows executable was created with help of MSVC++ 2008, thus the Microsoft Visual C++ 2008 Redistributable Package may be needed.

Linux

Currently violetland is available for many operation systems as package. Check the Third Party Packages page.

An universal way to play violetland on linux is to build the program with help of the cmake build system. You probably can install it from the main repository of your linux distribution. Your system must have some libraries and gcc:

Libraries

  • SDL
  • SDL_image
  • SDL_ttf
  • SDL_mixer
  • boost
  • If you use package-based distribution, you should install also the developement packages (like SDL-devel or libboost-dev).

Besides, some additional steps are required.

First, unzip the downloaded package:

unzip violetland-v<your version number>-src.zip

cd violetland-v<your version number>/

Second, make the program using cmake:

mkdir build

cd build

cmake ..

sudo make install

Third, run the program:

violetland

The readme file contains more instructions.

Mac OS X

Just download one of the Mac builds, unzip, they should run out of the box on Mac OS X 10.5 and later.

Comment by D.I.M.A....@gmail.com, May 19, 2010

With all brainf*cking, version 0.3.0 not compiled in Ubuntu. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: OPENGL_INCLUDE_DIR (ADVANCED)

used as include directory in directory /home/tomilov/violetland-v0.3.0
SDLIMAGE_INCLUDE_DIR
used as include directory in directory /home/tomilov/violetland-v0.3.0
SDLIMAGE_LIBRARY
linked by target "violetland" in directory /home/tomilov/violetland-v0.3.0
SDLMIXER_INCLUDE_DIR
used as include directory in directory /home/tomilov/violetland-v0.3.0
SDLMIXER_LIBRARY
linked by target "violetland" in directory /home/tomilov/violetland-v0.3.0
SDLTTF_INCLUDE_DIR
used as include directory in directory /home/tomilov/violetland-v0.3.0
SDLTTF_LIBRARY
linked by target "violetland" in directory /home/tomilov/violetland-v0.3.0
SDL_INCLUDE_DIR
used as include directory in directory /home/tomilov/violetland-v0.3.0

-- Configuring incomplete, errors occurred!

Comment by PAgor...@gmail.com, Jun 13, 2010

@ D.I.M.A.7.3.1991 This is because you need to install the development files.

If you run Debian (or Ubuntu) run this: sudo apt-get install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev

Comment by frosk...@gmail.com, May 30, 2011

Similar problem:

CMake Error at /usr/share/cmake-2.8/Modules/FindBoost?.cmake:910 (message):

Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers.

Call Stack (most recent call first):

CMakeLists.txt:10 (find_package)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED)

used as include directory in directory /home/user/Software/USoftware/Games/violetland/violetland-v0.4.0

-- Configuring incomplete, errors occurred!

Libs installed, maybe this is not complete list? I am using mint 10 (Debian).

Comment by frosk...@gmail.com, May 30, 2011

By using some brains i have extend this list by libboost1.42-dev and libboost-system1.42-dev and libboost-filesystem1.42-dev. Now it works.

Comment by project member sakuramboo@gmail.com, Oct 29, 2011

I have been trying to get this to compile using Eclipse and it keeps on erroring at the end because of the boost libraries. I installed everything Ubuntu has to offer of boost, I added them in the -l options and even added a -I /usr/include/boost and it's telling me it can't find boost.

If I remove the -I option, I think it finds it, but errors out against because of undefined references.

What am I doing wrong here?

Comment by project member 5253...@gmail.com, Oct 30, 2011

Check for C++ compiler: -DBOOST_FILESYSTEM_VERSION=2 for C++ linker: -lboost_system -lboost_filesystem


Sign in to add a comment
Powered by Google Project Hosting