|
From: | Tim Kacprowski |
Subject: | kolmogorovs maxflow library |
Date: | Thu, 22 Aug 2013 12:33:18 +0200 |
mkoctfile -v --mex maxflowmex.cpp
g++ -c -fPIC -I/usr/include/octave-3.2.4 -I/usr/include/octave-3.2.4/octave -I/usr/include/mpi -I/usr/include/freetype2 -O2 -g -I. maxflowmex.cpp -o maxflowmex.o
In file included from ../maxflow_purec/graph.h:43:0,
from maxflowmex.cpp:20:
../maxflow_purec/block.h: In member function ‘Type* Block<Type>::New(int)’:
../maxflow_purec/block.h:124:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
../maxflow_purec/block.h: In member function ‘Type* DBlock<Type>::New()’:
../maxflow_purec/block.h:223:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++ -shared -Wl,-Bsymbolic -o maxflowmex.mex maxflowmex.o -L/usr/lib/octave-3.2.4 -loctinterp -loctave -lcruft -Wl,-Bsymbolic-functions -Wl,-z,relro -llapack -lblas -lfftw3 -lfftw3f -lreadline -lncurses -ldl -lhdf5 -lz -lm -lgfortranbegin -lgfortran
octave:1> test1()
error: `maxflowmex' undefined near line 35 column 18
error: called from:
error: [...]/maxflow_mex/maxflow.m at line 35, column 16
error: [...]/maxflow_mex/test1.m at line 32, column 16
[Prev in Thread] | Current Thread | [Next in Thread] |