Skip to content

error in building #32

Description

@zeyad-elkholy

[ 4%] Building C object CMakeFiles/CRougeLite.dir/src/game/debugMenu.c.o In file included from /home/zod/src/CRougeLite/src/game/debugMenu.c:20: /home/zod/src/CRougeLite/src/game/../libs/raygui.h:2955:14: error: static declaration of ‘TextToFloat’ follows non-static declaration 2955 | static float TextToFloat(const char *text) | ^~~~~~~~~~~ In file included from /home/zod/src/CRougeLite/src/game/../common.h:19, from /home/zod/src/CRougeLite/src/game/../CRougeLite.h:18, from /home/zod/src/CRougeLite/src/game/debugMenu.h:19, from /home/zod/src/CRougeLite/src/game/debugMenu.c:17: /usr/include/raylib.h:1519:13: note: previous declaration of ‘TextToFloat’ with type ‘float(const char *)’ 1519 | RLAPI float TextToFloat(const char *text); // Get float value from text (negative values not supported) | ^~~~~~~~~~~ make[2]: *** [CMakeFiles/CRougeLite.dir/build.make:107: CMakeFiles/CRougeLite.dir/src/game/debugMenu.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/CRougeLite.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
error while running cmake --build build
cmake version: cmake version 4.0.3-dirty
os: archlinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions