help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Re:Hello All, didn't find any tips for BorlandC++ Builde


From: Denis Glehen
Subject: Re: [Help-gsl] Re:Hello All, didn't find any tips for BorlandC++ Builder v6 and GSL lib (Denis Glehen)
Date: Sat, 12 Dec 2009 12:02:25 +0100

yes !
thanks tangmingjiali !!

so.. the process to make it working :


I have downloaded gslv1.13 binaries from ascend wiki (
http://ascendwiki.cheme.cmu.edu/Binary_installer_for_GSL-1.13_on_MinGW)

a) in this directory there are 2 dlls, rename it without the -0 (libgsl.dll&
libgslcblas.dll)

b) create .lib files for borland by

implib –c –a –f  libgsl.lib libgsl.dll
implib –c –a –f  libgslcblas.lib libgslclas.dll

c) move .dll files to the windows\system32 directory
    libgsl.dll
    libgslcblas.dll

d) move .lib files to CBuilder\lib directory
    libgsl.lib
    libgslcblas.lib

e) modify in the gsl/include the gls_types.h

replace #ifdef WIN32
by #ifdef __WIN32__

f) create a test project with the .cpp/.def etc.. files and
add in the project the following lib files from CBuilder\lib

libgsl.lib
libgslcblas.lib

and very important, in the linker option
(Project/options/directories-conditionnals)
add GSL_DLL in "Conditional defines" text box

Compile, link, and it works

Thank you very much for all your advices.
I"l using it on borland and QT with MinGW and it works very well.
Very nice project.

Best for everyone
denis






2009/12/11 tangmingjiali <address@hidden>

> http://read.newbooks.com.cn/info/195035.html
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>
>


-- 
Denis Glehen
+33 6 72 96 35 44 - www.denisglehen.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]