I'm getting an error when trying to compile #1927
Unanswered
bkumanchik
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is the actual 3 lines of errors, any help would be appreciated: tcc: error: undefined symbol '__sync_synchronize' |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
link to source: https://www.dropbox.com/s/8hot2bolhztvd9y/Invader_PC_CPP_Raylib.zip?dl=0
This was working fine last time I tried to compile it - a couple of months ago
Here's the error:
SET: RAYLIB_PATH=C:\raylib\raylib
$(RAYLIB_PATH) = C:\raylib\raylib
SET: COMPILER_PATH=C:\raylib\tcc
$(COMPILER_PATH) = C:\raylib\tcc
ENV_SET: PATH=C:\raylib\tcc
$(SYS.PATH) = C:\raylib\tcc
SET: CC=tcc
$(CC) = tcc
SET: CFLAGS=$(RAYLIB_PATH)\src\raylib.rc.data -Os -std=c99 -Wall -Iexternal -DPLATFORM_DESKTOP
$(CFLAGS) = C:\raylib\raylib\src\raylib.rc.data -Os -std=c99 -Wall -Iexternal -DPLATFORM_DESKTOP
SET: LDFLAGS=-lmsvcrt -lraylib -lopengl32 -lgdi32 -lwinmm -lkernel32 -lshell32 -luser32 -Wl,-subsystem=gui
$(LDFLAGS) = -lmsvcrt -lraylib -lopengl32 -lgdi32 -lwinmm -lkernel32 -lshell32 -luser32 -Wl,-subsystem=gui
CD: C:\raylib\raylib\my projects\Invader_PC_CPP_Raylib
Current directory: C:\raylib\raylib\my projects\Invader_PC_CPP_Raylib
cmd /c IF EXIST invader.exe del /F invader.exe
Process started (PID=11496) >>>
<<< Process finished (PID=11496). (Exit code 0)
NPP_SAVE: C:\raylib\raylib\my projects\Invader_PC_CPP_Raylib\invader.c
tcc -o invader.exe invader.c C:\raylib\raylib\src\raylib.rc.data -Os -std=c99 -Wall -Iexternal -DPLATFORM_DESKTOP -lmsvcrt -lraylib -lopengl32 -lgdi32 -lwinmm -lkernel32 -lshell32 -luser32 -Wl,-subsystem=gui
Process started (PID=4260) >>>
tcc: error: undefined symbol '__sync_synchronize'
tcc: error: undefined symbol '__sync_lock_test_and_set'
tcc: error: undefined symbol '__sync_val_compare_and_swap'
<<< Process finished (PID=4260). (Exit code 1)
ENV_UNSET: PATH
$(SYS.PATH) has been restored
cmd /c IF EXIST invader.exe invader.exe
Process started (PID=9556) >>>
<<< Process finished (PID=9556). (Exit code 0)
================ READY [================]
Beta Was this translation helpful? Give feedback.
All reactions