ankiwi wrote: ↑Tue Jun 04, 2024 11:01 pmIf you're still interested in testing it out, I've confirmed it compiles and works on Linux. Also updated the read-me with a command for linux, all you need is a few extra libraries.
Good news! Yes, of course, I am still interested.
I tried again to build VoidGEN under Linux, without success. Here are some of the errors I get:
Code: Select all
g++ -o voidgen engine.cpp -I includes
In file included from includes/engine.hpp:11,
from engine.cpp:7:
includes/SDL3/SDL_mixer.h:68:8: error: 'SDL_DECLSPEC' does not name a type; did you mean 'DECLSPEC'?
68 | extern SDL_DECLSPEC int SDLCALL Mix_Version(void);
Code: Select all
engine.cpp:379:52: error: too few arguments to function 'SDL_Renderer* SDL_CreateRenderer(SDL_Window*, const char*, Uint32)'
379 | this->renderer = SDL_CreateRenderer(this->window, NULL);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from includes/SDL3/SDL.h:70,
from includes/engine.hpp:7:
includes/SDL3/SDL_render.h:230:40: note: declared here
230 | extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window *window, const char *name, Uint32 flags);
Maybe I didn't use the good files, or maybe there is something wrong in my command line, I don't know.
I see that you have made important modifications recently. When the project is in a stable state, please improve a bit the documentation and (if you don't mind) provide a Makefile or a bash script for building the engine under Linux. (I didn't see the command for Linux that you say you have added to README. Maybe you forgot to push it?)
Very interesting project. I can't wait to test it.

Qui trop embrasse mal étreint.