Giter VIP home page Giter VIP logo

Comments (8)

urxp avatar urxp commented on August 21, 2024

hi, you can just comment out this line, it is only for logging, or cast to (long long)(hi_p-(POINTER)sfx_p)

from drally.

happycamper31 avatar happycamper31 commented on August 21, 2024

Thanks, that seemed to work for now.
But the next error appears 😅

___3e3cch.c: In function ‘___3e3cch’:
___3e3cch.c:18:5: error: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
   18 |     fscanf(fd, "%s", ___1a0d60h);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:36: ___3e3cch.o] Error 1

from drally.

urxp avatar urxp commented on August 21, 2024

Comment out this line FLAGS += -Werror -Wno-unused-result in Makefile, you'll most likely get a bunch of warnings but you should pass the compilation. What is your platform a compiler version btw?

from drally.

happycamper31 avatar happycamper31 commented on August 21, 2024

I'm on linux, gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
We're slowly getting there 😉 but there is another one.
My sdl2 version is 2.0.20, seems there is a header missing. (Sorry I'm not very good at figuring out these errors.)

db_ipx.c:8:10: fatal error: SDL2/SDL_net.h: No such file or directory
    8 | #include <SDL2/SDL_net.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:36: db_ipx.o] Error 1

from drally.

urxp avatar urxp commented on August 21, 2024

Looks like you don't have sdl2_net development package installed

from drally.

happycamper31 avatar happycamper31 commented on August 21, 2024

Ah, ok now the make exited without an error. It might be good to mention that, as it doesn't come with sdl2 automatically.
That's in the readme:

Linux requirements

  • GCC/Clang C compiler
  • GNU/Make
  • SDL2

I'm confused how to continue now. Do I need to "make install" now?

from drally.

urxp avatar urxp commented on August 21, 2024

Well it is only a remnant from multiplayer implementation attempts, shouldn't even be there. Now you simply copy compiled executable to folder with death rally assets and execute

from drally.

happycamper31 avatar happycamper31 commented on August 21, 2024

Nice, that should be it. I forgot about the binaries, which I put into another folder.
Works fine for now. Thank you for your help!

from drally.

Related Issues (12)

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.