View Code? Open in Web Editor
NEW
QB64-PE bindings for raylib (a simple and easy-to-use library to learn videogames programming)
Home Page: https://qb64phoenix.com/forum/showthread.php?tid=1776
License: MIT License
FreeBasic 25.34%
C++ 46.48%
C 3.16%
GLSL 2.80%
Visual Basic 6.0 0.41%
BASIC 21.81%
raylib-64's Introduction
- 👋 Hi, I’m Samuel Gomes
- 👀 I’m interested in all things retro
- 🌱 I’m currently learning C++17
- 💞️ I’m looking to collaborate on QB64-PE, retro games & apps
- 📫 How to reach me: v_2samg->(at)->hotmail->(dot)->com
raylib-64's People
Contributors
Watchers
raylib-64's Issues
is this broken in QB64PE 3.11.0?
It appears to broken with QB64pe v3.10 and v3.11.
It compiles with 3.10, but does not run. It wont compile with 3.11.
I'm running Linux Mint 21.2
Here is the compile log for 3.11
g++ -no-pie -w -std=gnu++14 -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_CONSOLE_ONLY -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal/c/libqb.cpp -c -o internal/c/libqb_make_001000000.o g++ -no-pie -w -std=gnu++14 -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_CONSOLE_ONLY -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal/c/qbx.cpp -c -o internal/c/qbx.o g++ -O2 -no-pie -w -std=gnu++14 -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_CONSOLE_ONLY -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE -Wall internal/c/libqb/src/threading.cpp -c -o internal/c/libqb/src/threading.o g++ -O2 -no-pie -w -std=gnu++14 -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_CONSOLE_ONLY -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE -Wall internal/c/libqb/src/buffer.cpp -c -o internal/c/libqb/src/buffer.o g++ -O2 -no-pie -w -std=gnu++14 -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_CONSOLE_ONLY -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE -Wall internal/c/libqb/src/filepath.cpp -c -o internal/c/libqb/src/filepath.o In file included from internal/c/qbx.cpp:2: internal/c/common.h:97:21: error: expected identifier before ‘-’ token 97 | # define QB_TRUE -1 | ^ /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:19:5: note: in expansion of macro ‘QB_TRUE’ 19 | QB_TRUE = -1, | ^~~~~~~ internal/c/common.h:97:21: error: expected ‘}’ before ‘-’ token 97 | # define QB_TRUE -1 | ^ /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:19:5: note: in expansion of macro ‘QB_TRUE’ 19 | QB_TRUE = -1, | ^~~~~~~ In file included from internal/c/../temp/regsf.txt:1, from internal/c/qbx.cpp:1105: /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:18:1: note: to match this ‘{’ 18 | { | ^ In file included from internal/c/qbx.cpp:2: internal/c/common.h:97:21: error: expected unqualified-id before ‘-’ token 97 | # define QB_TRUE -1 | ^ /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:19:5: note: in expansion of macro ‘QB_TRUE’ 19 | QB_TRUE = -1, | ^~~~~~~ In file included from internal/c/../temp/regsf.txt:1, from internal/c/qbx.cpp:1105: /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:21:1: error: expected declaration before ‘}’ token 21 | }; | ^ In file included from internal/c/qbx.cpp:2: /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h: In function ‘qb_bool __init_raylib()’: internal/c/common.h:97:22: error: invalid conversion from ‘int’ to ‘qb_bool’ [-fpermissive] 97 | # define QB_TRUE -1 | ^ | | | int /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:1428:16: note: in expansion of macro ‘QB_TRUE’ 1428 | return QB_TRUE; | ^~~~~~~ internal/c/common.h:96:22: error: invalid conversion from ‘int’ to ‘qb_bool’ [-fpermissive] 96 | # define QB_FALSE 0 | ^ | | | int /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:1446:24: note: in expansion of macro ‘QB_FALSE’ 1446 | return QB_FALSE; | ^~~~~~~~ internal/c/common.h:96:22: error: invalid conversion from ‘int’ to ‘qb_bool’ [-fpermissive] 96 | # define QB_FALSE 0 | ^ | | | int /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:1979:16: note: in expansion of macro ‘QB_FALSE’ 1979 | return QB_FALSE; | ^~~~~~~~ internal/c/common.h:97:22: error: invalid conversion from ‘int’ to ‘qb_bool’ [-fpermissive] 97 | # define QB_TRUE -1 | ^ | | | int /mnt/LocalNAS4/LocalNAS/QbasicPrograms/raylib-64/include/raylib.h:1986:12: note: in expansion of macro ‘QB_TRUE’ 1986 | return QB_TRUE; | ^~~~~~~ make: *** [Makefile:388: internal/c/qbx.o] Error 1 make: *** Waiting for unfinished jobs....
No issues (yet) - just wanted to say thanks for doing this. I tested other bindings and they did not work beyond creating a simple screen.
I will test when i get some free time.