PetterS / SuiteSparse

A shallow fork of SuiteSparse adding build files for Visual Studio and support for ACML
100 stars 73 forks source link

Cannot compile in vs2010 #1

Closed pl8787 closed 11 years ago

pl8787 commented 11 years ago

error 1 error C1083: Can not open the file:“metis.h”: No such file or directory Almost all *.h cannot found.

I just open the solution file in Project document.

PetterS commented 11 years ago

Which project are you compiling?

PetterS commented 11 years ago

It's been a while since I compiled this, but the include paths should be configured; see https://github.com/PetterS/SuiteSparse/blob/master/Project/AMD/AMD.vcxproj

pl8787 commented 11 years ago

I have configured include path well, but It says

Error 1 error LNK2019: unresolved external symbol _dtrsm,in function _r_cholmod_super_numeric

pl8787 commented 11 years ago

For Lapack you build your self or download from http://icl.cs.utk.edu/lapack-for-windows/lapack/#build? Which version do I need ?

PetterS commented 11 years ago

But that's a completely different error. Now the linker complains about Lapack.

This project probably only works with the ACML linear algebra library.

pl8787 commented 11 years ago

Thank you! I solve it. The linked function name is different.Use dgemm instead of _dgemm.