Note: Before this error, I encountered the very similar error with squirrel. I installed the MSYS2 package for it then I encountered this error. PhysFS is not listed as a dependency so I don't have it installed.
CMake command I used:
mkdir build && cd build
cmake -G"Unix Makefiles" ..
I tried with cmake -G"MSYS Makefiles" .. but have the same result.
The error message:
[ 99%] Built target supertux2_lib
make: don't know how to make physfs/lib/physfs
make: (CMakeFiles/Makefile2:367): failed to build 'CMakeFiles/supertux2.dir/all' exit 2
make: (makefile:156): failed to build 'all' exit 2
As you can see, it's completed 99%. pdpmake has no problem building the libraries but it failed at the last step which is linking the binary supertux2.exe. I checked the build directory and I can confirm that the PhysFS library is already built.
I'm testing this project: https://github.com/SuperTux/supertux
Build instruction: https://github.com/SuperTux/supertux/blob/master/INSTALL.md
I'm using MSYS2 UCRT64.
Note: Before this error, I encountered the very similar error with squirrel. I installed the MSYS2 package for it then I encountered this error. PhysFS is not listed as a dependency so I don't have it installed.
CMake command I used:
I tried with
cmake -G"MSYS Makefiles" ..
but have the same result.The error message:
As you can see, it's completed 99%. pdpmake has no problem building the libraries but it failed at the last step which is linking the binary
supertux2.exe
. I checked the build directory and I can confirm that the PhysFS library is already built.