Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem compiling under Linux #2

Open
throgh opened this issue Dec 28, 2014 · 1 comment
Open

Problem compiling under Linux #2

throgh opened this issue Dec 28, 2014 · 1 comment

Comments

@throgh
Copy link

throgh commented Dec 28, 2014

Hello!

I've got some problems compiling the source code under elementaryOS (Ubuntu Linux 12.04 derivate). There are errors about a missing header-file "config.h" within the projects, SDL is missing even if everything is installed and some definitions like PACKAGE_TARNAME or PACKAGE_NAME are not found. Is it possible to have some advice for these errors? I must also admit to be a simple newbie in compiling under Linux. Thanks!

Best regards,
throgh.

@ryan-sg
Copy link
Contributor

ryan-sg commented Sep 15, 2016

You might need to make sure all the required dev packages are installed for SDL and such:
SDL, SDL_net, SDL_mixer, ffmpeg, libpng and zlib.

I haven't used debian-derived linuxes for quite some time (which ubuntu comes from and thus elementary :D) but iirc the package for sdl might be libsdl-dev, for example.

You will want to install cmake as well, then try something like this from inside the strive-ve-src directory:

$ mkdir build
$ cd build
$ cmake ..
 [output should scroll here detecting compiler, dependencies, etc]
$ make

Those basic steps should give you a strife-ve binary at least. If you get errors after running the "cmake .." command, they will likely be regarding missing dependencies, see which one it is, and make sure you have it plus its -dev package installed.

I hope this helps, long time has passed since you first posted this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants