On Tue, May 6, 2008 at 12:37 PM, Tatsuro MATSUOKA <[EMAIL PROTECTED]> wrote:
> Hello
>
>
>  --- Michael Goffioul <[EMAIL PROTECTED]> wrote:
>  > You need to add -DANN_NO_RANDOM to your compilation flags
>  > (or something similar, I don't remember exactly; look into source
>  > files).
>
>  g++ -c -I../include -g -O2  -DANN_NO_RANDOM rand.cpp
>
>  was successful.
>
>  `_imp___ZN13ANNbruteForceC1EPPdiib' like others ????
>  Are those Swig function?

No. The '_imp__' prefix is used with dll-decorated functions. This
means that you compiled your source files as if ANN was compiled
into a DLL, while it is not. Recompile the source files and avoid
the dll-decoration (see previous mail) and it should compile fine.

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

Reply via email to