timdetering / homeworldsdl Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
libtool: link: gcc -g -O2 -malign-double -D_X86 -D_LINUX_FIX_ME -DHW_GAME_HOMEWORLD -DHW_BUILD_FOR_DISTRIBUTION -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--as-needed -o homeworld homeworld.o ./Game/libhw_Game.a ./SDL/libhw_SDL.a ./Ships/libhw_Ships.a ./Missions/Generated/libhw_Generated.a ./ThirdParty/LZSS/libhw_LZSS.a ./ThirdParty/CRC/libhw_CRC.a ./ThirdParty/JPG/libhw_JPG.a ./Game/libhw_Game.a ./SDL/libhw_SDL.a ./Ships/libhw_Ships.a ./Missions/Generated/libhw_Generated.a ./ThirdParty/LZSS/libhw_LZSS.a -L/usr/X11R6/lib -lX11 -lXext -L/usr/lib/x86_64-linux-gnu -lSDL -lGL
/usr/bin/ld: ./Game/libhw_Game.a(CameraCommand.o): undefined reference to symbol 'acos@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:465: homeworld] Error 1
make[3]: Leaving directory '/home/blap/projects/HomeworldSDL/Linux/src'
seems we need to: Add "-lm" to the link command to link the maths library
this ought to be pulled-in when running ../configure --enable-network
but I don't get that working (being stupid).
see stuff/configure.ac
208: NET_LIBS="-lSDL_net -lm"
EDIT:
adding an environment variable:
export LIBS="-lm" did the trick
This is an umbrella task covering all the sub-tasks needed to get the source back to a building and running state on Windows 7 using Visual Studio 2005 and SDL v1.2.15
Temporarily add the kas scripts for Win32 since the converter is broken.
I managed to compile homeworld for x86_64 Linux (I think), extracted Homeworld.big
, Update.big
, HW_Comp.vce
, HW_Music.wxd
, and put them in the src/
directory next to the compiled homeworld
binary.
But here is the output when trying to run...
memClearSetting=0xe9569f92, memFreeSetting=0x3c6ef361
42 files found in Update.big
13851 files found in Homeworld.big
Homeworld CRCs:
HomeworldSDL.big TOC = 0x0
Update.big TOC = 0x52f110b0
Homeworld.big TOC = 0x0
(not used) = 0x0
(null) (0): Fatal error - fileSizeGet: can't find file '[REDACTED]/HomeworldSDL/Linux/src//SoundFX/Guns.bnk.64'.
[1] 24800 trace trap (core dumped) ./homeworld
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.