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:49:47
|
Am Donnerstag, 15. Februar 2007 17:44 schrieb Christoph Schneider: > for the integration of the lapack++ package into the c++ environment > (Microsoft Visual Studio 2003 .Net) I followed the instructions > "For compiling on Windows with the Microsoft Visual Studio C++ (MSVC) > compiler" on http://lapackpp.sourceforge.net/ and the compilation/build > of the lapackpp.vcproj succeeded, ending up in an compiled LAPACKPP.DLL. > > So I am not using the precompiled dll. Okay. Then I assume you also compiled the three example program that are included in lapackpp.vcproj? These obviously linked without this linker error, so you should try to compare the compiler/linker settings of the example programs with the ones of your own program. > As I stated before, I would like to use the linear algebra solvers of > lapack++ for a c++ programm. So I started to declare the matrixes by > > LaGenMatDouble A(N,N); > > in my program, but received the following errors while compiling the c++ > file with the Microsoft Visual Studio C++ (MSVC) compiler: > > baum.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: virtual __thiscall > LaGenMatDouble::~LaGenMatDouble(void)" (__imp_??1LaGenMatDouble@@UAE@XZ) > referenced in function _main First I'd suggest you should check whether the linker actually finds your newly compiled version of lapackpp.dll and lapackpp.lib. Well, other than that... I don't have MSVC and/or winXP at hand, so I can really only suggest you should compare your own program to lapackpp's example program. We would be glad to hear about the final outcome of your problem. Regards Christian |