raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.26k stars 280 forks source link

examples build issue #378

Closed dsula closed 5 months ago

dsula commented 5 months ago

Hi, I'm trying to build the examples but it fails. What could be the problem? Thank you.

$make
gcc -o custom_input_box/custom_input_box custom_input_box/custom_input_box.c -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -D_DEFAULT_SOURCE -I/usr/local/include -isystem. -isystem/home/dsula/ray/raygui/src -isystem/home/dsula/ray/raygui/release/include -isystem/home/dsula/ray/raygui/src/external -L. -L/usr/local/lib -L/home/dsula/ray/raygui/src -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 -DPLATFORM_DESKTOP
/usr/local/lib/libraylib.a(rtext.o): In function `TextToFloat':
rtext.c:(.text+0x9885): multiple definition of `TextToFloat'
raysan5 commented 5 months ago

@dsula Function was recently added to raylib. Fixed example.