[Lapackpp-devel] using lapack
Status: Beta
Brought to you by:
cstim
From: Do bi <mrc...@ya...> - 2006-07-27 17:20:19
|
Dear all, Now that I have successfully compiled lapackpp.vcproj in visual studio, please tell me how to use it in a c++ project. What files do I include, which .obj and .lb and .dll files are needed, and how to create s simple matrix and do some basic stuff. Regards Donald Christian Stimming <sti...@tu...> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 General answer to your questions: You need to compile the lapackpp library (DLL) yourself in order to use it. Obviously you are not very familiar with the process of compiling a DLL. I can help a little bit, but I'm neither willing nor able to give you a full-fledged introduction into how to use a compiler. You might want to consider using a different tool for completing your homework if you're in a hurry here and if you're not willing or able to work with your compiler yourself. Here are quick answers: Do bi schrieb: > I am using Microsoft Visual Studio version 2.0.50727 Are you really sure this is the only version number and it is the version number of your compiler? I know of "Microsoft Visual Studio" versions 6.x, 7.0.x, 7.1.x and maybe higher (8.x?), but *not* 2.0.x. Additionally, the "About" box will show you the version number of the "Microsoft .NET Framework", which is 1.1.x here, but that doesn't matter for a C++ project. If you are really using MSVC version 2.x, then this is way too old and lapackpp will not compile with this. You need at least 6.0. > 1. Install the .exe setup package( *I did this* ) > but it does not contain any auxiliary libraries BLAS32.DLL and others; Yes it does. Where did you look for BLAS32.DLL? It installs BLAS32.DLL into your c:\windows, and BLAS32.LIB into c:\program-files\lapackpp\lib (or whatever directory prefix you have chosen). > 2. Unpack the tar.gz package with the source code: > *do you mean unzipping the lapackpp-2.4.10.tar file?* http://sourceforge.net/project/showfiles.php?group_id=99696 says there is exactly one file ending with "tar.gz". > *What do you mean "with the source code", where is it? In the directories extracted from that package? > 3. compile the source code using the provided > lapackpp.vcproj MSVC project file, which will also > compile two small test programs. You might have to adapt the > linker input directories (Project Properties -> Linker -> Input) > so that the BLAS32.DLL library can be found. > > *I saw the lapackpp.vcproj, but how do I compile the soucecode with it?* Like, opening it with your MSVC compiler? And clicking Compile -> Build All? > *When I do "Project Properties -> Linker -> Input" what should i do, add > a file, which file or directory? * If you don't know what I mean, then just ignore it. You will encounter the respective error message early enough. > 4. After successfully compiling the DLL, you need to copy the > LAPACKPP.DLL file to whatever location you consider > appropriate. This can either be your c:\WINNT directory, or the > working directory of your actual application that should use > lapackpp. > > *Do you mean copying Lapackpp.ddl or addin it through project->properties* By "copy the LAPACKPP.DLL file" I indeed mean "copying lapackpp.dll", yes. Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKO02GXAi+BfhivFAQLEDgP/bE6lFwqpP9OVCNQ5QwrejBVHl2yEyG5P Za2CXNl/4ShvWPvUE2I/hAJQUQudtWGdar95o/acR5oRLrmhpzuDEgJ3JHUWZPKz noW0GWLoXZcne2klLqrWJRRTfVbDvZIaE7Q28b6bdqKiOy19ztjOsHMrLY3dsmJ5 n0AgcCAhZLU= =slue -----END PGP SIGNATURE----- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |