Hi
I've tried setting up a simple dev environment in codeblocks to compile using Rlyeh's minimal library. I've tried to test it using the images example that comes with the library. I'm trying to compile it using arm-linux-g++.exe using the linker options -static -lpthread -lm, however when I try to build it I get the following error.
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp||In function 'int main(int, char**)'
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp|45|error: 'gp2x_image_free' was not declared in this scope|
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp|66|error: 'gp2x_image_free' was not declared in this scope|
||=== Build finished: 2 errors, 0 warnings ===|
I haven't made any changes to images.c, minimal.c (and I can see said function in this file) or minimal.h. It's the same environment I use for SDL stuff (just changed the linker options) and SDL builds without a problem.
Grateful for any pointers.
Dave
I've tried setting up a simple dev environment in codeblocks to compile using Rlyeh's minimal library. I've tried to test it using the images example that comes with the library. I'm trying to compile it using arm-linux-g++.exe using the linker options -static -lpthread -lm, however when I try to build it I get the following error.
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp||In function 'int main(int, char**)'
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp|45|error: 'gp2x_image_free' was not declared in this scope|
C:\Users\Dave\Documents\Source Code\GP2X\Minimal Test\main.cpp|66|error: 'gp2x_image_free' was not declared in this scope|
||=== Build finished: 2 errors, 0 warnings ===|
I haven't made any changes to images.c, minimal.c (and I can see said function in this file) or minimal.h. It's the same environment I use for SDL stuff (just changed the linker options) and SDL builds without a problem.
Grateful for any pointers.
Dave