[Gmsh] cmake error

Ziyu ZHANG buaazhangziyu at gmail.com
Tue Jan 14 20:10:15 CET 2014


Hi, I have got some error when compiling from the scratch

CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::eig(fullVector<double>&, fullVector<double>&,
fullMatrix<double>&, fullMatrix<double>&, bool)':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:265: undefined
reference to `dgeev_'
CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::luSolve(fullVector<double> const&,
fullVector<double>&)':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:284: undefined
reference to `dgesv_'
CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::invert(fullMatrix<double>&) const':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:306: undefined
reference to `dgetrf_'
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:310: undefined
reference to `dgetri_'
CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::invertInPlace()':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:332: undefined
reference to `dgesv_'
CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::determinant() const':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:352: undefined
reference to `dgetrf_'
CMakeFiles/gmsh.dir/Numeric/fullMatrix.cpp.o: In function
`fullMatrix<double>::svd(fullMatrix<double>&, fullVector<double>&)':
/home/zz31/gmsh-2.8.3-source/Numeric/fullMatrix.cpp:376: undefined
reference to `dgesvd_'
collect2: ld returned 1 exit status
make[2]: *** [gmsh] Error 1
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2

Any idea what the problem is?

-- 
Ziyu ZHANG 張子瑜
PhD Student
Duke Computational Mechanics Laboratory
Department of Civil & Environmental Engineering
Duke University
Office: 919-660-5031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140114/bb6c985f/attachment.html>