I used the first method of compiling, i.e. cd src && make but this fails because CCD_EXPORT is not set. In detail:
$ make USE_DOUBLE=yes cc -Wall -pedantic --std=gnu99 -I. -fvisibility=hidden -c -o support.o support.c In file included from support.c:18:0: support.h:40:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ CCD_EXPORT void __ccdSupport(const void *obj1, const void *obj2, ^ Makefile:35: recipe for target 'support.o' failed make: *** [support.o] Error 1
with
$ make --version GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and
$ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I used the first method of compiling, i.e. cd src && make but this fails because CCD_EXPORT is not set. In detail:
$ make USE_DOUBLE=yes cc -Wall -pedantic --std=gnu99 -I. -fvisibility=hidden -c -o support.o support.c In file included from support.c:18:0: support.h:40:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ CCD_EXPORT void __ccdSupport(const void *obj1, const void *obj2, ^ Makefile:35: recipe for target 'support.o' failed make: *** [support.o] Error 1
with
$ make --version GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and$ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.