ColinPitrat / caprice32

An emulator of the Amstrad CPC 8bit home computer range.
GNU General Public License v2.0
146 stars 32 forks source link

Compile WITH_IPF=true fails due to missing "caps/capsimage.h" #170

Closed 2play closed 4 years ago

2play commented 4 years ago

Compile with "make APP_PATH="$PWD" WITH_IPF=true ARCH=linux -j 4" : Fails with below errors

In file included from src/ipf.cpp:16:
src/ipf.h:7:10: fatal error: caps/capsimage.h: No such file or directory
 #include "caps/capsimage.h"
In file included from src/ipf.cpp:16:
src/ipf.h:7:10: fatal error: caps/capsimage.h: No such file or directory
 #include "caps/capsimage.h"
2play commented 4 years ago

Found workaround by doing this: I ve extracted from this ipflib42_linux-x86_64.tar.gz the caps folder (attached) and copied over to /usr/include

caps.zip

Then compiled fine with above command.

./caprice32/cap32 -V
Caprice32 v4.6.0-40abd2a6f0e00d9cdfc5265907c86c0d146acfb5
Compiled with: HAVE_GL WITH_IPF
Number of video plugins available: 12
ColinPitrat commented 4 years ago

This is WAI. The licence for IPF support doesn't allow us to include the code in Caprice. The end-user has to download it themselves and agree with the terms. cf https://github.com/ColinPitrat/caprice32/blob/master/INSTALL.md#ipf-support