Wellington - 2014-09-21

Hi! I'm new to C language and to FANN, and I'm trying to compile this Simple training example.

First I got "definition of dllimport function not allowed", which I fixed with this hint.

Now, I got:
"1>fann.obj : error LNK2005: _fann_create_standard already defined in doublefann.obj"

And I saw in fann.h:
/ This file defines the user interface to the fann library.
It is included from fixedfann.h, floatfann.h and doublefann.h and should
NOT be included directly. If included directly it will react as if
floatfann.h was included.
/

But if I try including fixedfann.h I will get:
"1>fann.obj : error LNK2005: _fann_create_standard already defined in doublefann.obj"

And trying with "doublefann.h" I will also get:
"1>fann.obj : error LNK2005: _fann_create_standard already defined in doublefann.obj"

Any idea how to compile this simple example?