Giter VIP home page Giter VIP logo

homeworldsdl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeworldsdl's Issues

Build on linux (debian/devuan sid/ceres)

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

Build Win7 VS2005 SDL v1.2.15

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

Add kas scripts

Temporarily add the kas scripts for Win32 since the converter is broken.

[Linux] File not found SoundFX/Guns.bnk.64

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.