Topic: Compile under Linux
When i compile i have error.
“SDL.h” no such file or directory found' when compiling
You are not logged in. Please login or register.
Teeworlds Forum → Support → Compile under Linux
When i compile i have error.
“SDL.h” no such file or directory found' when compiling
Which Teeworlds version are you trying to compile?
Which Teeworlds version are you trying to compile?
0.6.3
Try executing `bam -c config` and trying again.
I had to install libsdl1.2-dev.
I had to install libsdl1.2-dev.
I already install it.
Try executing `bam -c config` and trying again.
I try "bam -c config" but command not found,
I try "./bam -c config" but i have this error : "bam: error opening 'bam.lua'
wrong section ? (Support)
Agreed, moved topic. // Dune
I change OS to ubuntu 15 and now i have this problem:
/bam client_release
[1/1] #1 link teeworlds
objs/game/client/components/menus.o: In function `CMenus::DoEditBox(void*, CUIRect const*, char*, unsigned int, float, float*, bool, int)':
menus.cpp:(.text+0x123f): undefined reference to `CLineInput::Manipulate(IInput::CEvent, char*, int, int, int*, int*, int*)'
objs/game/editor/editor.o: In function `CEditor::DoEditBox(void*, CUIRect const*, char*, unsigned int, float, float*, bool, int)':
editor.cpp:(.text+0x2237): undefined reference to `CLineInput::Manipulate(IInput::CEvent, char*, int, int, int*, int*, int*)'
objs/game/editor/popups.o: In function `CEditor::PopupGroup(CEditor*, CUIRect)':
popups.cpp:(.text+0x93f): undefined reference to `CLayerSwitch::CLayerSwitch(int, int)'
popups.cpp:(.text+0x951): undefined reference to `CEditorMap::MakeSwitchLayer(CLayer*)'
popups.cpp:(.text+0xb63): undefined reference to `CLayerTele::CLayerTele(int, int)'
popups.cpp:(.text+0xb75): undefined reference to `CEditorMap::MakeTeleLayer(CLayer*)'
popups.cpp:(.text+0x11f4): undefined reference to `CLayerSpeedup::CLayerSpeedup(int, int)'
popups.cpp:(.text+0x1206): undefined reference to `CEditorMap::MakeSpeedupLayer(CLayer*)'
popups.cpp:(.text+0x130b): undefined reference to `CLayerFront::CLayerFront(int, int)'
popups.cpp:(.text+0x131d): undefined reference to `CEditorMap::MakeFrontLayer(CLayer*)'
collect2: error: ld returned 1 exit status
bam: 'teeworlds' error 256
bam: error: a build step failed
bam -c config:
AUTO compiler gcc
AUTO stackprotector yes
AUTO minmacosxsdk no
AUTO macosxppc no
AUTO zlib (in system path)
AUTO sdl using sdl-config
AUTO freetype using freetype-config
TeeWrorlds version - 0.6.3
Try `bam -c all`.
oh, ty now done!
Teeworlds Forum → Support → Compile under Linux
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.