FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-28-2011, 06:51 PM
Jesse Palser
 
Default SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???

SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???



Hi,



Trying to build a demo of a game my team is working on now.

Game is: "TetriCrisis 4 100% A.I.".



Game uses the following:

- SDL 1.2

- SDL_Image

- SDL_Mixer

- SDL_TTF

- OpenGL(R)



Game's source code builds and runs on Windows(R) XP/Vista/7,

but on Ubuntu 11.10 it won't build and displays hundreds of
errors in Terminal.

( errors are related to both SDL and OpenGL(R) )



I've installed via Package Manager SDL 1.2, SDL_Image, SDL_Mixer,
SDL_TTF(plus dev libs), G++.

The method to build the game demo on Linux is via a MakeFile.

(the above build configuration worked on older Ubuntu 11.04, but not
new 11.10)



Was hoping someone could help me build the game demo on Ubuntu
11.10?



Official Direct URL To The Game ( Windows(R)/Linux ):

http://16bitsoft.com/files/T-C-4/src/TetriCrisis4-src_alpha03a.zip



Official Amazing Actual Developer Screenshot Of The Game:

http://16bitsoft.com/files/T-C-4/images/T-C-4_Dev-Shot_09-30-2011a.png



HERE IS THE LINUX MAKEFILE(also included in above download):

--------------------------------------------------------------------------------------------------------------------------

# T-Crisis 4 100% A.I.[TM] - MAKEFILE by JeZ+Lee & mattmatteh...

# (C)opyright 2011 By www.16BitSoft.com



TARGET = tc4



VERSION = 4.0



DEL_FILE = rm -f



CC***** = g++

CFLAGS = -pipe -Wall -g #-"ggdb"

SDL_CFLAGS = $(shell sdl-config --cflags)

SDL_LIBS = $(shell sdl-config --libs)



OPENGL_LIBS*** = -lGL

SDL_TTF_LIBS*** = -lSDL_ttf

SDL_IMAGE_LIBS*** = -lSDL_image

SDL_MIXER_LIBS* = -lSDL_mixer



OBJECTS = src/main.o

********* src/audio.o

********* src/data.o

********* src/initialize.o

********* src/input.o

********* src/interface.o

********* src/logic.o

********* src/screens.o

********* src/visuals.o



SOURCES = src/main.cpp

********* src/audio.cpp

********* src/data.cpp

********* src/initialize.cpp

********* src/input.cpp

********* src/interface.cpp

********* src/logic.cpp

********* src/screens.cpp

********* src/visuals.cpp



HEADERS = src/audio.h

********* src/data.h

********* src/initialize.h

********* src/input.h

********* src/interface.h

********* src/logic.h

********* src/screens.h

********* src/visuals.h



$(TARGET): $(OBJECTS)

*** $(CC) $(SDL_LIBS) $(OPENGL_LIBS) $(SDL_TTF_LIBS)
$(SDL_IMAGE_LIBS) $(SDL_MIXER_LIBS) $(OBJECTS) -o $@



.cpp.o:

*** $(CC) $(CFLAGS) $(SDL_CFLAGS) -c $< -o $@



clean:

*** rm $(OBJECTS) $(TARGET)

--------------------------------------------------------------------------------------------------------------------------



My team creates cross-platform open-source video games and we DO
want to support Linux.

Any help would be appreciated!

Thanks!



Jesse "JeZ+Lee"

16BitSoft

Video Game Design Studio

www.16BitSoft.com



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-28-2011, 07:01 PM
David Shochat
 
Default SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???

On Fri, Oct 28, 2011 at 2:51 PM, Jesse Palser <SLNTHERO@aol.com> wrote:
> SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???
>
> Hi,
>
> Trying to build a demo of a game my team is working on now.
> Game is: "TetriCrisis 4 100% A.I.".
>
> Game uses the following:
> - SDL 1.2
> - SDL_Image
> - SDL_Mixer
> - SDL_TTF
> - OpenGL(R)
>
> Game's source code builds and runs on Windows(R) XP/Vista/7,
> but on Ubuntu 11.10 it won't build and displays hundreds of errors in
> Terminal.
> ( errors are related to both SDL and OpenGL(R) )
>
> I've installed via Package Manager SDL 1.2, SDL_Image, SDL_Mixer,
> SDL_TTF(plus dev libs), G++.
> The method to build the game demo on Linux is via a MakeFile.
> (the above build configuration worked on older Ubuntu 11.04, but not new
> 11.10)
>
> Was hoping someone could help me build the game demo on Ubuntu 11.10?
>
[snip]
Normally, you should re-run the configure script, which generates a
new Makefile that is correct for the new environment (and should give
you useful error messages if something is missing).
-- David

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-28-2011, 07:07 PM
Jonathan Hudson
 
Default SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???

On Fri, 28 Oct 2011 14:51:12 -0400, Jesse Palser wrote:

>*SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???*
>
>Hi,
>
>Trying to build a demo of a game my team is working on now.
>Game is: "_TetriCrisis 4 100% A.I._".
>
>
>$(TARGET): $(OBJECTS)
> $(CC) $(SDL_LIBS) $(OPENGL_LIBS) $(SDL_TTF_LIBS) $(SDL_IMAGE_LIBS)
>$(SDL_MIXER_LIBS) $(OBJECTS) -o $@

Move the source objects and output before the libs, then it will build.
(excuse the terminal wrap).


$(TARGET): $(OBJECTS)
$(CC) $(OBJECTS) -o $@ $(SDL_LIBS) $(OPENGL_LIBS)
$(SDL_TTF_LIBS) $(SDL_IMAGE_LIBS) $(SDL_MIXER_LIBS)


-jh



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org