This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Using GSL with Borland C++


Hello Devin,

I use the gsl library with Borland C** Builer and I suposse it will
work with Borland 5.02 because the compiler I think is the same,
now I am on Hollidays so I can not give you a full help until I go back at
work
nex week.

 The main problem with the gsl librayr and Borland is that some variables
are not
exported in the code of the library in the right way for Borland and the
project compiles fine but the exe works depending of the part of the gsl
libray you are using, if the code you use does not use these variables
(direct or inderectly) the code works if not you will have errors.

 In case that happens you need to debug your code until you see what
variable/function of gls causes the problem, once you have fund it you mus
add the *.c source code of
the gsl library that include this variable/function  and add it to your
project.

 If you can not even compile the project problably you have not added the
libraries you must,
you only need to add the  2 *.lib of the gsl for borland in your project
(besides your code of course), I don´t remember now the names, and you need
to have later the corresponding dll in the directory of you program or in
the windows/system.

 I hope I have helped you
S.Calderon

----- Mensaje original -----
De: <johnson@stat.colostate.edu>
Para: <gsl-discuss@sources.redhat.com>
Enviado: miércoles, 27 de marzo de 2002 1:02
Asunto: Using GSL with Borland C++


> Can anyone who has used gsl with Borland C++ 5.02 give me some
> hints on how to include the import library and .dll with my project. Sorry
> to ask such a basic question, but, I'm new to the IDE type environment
> and I can't get the import library to link properly. I've tried the
following
> hierarchy in the project manager window
>
> exesrc.exe
>        |
>       +-- exesrc.cpp
>        |
>       +--libgsl-bcc.lib
>        |           |
>        |          +--libgsl.dll
>        |
>       +--libgslcblas-bcc.lib
>                    |
>                   +--libgslcblas.dll
>
> I've also tried many permutations as well, but nothing seems to work.
> Am I missing anything major? Any help is appriciated I've spent many
> hours trying to successfully use the library.
>
> -Devin
>
> --------------------------------------------------------------------
> Devin Johnson
> Graduate Teaching Assistant
> Department of Statistics
> Colorado State University
> -------------------------------------------------------------------
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]