I have not compiled TAUCS on Linux for awhile. As far as I remember,
there was some incompatibility between the TAUCS headers and some
headers used by g++ indeed. That is, the compilation as a C code was
okay, but with C++ there was some problems - yes, it was necessary to
fix something in the taucs.h. Well, it could depend on the g++ version.
I do not have my files with me right now but I will post them tomorrow.
Evgenii
---------------------------------------
Isaac,
>> but now when i run
>> g++ test_taucs.cpp -ansi -g -Wall -o lol -Iexternal/src/ lib/linux/
>> libtaucs.a -Isrc/ -Ibuild/linux/ -Llib/linux/ -ltaucs -llapack -
>> lcblas -latlas -lm -lg2c
>> i get
>> /tmp/ccVH3owx.o: In function `main':
>> /home/isaac/program/taucs/test_taucs.cpp:76: undefined reference to
>> `taucs_logfile(char*)'
>> /home/isaac/program/taucs/test_taucs.cpp:77: undefined reference to
>> `taucs_linsolve(taucs_ccs_matrix*, void**, int, void*, void*, char**,
>> void**)'
>> /home/isaac/program/taucs/test_taucs.cpp:106: undefined reference to
>> `taucs_linsolve(taucs_ccs_matrix*, void**, int, void*, void*, char**,
>> void**)'
Not sure, but if you are using the header file "taucs.h" that I sent you in
the morning, then test_taucs.cpp that you have downloaded from
http://matrixprogramming.com/TAUCS/ might not work properly unless you do
some minor changes. If you want you can try the attached "test_taucs.cpp"
which is the original version which I used with the header file I sent you
in the morning. If that works, then you can study the options that Evgenii
changed to the original test.
Also, because of the error below it seems to be the path to headers files
and/or libraries might be wrong or incomplete.
Alejandro.