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.


Regards

Tatsuro


 ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.0.1
checking for octave_config_info('canonical_host_type') in Octave... 
i686-pc-mingw32
checking for octave_config_info('SHLEXT') in Octave... dll
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
configure: creating ./config.status
config.status: creating Makeconf

  "$prefix" is /usr/local
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/local/octave-3.0.1/share/octave/3.0.1/site/m/octave-forge
   oct-files: 
/usr/local/octave-3.0.1/libexec/octave/3.0.1/site/oct/i686-pc-mingw32/octave-forge
   binaries:  
/usr/local/octave-3.0.1/libexec/octave/3.0.1/site/exec/i686-pc-mingw32
alternatives:
   m-files:   
/usr/local/octave-3.0.1/share/octave/3.0.1/site/octave-forge-alternatives/m
   oct-files:
/usr/local/octave-3.0.1/libexec/octave/3.0.1/site/octave-forge-alternatives/oct/i686-pc-mingw32

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${prefix}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      octave (version 3.0.1)
   mkoctfile:   mkoctfile for Octave 1
   swig:

find . -name NOINSTALL -print    # shows which toolboxes won't be installed


[EMAIL PROTECTED] /local/octave-forge-bundle-20080429/main/ann-1.0.s/src
$ make
make -C ann all
make[1]: Entering directory 
`/local/octave-forge-bundle-20080429/main/ann-1.0.s/src/ann'
make -C src targets
make[2]: Entering directory 
`/local/octave-forge-bundle-20080429/main/ann-1.0.s/src/ann/src'
g++ -c -I../include -g -O2  ANN.cpp
ANN.cpp: In function `ANNcoord* annAllocPt(int, ANNcoord)':
ANN.cpp:108: warning: 'ANNcoord* annAllocPt(int, ANNcoord)' defined locally 
after being referenced
with dllimport linkage
ANN.cpp: In function `void annDeallocPt(ANNcoord*&)':
ANN.cpp:125: warning: 'void annDeallocPt(ANNcoord*&)' defined locally after 
being referenced with
dllimport linkage
ANN.cpp: In function `ANNcoord* annCopyPt(int, ANNcoord*)':
ANN.cpp:138: warning: 'ANNcoord* annCopyPt(int, ANNcoord*)' defined locally 
after being referenced
with dllimport linkage
g++ -c -I../include -g -O2  brute.cpp
brute.cpp: In constructor `ANNbruteForce::ANNbruteForce(ANNcoord**, int, int, 
bool)':
brute.cpp:49: warning: non-inline function 
'ANNbruteForce::ANNbruteForce(ANNcoord**, int, int, bool)'
is defined after prior declaration as dllimport: attribute ignored
brute.cpp: In destructor `virtual ANNbruteForce::~ANNbruteForce()':
brute.cpp:54: warning: non-inline function 'virtual 
ANNbruteForce::~ANNbruteForce()' is defined after
prior declaration as dllimport: attribute ignored
brute.cpp: In member function `virtual void 
ANNbruteForce::annkSearch(ANNcoord*, int, ANNidx*,
ANNdist*, double)':
brute.cpp:64: warning: non-inline function 'virtual void 
ANNbruteForce::annkSearch(ANNcoord*, int,
ANNidx*, ANNdist*, double)' is defined after prior declaration as dllimport: 
attribute ignored
brute.cpp: In member function `virtual int 
ANNbruteForce::annkFRSearch(ANNcoord*, ANNdist, int,
ANNidx*, ANNdist*, double)':
brute.cpp:91: warning: non-inline function 'virtual int 
ANNbruteForce::annkFRSearch(ANNcoord*,
ANNdist, int, ANNidx*, ANNdist*, double)' is defined after prior
declaration as dllimport: attribute ignored
g++ -c -I../include -g -O2  kd_tree.cpp
g++ -c -I../include -g -O2  kd_util.cpp
g++ -c -I../include -g -O2  kd_split.cpp
g++ -c -I../include -g -O2  kd_dump.cpp
kd_dump.cpp: In constructor `ANNbd_tree::ANNbd_tree(std::istream&)':
kd_dump.cpp:218: warning: non-inline function 
'ANNbd_tree::ANNbd_tree(std::istream&)' is defined after
prior declaration as dllimport: attribute ignored
g++ -c -I../include -g -O2  kd_search.cpp
g++ -c -I../include -g -O2  kd_pr_search.cpp
g++ -c -I../include -g -O2  kd_fix_rad_search.cpp
g++ -c -I../include -g -O2  bd_tree.cpp
bd_tree.cpp: In constructor `ANNbd_tree::ANNbd_tree(ANNcoord**, int, int, bool,
int, ANNsplitRule, ANNshrinkRule)':
bd_tree.cpp:124: warning: non-inline function 
'ANNbd_tree::ANNbd_tree(ANNcoord**, int, int, bool, int,
ANNsplitRule, ANNshrinkRule)' is defined after prior declaration as dllimport: 
attribute ignored
g++ -c -I../include -g -O2  bd_search.cpp
g++ -c -I../include -g -O2  bd_pr_search.cpp
g++ -c -I../include -g -O2  bd_fix_rad_search.cpp
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.
make[2]: *** [perf.o] Error 1
make[2]: Leaving directory 
`/local/octave-forge-bundle-20080429/main/ann-1.0.s/src/ann/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/local/octave-forge-bundle-20080429/main/ann-1.0.s/src/ann'
make: *** [all] Error 2

--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/

-------------------------------------------------------------------------
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