Re: [hatari-users] Need Help compiling Hatari under ubuntu 20.20 x64

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


Le 24/10/2020 à 18:21, bigmike2238@xxxxxxx a écrit :
Hello,

I am trying to compile the latest version of Hitari using Ubuntu 20.20 x86_64. To the best of my knowledge, I installed the following:
....

In file included from /usr/local/include/caps/CapsLib.h:8,

                  from /usr/local/include/caps/CapsLibAll.h:9,

                  from /home/mike/sourcecode/hatari/src/floppy_ipf.c:35:

/usr/local/include/caps/CapsLib.h:12:1: error: expected identifier or ‘(’ before string constant

    12 | ExtSub SDWORD __cdecl CAPSInit();

       | ^~~~~~


Hi

can you check you have these line in ComLib.h in caps include directory :

//-- Linux changes
#undef ExtSub
#define ExtSub
//-- Linux changes


Did you use http://www.kryoflux.com/download/spsdeclib_5.1_source.zip (for linux and macos) ?

Nicolas



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