Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
raylib-64
#13
(02-08-2024, 11:43 PM)justsomeguy Wrote: It appears that raylib-64 is broken with later version of QB64pe. I confirmed it compiled and ran with v3.8 and v3.9, but v3.10 compiles but does not work and v3.11 wont compile at all.

I'm running Linux Mint 21.2

This is the compile log.

Code: (Select All)
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....

I fixed it sometime back in Fix compile error on QB64-PE v3.11 · a740g/raylib-64@5cb1dca (github.com).

Update and sync your repo to the latest.
Reply


Messages In This Thread
raylib-64 - by a740g - 06-23-2023, 02:02 PM
RE: raylib-64 - by bplus - 06-23-2023, 02:20 PM
RE: raylib-64 - by a740g - 06-23-2023, 02:46 PM
RE: raylib-64 - by bplus - 06-23-2023, 02:54 PM
RE: raylib-64 - by TerryRitchie - 06-23-2023, 02:46 PM
RE: raylib-64 - by justsomeguy - 07-22-2023, 05:19 AM
RE: raylib-64 - by a740g - 07-22-2023, 07:21 AM
RE: raylib-64 - by justsomeguy - 07-22-2023, 08:33 PM
RE: raylib-64 - by a740g - 07-22-2023, 11:31 PM
RE: raylib-64 - by justsomeguy - 07-23-2023, 02:07 AM
RE: raylib-64 - by a740g - 07-26-2023, 10:51 PM
RE: raylib-64 - by justsomeguy - 02-08-2024, 11:43 PM
RE: raylib-64 - by a740g - 02-12-2024, 02:00 AM
RE: raylib-64 - by a740g - 04-01-2024, 10:15 PM
RE: raylib-64 - by TerryRitchie - 05-30-2024, 07:48 PM
RE: raylib-64 - by a740g - 05-31-2024, 03:55 PM
RE: raylib-64 - by a740g - 06-09-2024, 09:31 PM
RE: raylib-64 - by TerryRitchie - 06-10-2024, 07:41 PM



Users browsing this thread: 1 Guest(s)