Coder Social home page Coder Social logo

Linux build about magichexagon HOT 4 CLOSED

ajs124 avatar ajs124 commented on August 12, 2024
Linux build

from magichexagon.

Comments (4)

meh2481 avatar meh2481 commented on August 12, 2024

Hi, and thanks for getting in touch!
Thanks for the makefile suggestions; I'm kinda self-taught as far as all of this Linux stuff is concerned, so I tend to not do things the "right" way very often.
The Makefile.unix currently here is left over from an old project of mine, so it probably is missing some dependencies or is just broken. It was my intention to get the Linux port done sometime, but I didn't realize there was interest, so I'll move it up my priority list now.
Tyrsound (and ttvfs, for that matter) is a WIP sound library made by a friend of mine. You can find it here: https://github.com/fgenesis/tyrsound
Cheers! I'll devote some actual time to this as soon as I get the chance.

from magichexagon.

meh2481 avatar meh2481 commented on August 12, 2024

The Linux build should be up-to-date now. Let me know if you have any other issues.

from magichexagon.

ajs124 avatar ajs124 commented on August 12, 2024

Cool, thanks! There's still seem to be some issues. Your Makefile calls uname -p which works on most distributions (not arch linux), but according to this isn't actually supported by upstream, so maybe you should use the arch command or uname -m?
Aditionally make throws an error at me because of "-lSDL2main". This might be a problem with my setup, but it works if I simply remove it.
One last thing, that might also be specific to my distro is that I have to link against tinyxml instead of tinyxml2, pkg-config --libs tinyxml could maybe help?

from magichexagon.

meh2481 avatar meh2481 commented on August 12, 2024

uname -m it is, then. I didn't know Arch had issues with uname -p.
I was linking against libSDL2main under Windows because of how it handles the command line for GUI applications. I'll double-check and see if this is even required in Linux. Not that it matters for this game, since it ignores commandline parameters entirely, but this was just for future programs I make with the engine, or features I add later.

tinyxml2 is an entirely different project from tinyxml (I think the function declarations and such are different, as well. I know the namespace handling is different, for one). You can get tinyxml2 here: https://github.com/leethomason/tinyxml2

from magichexagon.

Related Issues (1)

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.