Raylib: pthreadGC-3.dll not found

Created on 30 Jan 2018  Â·  3Comments  Â·  Source: raysan5/raylib

When trying to run some examples, e.g. physics_demo.c I get the error message
"pthreadGC-3.dll not found " (the file exists under MinGWbin)
OS: Windows 10 Pro 64 Bit
I am using Notepad++ and MinGW that came with the raylib 1.8 Windows Installer
I am new to c programming.

Most helpful comment

I am sorry, I overlooked that header comment.
The example works now, thanks a lot.
I am also trying to load images in the background like with libgdx's AssetManager while displaying a progress bar but I haven't found an example for that so far.
I like raylib a lot, it looks to be perfect for c programming newbies like me who want to get away from Java (libgdx).

All 3 comments

You have to add these lines to your compilation code:
-static -lpthread

In the examples header comments, there is an example of compilation code:
gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition

I am sorry, I overlooked that header comment.
The example works now, thanks a lot.
I am also trying to load images in the background like with libgdx's AssetManager while displaying a progress bar but I haven't found an example for that so far.
I like raylib a lot, it looks to be perfect for c programming newbies like me who want to get away from Java (libgdx).

Hi @Geams! Nice to read you managed to run physac examples!

I am also trying to load images in the background like with libgdx's AssetManager while displaying a progress bar but I haven't found an example for that so far.

I did one example showing how to do taht in one of my classes... I'll try to find and upload it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianpan870102 picture ianpan870102  Â·  6Comments

raysan5 picture raysan5  Â·  12Comments

SethArchambault picture SethArchambault  Â·  7Comments

DarkElvenAngel picture DarkElvenAngel  Â·  8Comments

a3f picture a3f  Â·  6Comments