Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ol> <li>The compiler has compiled your code. The includes are really work. (But you don't have to specify full path there, just the name of the header, if the library is installed correctly).</li> <li>This is the linker (<code>ld</code>) who can't find the method.</li> <li>The linker problems about whether you have library with the method definition and give it to the linker (in its options) when you call it.</li> <li>You use make file, so you have to specify options (something like <code>-lFANN</code>) and path to the library there (like <code>-L/path/path/path</code>. The path you also can specified in <code>$LD_LIBRARY_PATH</code> system variable, then you don't need <code>-L</code> option). Also you have to install (compile) the library itself before to use it. You have installation guide <a href="http://leenissen.dk/fann/wp/help/installing-fann/" rel="nofollow">here</a>.</li> </ol> <p>The guide works for me:</p> <p>Download the FANN-2.2.0-Source.</p> <p>Install it with cmake:</p> <pre><code>[08:42:24]~/Downloads$ cd FANN-2.2.0-Source/ [08:42:27]~/Downloads/FANN-2.2.0-Source$ ls CMakeLists.txt README.txt bin datasets src COPYING.txt VS2010 cmake examples [08:42:27]~/Downloads/FANN-2.2.0-Source$ cmake . -- The C compiler identification is GNU 4.7.3 -- The CXX compiler identification is GNU 4.7.3 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /opt/local/bin/gcc -- Check for working C compiler: /opt/local/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /&lt;...&gt;g++ -- Check for working CXX compiler: /&lt;...&gt;g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- FANN is used as APPLICATION_NAME -- Configuring done -- Generating done -- Build files have been written to: /Users/ikulakov/Downloads/FANN-2.2.0-Source [08:43:57]~/Downloads/FANN-2.2.0-Source$ make Scanning dependencies of target doublefann [ 25%] Building C object src/CMakeFiles/doublefann.dir/doublefann.c.o Linking C shared library libdoublefann.dylib [ 25%] Built target doublefann Scanning dependencies of target fann [ 50%] Building C object src/CMakeFiles/fann.dir/floatfann.c.o Linking C shared library libfann.dylib [ 50%] Built target fann Scanning dependencies of target fixedfann [ 75%] Building C object src/CMakeFiles/fixedfann.dir/fixedfann.c.o Linking C shared library libfixedfann.dylib [ 75%] Built target fixedfann Scanning dependencies of target floatfann [100%] Building C object src/CMakeFiles/floatfann.dir/floatfann.c.o Linking C shared library libfloatfann.dylib [100%] Built target floatfann [08:44:02]~/Downloads/FANN-2.2.0-Source$ sudo make install </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload