help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation pb around CSparse


From: Pinçon Bruno
Subject: compilation pb around CSparse
Date: Fri, 21 Nov 2008 13:35:12 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080929)


Hello octave help list,

I met a problem in the octave-3.0.3 compilation. I have compiled the last
SuiteSpare (3.2.0) and then I try to compile octave. The configure step
seems OK, all sparse stuff seems to be detected, I got this :

UMFPACK libraries: -lumfpack
AMD libraries: -lamd
CAMD libraries: -lcamd
COLAMD libraries: -lcolamd
CCOLAMD libraries: -lccolamd
CHOLMOD libraries: -lcholmod
CXSPARSE libraries: -lcxsparse

But at compile time I got:


g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -O2 CSparse.cc -o pic/CSparse.o CSparse.cc: In member function ‘ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&, double&, void(*)(double), bool) const’: CSparse.cc:5769: erreur: invalid conversion from ‘void (*)(int, char*, int, char*)’ to ‘void (*)(int, const char*, int, const char*)’ CSparse.cc: In member function ‘SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&, octave_idx_type&, double&, void (*)(double), bool) const’: CSparse.cc:6012: erreur: invalid conversion from ‘void (*)(int, char*, int, char*)’ to ‘void (*)(int, const char*, int, const char*)’ CSparse.cc: In member function ‘ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const’: CSparse.cc:6303: erreur: invalid conversion from ‘void (*)(int, char*, int, char*)’ to ‘void (*)(int, const char*, int, const char*)’ CSparse.cc: In member function ‘SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const’: CSparse.cc:6525: erreur: invalid conversion from ‘void (*)(int, char*, int, char*)’ to ‘void (*)(int, con


Which don't seems to rely on a pb with SuiteSparse but merely an internal octave pb with slightly
different definition/declaration ?

Thanks for any hint.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]