Mail Archives: cygwin/2007/03/02/06:09:04
Hi everyone.
I downloaded, compiled and installed ATLAS. Now in my
/usr/local/atlas/lib I have the 4 ATLAS .a.
But, when I try to compile my program with:
g++ -I. -I../../src -I/usr/local/atlas/include/ -g -O2 -MT
matrix-ops.o -MD -MP -MF .deps/matrix-ops.Tpo -c
-o matrix-ops.o ../../src/matrix-ops.cpp
mv -f .deps/matrix-ops.Tpo .deps/matrix-ops.Po
And link with:
g++ -g -O2 -L/usr/local/atlas/lib/ -llapack -lcblas -lf77blas -latlas
-o linprog.exe main.o matrix.o vector.o lipsol.o myexception.o
matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o matrix-fun.o
matrix-lna.o matrix-stb.o sparsematrix.o
I get:
matrix-ops.o: In function `_ZNK6MatrixmlERKS_':
/tesi/Progetto.min/build/src/../../src/matrix.h:175: undefined reference
to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int,
int, double, double const*, int, double const*, int, double, double*, int)'
Can anybody help me? I've tried everything... I'm going crazy!
Ignazio
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -