Hi,
I'm now getting also errors from this file:
-------------------------------------------
$ cmake
...
-- Could NOT find CAPSIMAGE (missing: CAPSIMAGE_LIBRARY
CAPSIMAGE_INCLUDE_DIR)
...
- capsimage : v5 not found, install it to use .IPF, .RAW and .CTR
disk images
$ make
[ 49%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
/home/eero/work/hatari/src/floppy_ipf.c:33:30: fatal error:
caps5/CapsLibAll.h: No such file or directory
#include <caps5/CapsLibAll.h>
^
compilation terminated.
src/CMakeFiles/hatari.dir/build.make:518: recipe for target
'src/CMakeFiles/hatari.dir/floppy_ipf.c.o' failed
make[2]: *** [src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1
$ grep CAPS config.h
#define HAVE_CAPSIMAGE 1
#define CAPSIMAGE_VERSION 5
-------------------------------------------
If I remove config.h, calling cmake adds the CAPSIMAGE defines
back although it says that it didn't find CAPSIMAGE!
Same thing whether I have in ccmake advanced options:
CAPSIMAGE_INCLUDE_DIR CAPSIMAGE_INCLUDE_DIR-NOTFOUND
CAPSIMAGE_LIBRARY CAPSIMAGE_LIBRARY-NOTFOUND
Or those values being empty.
Only way to build Hatari now is manually removing the CAPSIMAGE
defines from config.h before calling make. :-/