Closed JupiterRider closed 1 year ago
@JupiterRider Not sure how Go works exactly but it seems you are not including the rres
library... did you check the C usage examples?
@raysan5 Yeah, with these includes and defines from the examples, it works now:
#include <raylib.h>
#define RRES_IMPLEMENTATION
#include <rres.h>
#define RRES_RAYLIB_IMPLEMENTATION
#define RRES_SUPPORT_COMPRESSION_LZ4
#define RRES_SUPPORT_ENCRYPTION_AES
#define RRES_SUPPORT_ENCRYPTION_XCHACHA20
#include <rres-raylib.h>
Thanks!
Hey @raysan5,
I am trying to work on a golang binding for rres, but I experience linker errors.
Here is a small example:
This is the folder structure:
This is the error:
Thanks in advance!