|
MSYS2 Windows 10 and PhysFS |
princeofspace
Member #11,874
April 2010
|
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: 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
|
PhysFS works fine with Windows 10. It must not be able to find the dll. Did you try static compilation? That would tell you if it was the case. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
princeofspace
Member #11,874
April 2010
|
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
|
Did you compile lib PhysFS yourself? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
princeofspace
Member #11,874
April 2010
|
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
|
Well the PhysFS you have and the PhysFS used to compile Allegro must be different. That's the only thing I can think of that would explain it. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|