Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » MSYS2 Windows 10 and PhysFS

This thread is locked; no one can reply to it. rss feed Print
MSYS2 Windows 10 and PhysFS
princeofspace
Member #11,874
April 2010
avatar

Here's a weird one.

Recently I've been trying to recompile my Allegro 5.2 game with MSYS2 under Win10. Everything appears to work, EXCEPT for PhysFS. Even the example ex_physfs fails to load:
"Cannot run example Could not init PhysFS"

I've compiled it a couple of times in the past with no difficulty. There are a bunch of warnings at compile time for a5_physfs.c, all of which are related to deprecated declarations.

Is there some issue with physfs and win10?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

princeofspace
Member #11,874
April 2010
avatar

It could be, but in continued tinkering I'm wondering if it's a MSYS2 issue. When it can't find the dll, it complains about no libphysfs.dll file, but when I put the dll in the same directory as the executable, I get the error above.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

princeofspace
Member #11,874
April 2010
avatar

No, I used MSYS2 pacman to install it.

Thanks for your help Edgar, I just ended up using the precompiled binaries for MingW and it works great.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Go to: