Technical support > Linux

compiling 2.5 from git source

(1/4) > >>

wizardelo:
Hello,

i used to compile source with no problems, but today i got the latest git source and i cant get it working
it gets stuck on a radiant module

--- Code: ---===> CC [uforadiant] src/libs/picomodel/pm_md2.c
===> CXX [game] src/game/g_actor.cpp
===> CXX [game] src/game/g_ai.cpp
===> CXX [game] src/game/g_ai_lua.cpp
===> CXX [game] src/game/g_camera.cpp
In file included from src/libs/picomodel/pm_md2.c:44:0:
src/tools/radiant/libs/../../../shared/byte.h:30:24: fatal error: SDL_endian.h: No such file or directory
compilation terminated.
make: *** [debug-linux-x86_64/uforadiant/libs/picomodel/pm_md2.c.o] Error 1
make: *** Waiting for unfinished jobs....

--- End code ---
EDIT: seems uforadiant gave me error when compiling also:


--- Code: ---===> CC [uforadiant] src/libs/picomodel/pm_md2.c
In file included from src/libs/picomodel/pm_md2.c:44:0:
src/tools/radiant/libs/../../../shared/byte.h:30:24: fatal error: SDL_endian.h: No such file or directory
compilation terminated.
make: *** [debug-linux-x86_64/uforadiant/libs/picomodel/pm_md2.c.o] Error 1

--- End code ---


EDIT2: seems ./configure is missing something also


--- Code: ---~/ufoai $ ./configure
Debug build
Compile for linux
Compile for x86_64
Found cc cc
Found cxx c++
Using bindir /usr/local/bin
Using datadir /usr/local/games/ufoai
Using libdir /usr/local/lib
Using prefix /usr/local
Build modules:
Build cgame-campaign
Build cgame-multiplayer
Build cgame-skirmish
Build cgame-staticcampaign
Build game
Build memory
Build testall
Build ufo
Build ufo2map
Build ufoded
Build ufomodel
Build uforadiant
Build ufoslicer
Enable hard linked cgame
Use signal handler
Setting custom data directory
Setting custom library directory
Found zip from zip
Found python from python
Could not find doxygen from doxygen
Found xvid.h
Found theora/theora.h
Found execinfo.h
Found bfd.h
Found sys/utsname.h
Found link.h
Found jpeglib.h
Found zlib.h
Found png.h
Found CUnit/Basic.h
Found mxml.h
Found SDL.h
Found SDL_mixer.h
Found SDL_ttf.h
Could not find picomodel.h
....

--- End code ---

yobbo:
I believe this has been fixed already, try pulling again :).

wizardelo:
i pulled it again just now and its the same in ./configure


--- Code: ---Could not find picomodel.h
--- End code ---

i am using this for source

git remote add -t master origin git://git.code.sf.net/p/ufoai/code
git fetch --depth 1
git checkout -t origin/master


i am now attempting to bring the torrent bundle, but its speed is very very bad:) il need 2 days or so

Mattn:
picomodel is one of the optional things

wizardelo:
umm ok, but it breaks the make

I am testing now with the torrent bundle, seems fine so far, havent finished make yet, will edit once done.

Navigation

[0] Message Index

[#] Next page

Go to full version