On Tue, May 6, 2008 at 9:33 AM, Tatsuro MATSUOKA <[EMAIL PROTECTED]> wrote: > Hello > > This is a report. > However if you consider the matter, it would be greatful. > > Anyway I at the moment will state that the ann package is not supported on > my mingw octave-3.0.1. > > In make > g++ -c -I../include -g -O2 perf.cpp > perf.cpp:70: error: function `void annResetStats(int)' definition is marked > dllimport. > perf.cpp:84: error: function `void annResetCounts()' definition is marked > dllimport. > perf.cpp:94: error: function `void annUpdateStats()' definition is marked > dllimport. > perf.cpp:116: error: function `void annPrintStats(ANNbool)' definition is > marked dllimport.
You need some additional magic in include/ANN.h, because it will try to compile a DLL by default if WIN32 is defined; hence functions will be decorated with dllimport/dllexport. Michael. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
