SDL 1.2+OpenGL(R) - Ubuntu 11.10 - App Won't Build???
Jesse Palser
SLNTHERO at AOL.com
Fri Oct 28 18:51:12 UTC 2011
*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111028/1bf2274e/attachment.html>
More information about the ubuntu-users
mailing list