RobLoach / raylib-cpp

C++ Object Oriented Wrapper for raylib
https://robloach.github.io/raylib-cpp/
zlib License
669 stars 87 forks source link

Compile errors: no member named 'GenImageGradientV' in the global namespace #242

Closed ahmed00101 closed 1 year ago

ahmed00101 commented 1 year ago

include/CPP/./Image.hpp:137:18: error: no member named 'GenImageGradientV' in the global namespace return ::GenImageGradientV(width, height, top, bottom); ~~^ include/CPP/./Image.hpp:144:18: error: no member named 'GenImageGradientH' in the global namespace return ::GenImageGradientH(width, height, left, right);

Compiler command: g++ -std=c++17 -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL libD/libraylib.a src/game.cpp -o game -Iinclude/CPP -Iinclude

RobLoach commented 1 year ago

Use raylib 4.5... Or switch to the next branch of raylib-cpp.