Re: Quantlib issue (system.loadlibrary frozzen)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib issue (system.loadlibrary frozzen)

Joe Byers-2
Stephan,
Glad to see you got your problem fixed.  

The new problem I am not sure.  Posting it to the quantlib-users list where Eric and others can see it will get more knowledge base than I have:)

Joe

----- Original Message ----
From: "[hidden email]" <[hidden email]>
To: Joe Byers <[hidden email]>
Sent: Monday, February 19, 2007 4:47:55 PM
Subject: Re: Quantlib issue (system.loadlibrary frozzen)

Hi Joe, thank for your answer.

I have finally resolved the issue by installing MinGW instead of cygwin AND by
compiling the quantlib library in static mode, instead of a shared lib.

This solves the issue!!!
I face another problem now which is strange as well. To me it s still a
compilation/build issue: When my java code calls a java wrapper function with
invalid argument (eg Date date(378, Month.February, 2007), instead of Date
date(2, Month.February, 2007)), the program exits with a runtime Error.
That is
strange because i have wrapped my call with a try/catch (throwable) but
it seems
that the C++ exception generated by quantlib.dll is not returned back to the
java wrapper....

Cheers,
Stephane.

Quoting Joe Byers <[hidden email]>:

> Stephan,
>
> My path for the test program included an environment variable for the path
> ${env_var:PATH};C:\Libraries\DLL\;
>
> C:\Libraries\DLL has the QuantLibCPPwrapper.dll file in it.
>
> Please note that this path variable is set inside Eclipse.
>
> Joe
>
>
> A man is not the center of his universe, rather
> those he loves are.  So his focus should always be on them
> for they will provide him with love and happiness all of his life - Anonymous
>
> ----- Original Message ----
> From: "[hidden email]" <[hidden email]>
> To: Joe Byers <[hidden email]>
> Sent: Monday, February 19, 2007 5:18:38 AM
> Subject: Re: Quantlib issue (system.loadlibrary frozzen)
>
> Hi Joe,
>
> Sorry to go back to you that soon, but i am just curious if you 've
> found your
> fix for Quantlib?
>
> Cheers.
> Stephane.
>
> Quoting Joe Byers <[hidden email]>:
>
>> Stephan,
>>
>> If you give me the weekend, I will try and find my fix.
>>
>> Joe
>>
>>
>> A man is not the center of his universe, rather
>> those he loves are.  So his focus should always be on them
>> for they will provide him with love and happiness all of his life -
>> Anonymous
>>
>> ----- Original Message ----
>> From: "[hidden email]" <[hidden email]>
>> To: [hidden email]
>> Sent: Thursday, February 15, 2007 10:45:34 AM
>> Subject: Quantlib issue (system.loadlibrary frozzen)
>>
>> Hi Joe,
>>
>> I wonder if you still remember the message you have posted on
>> Quantlib mailing
>> list about the example java application hanging/stoping but not exiting the
>> program when executing the system.loadlibrary(("QuantlibCPPWrapper"); line?
>>
>> As i have the same problem, any help will be very much appreciated :)
>>
>> Thank you.
>> Stephane.
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>>
>>
>>
>>
>>
>> ____________________________________________________________________________________
>> Be a PS3 game guru.
>> Get your game face on with the latest PS3 news and previews at Yahoo! Games.
>> http://videogames.yahoo.com/platform?platform=120121
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Need a quick answer? Get one in minutes from people who know.
> Ask your question on www.Answers.yahoo.com



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.








 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
-------------- next part --------------
An HTML attachment was scrubbed...
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users