[Lapackpp-devel] lapack++ for msys/windows xp
Status: Beta
Brought to you by:
cstim
|
From: Andrew O. <end...@gm...> - 2006-04-09 02:38:24
|
Hey, I'm new to UNIX so I apologize in advance if my questions seem stupid. I installed the windows lapack++ file "lapackpp-2.4.7-setup.exe" into C:\msys\1.0\lib\lapackpp. I copy and pasted all the header files as well as the "liblapack32.dll" (the shared library) into C:\msys\1.0\mingw\include\lapackpp On your homepage in the Library Usage section you say: >>The resulting shared library is called "liblapackpp.so" or, on Windows, >> "liblapackpp32.dll". >>To use it in your program, you need to specify the location of the header files by the >>compiler argument -I (for gcc), the location of the shared library by the compiler >>argument -L and the library itself by -llapackpp . To compile my program, I type in: >>g++ program.cpp -IC:/msys/1.0\mingw/include/lapackpp >>-LC:/msys/1.0\mingw/include/lapackpp -llapackpp The first argument with -I is for the header file location, the second argument with -L is for the location of "liblapackpp.dll", and the third argument with -l is for lapackpp. The program doesn't compile and I don't know what is wrong. I get >>C:\msys\1.0\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bi= n\ld.exe: cannot >>find -llapackpp I believe that I installed the header files correctly but I'm not sure if I handled the "liblapackpp.dll" correctly. Also, I do not know anything about the "library itself"... namely lapackpp. I have no yet encountered a "lapackpp.lib" or anything of that sort. Also, one last thing I'm worried about is your README for the windows installation. It mentions entering into the UNIX command line ./configure --prefix=3D/directory/ make make install Do I really need to worry about this? Or is just executing 'lapackpp-2.4.7-setup.exe' enough to set everything up? I apologize if these is very convoluted, please let me know if I can clarify anything. Any help would be greatly appreciated. Thanks. |