1

Topic: Packagelist needed to compile with Linux

Hey,

i've a problem to get all packages, which are needed.
I found some of them without problems, but some, just like freetype or sdl, dont seem to work..
After a few hours of searching the right packages i just found python, alsa and x11.. The rest doesnt seem to work.
So could someone please be kind enough to post links or the command to get one of the needed package.

Other information:
I use Ubuntu, im not sure about the version but i think it is 12.04(?), which runs on a virtual machine.
I can compile the vanilla-tw server, but trying to compile the client or other mods i get many errors..

Please forgive me my bad english hmm

2 (edited by ghost 2012-07-20 19:34:06)

Re: Packagelist needed to compile with Linux

You are probably missing libsdl1.2-dev and maybe libfreetype6-dev.

Edit: Haha BeaR, I was faster tongue

3 (edited by BeaR 2012-07-20 19:33:47)

Re: Packagelist needed to compile with Linux

I set up the same virtual machine 2 days ago(vmplayer, virtualbox doesn't work afaik)

sdl: sudo apt-det install libsdl1.2-dev
freetype: sudo apt-get install libfreetype6-dev

edit: lol ghost..

4 (edited by Netroxx 2012-07-20 20:15:12)

Re: Packagelist needed to compile with Linux

I use it on virtualbox and it works to compile the server, as written. I try it out and report whether it was the solution.

//report:

The terminal says:

libsdl1.2-dev is already the newest version.
libfreetype6-dev is already the newest version.
libfreetype6-dev set to manually installed.


The error after compiling teeworlds:
src/engine/client/(sound/graphics).cpp: fatal error: SDL.h: No such file or directory

Any ideas?

5 (edited by theanomaly 2012-07-20 20:29:51)

Re: Packagelist needed to compile with Linux

http://www.libsdl.org/download-1.2.php

its how I did it. look in /usr/shar/include/ and you should find a SDL folder with a bunch of header files if you have it installed right. If it is there and you still get the error, delete the bam config file and it will be remade and it will probably find SDL. I had the same issue.

--Edit1: Sorry, I put the wrong link. I fixed it.
--Edit2: Also, if a mod could move this thread to Support, where it should properly be.

6 (edited by Netroxx 2012-07-20 20:27:00)

Re: Packagelist needed to compile with Linux

I found the folder, but its at another dictionary.
Its at /usr/include/SDL/ , does that matter?

7

Re: Packagelist needed to compile with Linux

Yea, I went a folder too deep. It shouldn't matter. Just make sure that bam redoes the config file.

8 (edited by Netroxx 2012-07-20 20:27:41)

Re: Packagelist needed to compile with Linux

Where is the bam-config located?
Is it this config.lua?

9 (edited by theanomaly 2012-07-20 20:28:57)

Re: Packagelist needed to compile with Linux

It will be in the root of your teeworlds directory. config.lua is the file
Delete it and try to compile again.

10

Re: Packagelist needed to compile with Linux

Ok, vanilla-tw compile is possible, but XXLDDRace doesnt work.. Probably because some header-files are missing such as time.h, is this possible?

11 (edited by theanomaly 2012-07-20 21:56:45)

Re: Packagelist needed to compile with Linux

time.h is a header file that's a part of the XXLDDRACE project. It should be in the source. What errors are you getting?

--Edit1: time.h isn't a file that's in XXLDDRACE. I remember seeing it in my include folder. I don't know where to find it on the internet. Do some searches. You can probably find it and just put it in your folder yourself.

12

Re: Packagelist needed to compile with Linux

I found it already.. And I was wrong, there were no errors, just warnings.

Problems solved thanks to all smile