public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brian Gough <bjg@network-theory.co.uk>
To: "Santiago Calderon" <sacate@jazzfutboleros.com>
Cc: <gsl-discuss@sources.redhat.com>
Subject: Re: BORLAND C++
Date: Thu, 06 Dec 2001 12:56:00 -0000	[thread overview]
Message-ID: <15385.11499.986044.705499@debian> (raw)
Message-ID: <20011206125600.mJyof4od9r5W6tNAInGUGbQY5HskEAEfMg23bV63JYw@z> (raw)
In-Reply-To: <003201c183b4$a8f70f00$0be6a8c0@SACATE>

Santiago Calderon writes:
 >  I was looking for and I found that the problem was
 > caused when you tried to write in some memory variable that
 > it seems to belong to the dll part and it is not exported.
 >  Well, I solved the problem in this situation simply adding
 > the *.c file of gsl code involve with this variable in my
 > project.
 >  
 > In the test.c example of the randist directory I added the
 > mt.c file of the gsl source in the randist directory to my
 > project to use the variable of gsl involved in this case that
 > caused the problems from this intead of from the dll directly and
 > it works. 
 >  
 >  I do not know exactly whay this problem happens but the
 > method I write solved my problems by now.

Hi,

The errors are related to static data (e.g. pointers) not being
imported.  There is some information on the gnuwin32 site at
http://gnuwin32.sourceforge.net/compile.html

In MSVC the extension __declspec(dllimport) can be added to the header
files to handle that, I don't know what other compilers do though.

regards
Brian

  parent reply	other threads:[~2001-12-13 23:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19 13:20 Santiago Calderon
2001-12-06 10:11 ` Santiago Calderon
2001-12-19 13:20 ` Brian Gough [this message]
2001-12-06 12:56   ` Brian Gough
2001-12-19 13:20   ` Santiago Calderon
2001-12-06 12:56     ` Santiago Calderon
2001-12-19 13:20     ` Brian Gough
2001-12-08  8:07       ` Brian Gough
2001-12-15  6:43       ` Brian Gough
2001-12-19 13:20 Borland C++ Przemyslaw Sliwa
2001-11-27 13:14 ` Przemyslaw Sliwa
2001-12-19 13:20 ` Brian Gough
2001-11-29 11:15   ` Brian Gough
2001-12-19 13:20   ` Przemyslaw Sliwa
2001-12-01 23:20     ` Przemyslaw Sliwa
2001-12-19 13:20     ` Przemyslaw Sliwa
2001-12-19 13:20     ` Brian Gough
2001-12-03  7:21       ` Brian Gough
2002-12-31  9:55 Viadrina
2002-04-17  7:43 ` Viadrina
2002-12-31  9:55 ` Brian Gough
2002-04-18 23:32   ` Brian Gough
2002-12-31  9:55 ` Santiago Calderon
2002-04-21 19:48   ` Santiago Calderon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15385.11499.986044.705499@debian \
    --to=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sources.redhat.com \
    --cc=sacate@jazzfutboleros.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).