is there something wrong with the Charinfo in raygui.h? #1938
-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's a guess, not a suggestion. The thing to do is find line 2891 in I suspect that if you are not using My money is on |
Beta Was this translation helpful? Give feedback.
-
I just opened Issue #1939 on this. |
Beta Was this translation helpful? Give feedback.
It's a guess, not a suggestion.
The thing to do is find line 2891 in
raygui.h
and tease out what's happening there. It turns out thatCharInfo
is a struct type that is only defined ifRAYGUI_STANDALONE
is set. (Found by searchingraygui.h
forCharInfo
occurrences.)I suspect that if you are not using
raygui.h
as a standalone (and providing some additional functions yourself), you need to provide#include "raylib.h"
ahead of any#include "raygui.h
or#include "extras/raylib.h"
depending on your setup for includes.My money is on
CharInfo
being defined inraylib.h
and I just lost that bet. There is noCharInfo
defined or used inraylib.h
, although there are a variety of*Info
thingies, inc…