help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] C++ Builder and GSL


From: Fedya Mosalov
Subject: Re: [Help-gsl] C++ Builder and GSL
Date: Fri, 30 Sep 2005 08:59:42 +0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Hello.

When I had such troubles I build some parts of GSL from sources using command line tools bcc and tlink. I can publish resulting *.lib files on Internet if somebody interested in it. It works.

One trouble I can't solve is exception processing.

try {
        /* some gsl code */
} catch (...) {
}

My program crashes if some errors is occured in GSL code.

S V Subrahmanian wrote:
I am having problems linking GSL using C++ Builder.  I have written a very 
simple code:

#include <iostream.h>
#include <gsl/gsl_matrix.h>

int main(int argc, char* argv[])
{
    gsl_matrix* m = gsl_matrix_alloc(2,2);
    return (1);
}

I get the following link error:

Error: 'C:\PROGRAM FILES\GNUWIN32\LIB\LIBGSL.LIB' contains invalid OMF record, 
type 0x21 (possibly COFF)

Can somebody help?

Regards,
SVS




_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl


--
fedya
icq:86829154





reply via email to

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