rmyorston / pdpmake

Public domain POSIX make
https://frippery.org/make
Other
103 stars 10 forks source link

make: don't know how to make physfs/lib/physfs #46

Closed ghost closed 1 month ago

ghost commented 1 month ago

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:

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.

rmyorston commented 1 month ago

Yeah, this is another one I don't intend to build myself. Please be more specific about the problem.