|
From: Luigi B. <lui...@gm...> - 2010-04-13 09:10:50
|
On Fri, 2010-04-09 at 13:15 +0200, Norbert Irmer wrote: > I finally solved my problems. > > I had 4 unresolved symbols. > > 3 were due to functions, which were declared and defined with > different signatures, e.g. Ok, I'll fix those for next release. > As i previously wrote, when compiling Quantlib with Sunstudio i got a > lot of undefined "M_PI", "sqrt" etc.. > > I solved these by simply adding lots of "#include <math.h>" to the > sources, perhaps this could be done more elegantly at a central > location. Strange. Does adding '#include <cmath>' work instead? Also, does the compiler complain about 'sqrt' or 'std::sqrt'? May you send me the exact message? Finally, I'm not familiar with Sunstudio---is it just a set of compilers or an IDE? That is, do you run './configure' and 'make' or what? Thanks, Luigi -- Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. -- Antoine de Saint-Exupery |