sumit
2007-03-04 07:42:19 UTC
Dear friends
I am using fann for my ocr project (academic) .
I compiled the fann and its examples successfully in VC++6.
But when compiling my own application i am getting error
c:\program files\microsoft visual studio\vc98\include\math.h(514) : error
C2894: templates cannot be declared to have 'C' linkage
Then i tried to compile the xor_train.c after renaming it xor_train.cpp . I
got the same error.
Then i used c++ binding . I tried to compile xor_sample.cpp and i got same
error.
Please suggest a way . It would be nice if u keep it simple as i am not a
hardcore programmer .
Thanking you
I am using fann for my ocr project (academic) .
I compiled the fann and its examples successfully in VC++6.
But when compiling my own application i am getting error
c:\program files\microsoft visual studio\vc98\include\math.h(514) : error
C2894: templates cannot be declared to have 'C' linkage
Then i tried to compile the xor_train.c after renaming it xor_train.cpp . I
got the same error.
Then i used c++ binding . I tried to compile xor_sample.cpp and i got same
error.
Please suggest a way . It would be nice if u keep it simple as i am not a
hardcore programmer .
Thanking you
--
Sumit
Sumit