Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi Ray, i got a problem running core_basic_window.c. After reserching, i define the support busy wait loop and then build the file core.h with opengl 1.1.When i excute the core-basic-window.c, It gives me these errors:

C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x26): undefined reference to `InitWindow'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x32): undefined reference to `SetTargetFPS'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x37): undefined reference to `WindowShouldClose'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x40): undefined reference to `BeginDrawing'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x4c): undefined reference to `ClearBackground'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x78): undefined reference to `DrawText'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x7d): undefined reference to `EndDrawing'
C:\Users\ADMIN\AppData\Local\Temp\ccseYXAl.o:core_basic_window.c:(.text.startup+0x84): undefined reference to `CloseWindow'
collect2.exe: error: ld returned 1 exit status

Any ideas ?

It seems you are not linking with libraylib.a, was the library successfully compiled and libraylib.a generated in raylib/src directory?

Yes, librarylib.a is generated in raylib/src directory

It's a bit difficult to know your specific issue, try asking in raylib Discord forum, there is a lot of friendly people that could help tracking the issue.

Thank you !

When i try it with raylib 2.5.0, it works fine