Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails #41

Open
Azrael3000 opened this issue Apr 11, 2018 · 0 comments
Open

Compilation fails #41

Azrael3000 opened this issue Apr 11, 2018 · 0 comments

Comments

@Azrael3000
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant