Odamex Message Boards

Welcome, Guest. Please login or register.  Did you miss your activation email?
February 08, 2012, 18:21:04
Pages: [1] 2 Print
Author Thread: Compiling Help  (Read 2712 times)
Qwerty_
Posts: 11

January 25, 2007, 05:27:00
Hello I just downloaded Odamex for linux but I am having trouble compiling it.

This is what I have done.

mike@mike-desktop:~/Desktop/Odamex$ make client
g++ -DUNIX -DLINUX -DNOASM -Icommon -g -Wall -O2 -I../client/sdl -Iclient/sdl -I../client/src -Iclient/src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c client/src/../sdl/i_music.cpp -o obj/client/src/../sdl/i_music.o
client/src/../sdl/i_music.cpp:36:23: error: SDL_mixer.h: No such file or directory
client/src/../sdl/i_music.cpp:47: error: expected constructor, destructor, or type conversion before
« Last Edit: January 25, 2007, 07:42:35 by Qwerty_ »
Logged View Profile | WWW
Qwerty_
Posts: 11

January 25, 2007, 05:27:43
Umm I dont know what happened but it looks like my post got chopped off or something?

EDIT: I tried to edit the main post to paste in the rest but it keeps getting chopped off is there a char limit or something? I have attached an image of the error. The command I used was make client
« Last Edit: January 25, 2007, 07:47:46 by Qwerty_ »
Logged View Profile | WWW
ufon
Posts: 3

January 25, 2007, 08:08:25
so have you installed all SDL libraries required ? the easiest way of making sure you've got them all is by installing PRBOOM from the package manager and then compiling odamex - i know very little about this stuff but this is what i have done(been told to do) and it worked
« Last Edit: January 25, 2007, 08:09:59 by ufon »
Logged View Profile
AlexMax
Posts: 64

January 25, 2007, 11:10:49
Umm I dont know what happened but it looks like my post got chopped off or something?

It's a bug in SMF.  I ran into similar problems before.  If you're running into problems, check where the post cut off, because there is probably something there that SMF is choking on.  For me, changing my double spaces to single spaces fixed my problems, but ymmv.

From the looks of your error message, you don't have the development libraries for SDL_mixer installed.  What distro of Linux are you running?
Logged View Profile | WWW
Qwerty_
Posts: 11

January 25, 2007, 18:25:15
I have installed the SDL_mixer libraries which is why im a litle bit confused as to why it is calling for them.

I am using Linux Mint which is Ubuntu Edgy.

Ill go and try installing PRBOOM right now.

EDIT: Ok I downloaded prdoom and i got the same problem I have when I try to install, SO i think its my OS atm Ive been messing with to much stuff lately so I think I will have to reformat it and start from scratch.
« Last Edit: January 25, 2007, 22:01:48 by Qwerty_ »
Logged View Profile | WWW
Necromage
Posts: 8

January 26, 2007, 20:53:00
I am using Fedora Core 6 and I got the same error.
Logged View Profile
Voxel
Posts: 22
Developer

January 27, 2007, 09:05:56
From the looks of your error message, you don't have the development libraries for SDL_mixer installed.

That could explain it. Good idea to check if you actually have the header.

find /usr/include -type f -iname "*mixer.h"
Logged View Profile | WWW
Necromage
Posts: 8

January 27, 2007, 12:49:12
I typed that and I got this: /usr/include/alsa/mixer.h So it appears that I have it.
Logged View Profile
RazTK
Member
Posts: 11

January 27, 2007, 15:09:30
From what I understand, it looks for SDL_mixer.h and not mixer.h.
Logged View Profile
Qwerty_
Posts: 11

January 28, 2007, 00:51:43
Code:
mike@mike-desktop:~$ find /usr/include -type f -iname "*mixer.h"
/usr/include/SDL/SDL_mixer.h

Yep ive got the SDL_mixer as well so this is very odd and could be a problem across the *nix board.
Logged View Profile | WWW
Qwerty_
Posts: 11

January 29, 2007, 02:39:20
Determined not to give up I have reformatted my linux and gone back to Ubuntu 6.06. Installed all the SDL stuff execpt for one file that had a error but when i sdl-confi --version i get  1.2.11 so i presume it must of installed.

The Errors can be found in the attached image. Where the terminal is cut off is more errors that I believe to be related to the Xlib problem
Logged View Profile | WWW
Qwerty_
Posts: 11

February 14, 2007, 06:46:02
I guess that no one is able to solve help me solve my problems.
Logged View Profile | WWW
Barcode
Posts: 7

February 14, 2007, 13:53:14
People just don't seem to visit here often enough, that's all. I'm sure somebody will respond soon enough.
Logged View Profile
Manc
Fist to the face!
Posts: 68
Administrator

February 16, 2007, 15:13:35
To be fair, your problem isn't with Odamex itself, as just about everyone else is able to compile it on their respective platforms just fine, especially linux variants.  Your problem is more at the base of things like ensuring libs are set up right and such.  This is a bit trickier of a proposition as it requires someone who uses ubuntu, visits here enough to notice and would have an answer to your problem.

Have you tried visiting ubuntu boards or sdl boards or any other sources?
Odamex Web Administrator
Logged View Profile | WWW
Qwerty_
Posts: 11

February 23, 2007, 03:22:13
No not yet Ill go and see if I can some kind of assistance from the Ubuntuforums.
Logged View Profile | WWW
Pages: [1] 2 Print
 
Jump to:

Page created in 0.115 seconds with 17 queries.