Username: Password: Not registered?

Featured Job Listings

Jobs Software Papers All

SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

How do I use GSL on Visual C++ 2005 express?
Requested and Answered by Vanna on 16-Nov-2007 00:52 (11776 reads)
DOWNLOAD AND INSTALL GSL SOFTWARE

1.Download gsl-1.8.exe from http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=19804
(contains binaries and .lib files)
2.Execute and finish the installation.

3.Download gsl-1.8-src.exe from http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=19804
4.Execute and finish the installation.

INSTALL VISUAL C++ EXPRESS
If you have not installed Visual C++ 2005 express, use this link :
http://msdn.microsoft.com/vstudio/express/downloads/
select visual C++ express

BUILD GSL LIBRARIES FOR Visual studio
1. Launch Visual C++ Studio
2. Open project C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl.sln (assuming default path - replace if it is a different location)
3. Do a build all
4.Verify that after build is complete, new files are generated in subfolders in C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl

CONFIGURE PATH SETTINGS IN VISUAL C++ STUDIO
1.Launch Visual C++ studio
2.Select Tools->Options Menu
3.On the tree display in the Options dialog box, select branch for Projects and solutions->VC++ directories
4.On the right side of the dialog, select Executable files in the "show directories for" combo box and add the following paths:
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgslcblas\Debug-DLL
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl\Debug-DLL

5.In the "show directories for" combo box select "Include files" and add the following path:
C:\Program Files\GnuWin32\include

6.In the "show directories for" combo box select "Library files" and add the following paths:
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl\Debug-DLL
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgslcblas\Debug-DLL

HOW DO I USE GSL LIBRARY IN MY VC++ PROJECT?
1.Launch Visual studio
2.Open your VC++ project.
3.select menu Project -> properties
4.In the property pages dialog, select tree item "configration properties->Linker->Input
5.On the right hand side details, choose the field "Additional Dependencies" and append the following entries by clicking the ... button:
libgsl_dll_d.lib
libgslcblas_dll_d.lib


The comments are owned by the poster. We aren't responsible for their content.

Poster Thread
BCox
Posted: 2010/3/24 23:10  Updated: 2010/3/24 23:10
Just popping in
Joined: 2009/3/9
From:
Posts: 9
 Using GSL 1.13 in Visual Studio 2008
What is the difference in following the above directions vs.

http://stats-lee.blogspot.com/2009/04/gsl-111-and-visual-studio-2008-or-2005.html

I'm confused as to which set of directions to follow for installing GSL in Visual Studio 2008.

Thx!
Post Job
Employers - View Resumes
Featured Recruiters