Re: [hatari-users] More build issues - hatari-latest, Ubuntu 14.04, capsimage 5.1, capsimage 4.2

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


Le 23/01/2018 à 05:01, Ross Campbell a écrit :
Thanks to help here, I found my issue with *DETECTING* libcapsimage.so.5.1
on Ubuntu,
- the .h files need to all be in /usr/local/include/caps5
- the libcapsimage.so.5.1 file that gets built from source and installed into /usr/local/lib needs to be copied to /usr/local/lib/caps5 - you must symlink libcapsimage.so.5.1 in /usr/local/lib/caps5 to libcapsimage.so.5 and libcapsimage.so
...
NOW configure and cmake will detect capsimage 5!

however, when I attempt to build I get errors. I've tried make clean, clean source checkout, I've different compilers.. still no luck.

No luck with capsimage 5.1 or capsimage 4.2... am I missing something?

-Ross


Hi

I think there's a problem in the way you installed caps include on your system :

-- Found CAPSIMAGE: /usr/local/lib/caps5/libcapsimage.so

here, caps5 is found in /usr/local/lib

[ 65%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
In file included from /home/rcampbel/project/hatari/caps5/CapsLibAll.h:7:0,
                  from /home/rcampbel/project/hatari/src/floppy_ipf.c:33:
/home/rcampbel/project/hatari/caps5/CapsFDC.h:134:23: error: expected ‘)’ before ‘*’ token
  typedef void (__cdecl *CAPSFDCHOOK)(PCAPSFDC pfdc, UDWORD state);
                        ^
/home/rcampbel/project/hatari/caps5/CapsFDC.h:198:2: error: unknown type name ‘CAPSFDCHOOK’
   CAPSFDCHOOK cbirq;   // irq line change callback
   ^

but here, the include files come from the local dir /home/rcampbel/project/hatari/caps5/ instead of /usr/local/include/caps5

As Hatari looks for include in src/ dir first, maybe you should remove caps5 from hatari/ dir to force using the files in /usr/local/include

Nicolas




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