Re: [hatari-users] Compilation error with Hatari 2.2.0 on Linux

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


Le 09/02/2019 à 00:29, Eero Tamminen a écrit :
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. :-/



Hi

that's strange, nothing has changed in the capsimage cmake since several releases. Could it be an older cache that was not removed ? Or a change in cmake itself ?

Did you try with a clean install (for example the latest sources from http://download.tuxfamily.org/hatari/2.2.0) ?





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/