Re: [Lapackpp-devel] Hilfe bei Lapack++ auf Windows XP
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2007-02-15 16:24:20
|
Hello, 1. Please always write to the lapackpp-devel mailinglist, *never* to=20 individial developers. (Answering in english, but German is ok for me) Am Donnerstag, 15. Februar 2007 13:52 schrieb Christoph Schneider: > Ich will ein C++ Programm schreiben, mit Microsoft Visual Studio 2003 > unter Windows XP und m=F6chte gerne das Lapack++ paket benutzen. Die > Installation habe ich wie auf der sourceforge Seite > http://lapackpp.sourceforge.net/html/index.html vorgenommen. > > Es kommt jedoch beim Comilieren bereits bei der Variablendeklaration zu > folgender Fehlermeldung: > > baum.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: virtual __thiscall > LaGenMatDouble::~LaGenMatDouble(void)" (__imp_??1LaGenMatDouble@@UAE@XZ) > referenced in function _main Seems to me you are trying to use the pre-compiled DLL but you are compilin= g=20 your own project with MSVC. To quote the page you've referenced: "Watch out= :=20 This DLL works only with the gcc compiler, not with the Microsoft Visual=20 Studio C++ (MSVC) compiler!"=20 If that's not your problem, please describe more clearly *how* you installe= d=20 lapackpp. Christian > baum.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall > LaGenMatDouble::LaGenMatDouble(int,int)" > (__imp_??0LaGenMatDouble@@QAE@HH@Z) referenced in function _main > Debug/tree.exe : fatal error LNK1120: 2 unresolved externals > > > das Programm baum.cpp lautet: > > ************************** > > #include <lapackpp.h> > > int N; > > main() > { > N=3D4; > LaGenMatDouble A(N,N); > > } > > ****************************** > > > Wo k=F6nnte deiner Meinung der Fehler liegen? Kann er beim Linken nicht > auf die notwendige DLL zugreifen? > > Vielen Dank im voraus > Christoph Schneider |