Closed vit1251 closed 3 years ago
Try to empty LIBS or to pass NOGL=1 to $(MAKE) in Makefile.libretro
Make with
# NOGL=1 make
And receive next error output:
render_sdl.c: In function ‘render_get_framebuffer’:
render_sdl.c:1423:21: error: ‘tex_width’ undeclared (first use in this function); did you mean ‘main_width’?
buffer = calloc(tex_width*(tex_height + 1), sizeof(uint32_t));
^~~~~~~~~
main_width
render_sdl.c:1423:21: note: each undeclared identifier is reported only once for each function it appears in
render_sdl.c:1423:32: error: ‘tex_height’ undeclared (first use in this function); did you mean ‘main_height’?
buffer = calloc(tex_width*(tex_height + 1), sizeof(uint32_t));
^~~~~~~~~~
main_height
make: *** [Makefile:363: render_sdl.o] Error 1
If you're compiling render_sdl.c, you're not compiling the libretro core.
Please build with:
make -f Makefile.libretro
I understood what was the matter. I am compiling a version for standalone use, i.e. w/o libretro project. I apologize for my mistake. I'll try to find the author of the origianal BlastEm project.
Does not compile with NOGL marker.