Re: [Lapackpp-devel] Some problems when Compiling lapackpp-2.4 .13 codes with MSVC++ 6.0
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2006-08-28 07:44:22
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 yzj_0928 schrieb: > Stimming,I have downloaded your codes about lapackpp-2.4.13.I have > encountered some problems when Compiling those codes with MSVC++ 6.0. lapackpp-2.4.13 is tested only with MSVC 7.1 (Microsoft Visual Studio .NET). It probably doesn't work with the older MSVC 6.0. One of the older lapackpp versions used to work fine with MSVC 6.0, though, so you should consider going back version by version of lapackpp to see which one works fine. (The libblas32.lib et al are unchanged for all lapackpp-2.4.x versions, so you don't need to install any different versions there.) > If it has been compiled succfully ,how to use it ? In the same > workspace ,are the other projects such as tgd or tgc files the test > programs ? Yes. > MSVC++ 6.0 seems can't recoglize the .cc file .I renamed the > tgd.cc to tgd.cpp ,then compiled the project. That's a problem with MSVC 6.0. Newer MSVC will accept them without any problem. > If copy the lapackpp.dll to the project directory and append in the > linker >input options ,it has only 1 errors, > > --------------------Configuration: 1 - Win32 Debug-------------------- > Linking... > lapackpp.dll : fatal error LNK1136: invalid or corrupt file > Error executing link.exe. > 1.exe - 1 error(s), 0 warning(s) > ---------------------------------------------------------------------- > > So,summarizing above information ,I have several questions, > 1.Is the compiling process I have done,correctly? Yes, except that you have to copy both lapackpp.dll *and* lapackpp.lib into your project directory. In the Linker->Input option, you insert the filename "lapackpp.lib", but when starting your compiled program, it will need the lapackpp.dll. Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRPKeuWXAi+BfhivFAQKRdgP/ZOA02S03+GXwIPRpc+NIwfW7tK6cTsYd WwBv87KtbMUsPpFY0sWOKw0xyH4Nu50RnLBODps7dsbOQWBHI9RTXIAq/cczNOPx YLVeko5BKvt1bHd15klXgKShwTlazFuPcA8ajYXVxNKGq5vOZhmtP5df4KiYsQYb v6AHoRCvKTQ= =zKxG -----END PGP SIGNATURE----- |