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

(CCode) Make fails to build program (test.out) #11

Open
lmawarid opened this issue Jul 6, 2016 · 1 comment
Open

(CCode) Make fails to build program (test.out) #11

lmawarid opened this issue Jul 6, 2016 · 1 comment

Comments

@lmawarid
Copy link

lmawarid commented Jul 6, 2016

When I tried make, I got the following errors:

image

The first two warnings are fixed if I change the compiler flag from -std=c99 to -std=gnu99. However, I'm at a loss as to why it won't find the library, even when I've included it in an appropriate directory.

Make test works properly.

EDIT: If it helps, I'm compiling with Cygwin gcc on Windows 10.

@bmaclach
Copy link
Collaborator

I suspect that this has to do with the compiler used to install the CVODE libraries. I believe that the compiler used to install the libraries must be the same compiler called by the makefile (Cygwin gcc in your case).

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

2 participants