Bugs item #1581325, was opened at 2006-10-20 16:23
Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1581325&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Postponed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: trying to compile a sample with Xcode 2.4 Initial Comment: Hi all, I've been thourgh all the compilation of QuantLib 0.3.13 on Mac OS X 10.4 ppc and now try to compile the EquityOption.cpp using XCode. I don't know if I can use gcc 4.0, I tried, and unless I use ZeroLink in Debug mode I don't have the correct input (I check against the /usr/local/ bin/EquityOption that was build with QuantLib). All I have is zeros anywhere. If I try to use gcc 3.3 things go worst and the exe hang since the beginning after having display "Option type = put". Here's the call stack : #0 0x0001e558 in std::locale::locale () #1 0x0002fc58 in std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_convert_int<unsigned long> () #2 0x0002f7dc in std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put () #3 0x94ada15c in std::ostream::operator<< () #4 0x01195864 in QuantLib::detail::operator<< (out=@0xa1398, holder=@0xa1404) at dataformatters.cpp:29 #5 0x0100e654 in QuantLib::detail::operator<< (out=@0xa1398, holder=@0xbffff228) at date.cpp:751 #6 0x0100e6ec in QuantLib::operator<< (out=@0xa1398, d=@0xa1404) at date.cpp:722 #7 0x000023e8 in main () Thanks for your help PowerMike ---------------------------------------------------------------------- >Comment By: Luigi Ballabio (lballabio) Date: 2006-11-03 13:12 Message: Logged In: YES user_id=75450 Ok, I'm closing the bug for the time being. Thanks, Luigi ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-10-27 18:19 Message: Logged In: NO OK, I've figured that using gcc 4 was good and the zeros problem was in fact a link problem with boost (templates). So I installed the right version of boost from darwinports. And the compiled QuantLib. So if I use the static version of libQuantLib that works. I have still zeros when I use a dylib (shared lib). I'll figure out this as well in the near future I hope. thanks PowerMike ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2006-10-25 13:10 Message: Logged In: YES user_id=75450 Did you compile QuantLib as a static or a dynamic library? If dynamic, does the problem persist if you switch to static instead? Luigi ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1581325&group_id=12740 |
Free forum by Nabble | Edit this page |