raylib-drawing icon indicating copy to clipboard operation
raylib-drawing copied to clipboard

Not compatible with latest raylib

Open joshuajohncohen opened this issue 2 years ago • 2 comments

I stumbled across this library for a project I'm working on. It seems amazing for what I need (I'm trying to find an easy, simple graphics library for drawing lines and text). I didn't use plain raylib though because DrawTriangleStrip wasn't working, so I went ahead and set this up with the latest raylib.h.

The error: ......../raylibStuff/rturtle.c:2924:8: error: initializing 'Image' (aka 'struct Image') with an expression of incompatible type 'int' Image image = LoadImage(filename); ^ ~~~~~~~~~~~~~~~~~~~ 1 error generated

joshuajohncohen avatar Oct 03 '23 00:10 joshuajohncohen

Not sure how your project is organized. It seems that rturtle.h or raylib.h is not found by the compiler while compiling rturtle.c.

royqh1979 avatar Oct 04 '23 13:10 royqh1979

Not sure how your project is organized. It seems that rturtle.h or raylib.h is not found by the compiler while compiling rturtle.c.

royqh1979 avatar Oct 04 '23 13:10 royqh1979