visual studio 2012 - C++ Build library and link it -


i'm trying write program use fann library: http://leenissen.dk/fann/wp/

i downloaded source code, opened .sln project , compiled it. now: have do? tried create new "console application project", included main header

#include "src\include\fann.h" 

(i copied src folder in project folder)

i went on: project->properties->linker->general , pointed "directories library" "bin" folder in vs compiled .lib still have error "unresolved external symbol" (the error, of course, related functions i'm calling in code). don't know do, it's first time try similar, think i'm missing important here...

try adding .lib project->properties->linker->input->additional dependencies. you'll see combobox, in 'edit...' , you'll, window put name of library file. have have library directory set did. have research name of library file.

in this forum, using 'libfann.lib' name.


Comments