Registered Member
|
I think there is a bug. Krita desn't want to link with latest (svn) version of Eigen, because there are multiple definitions of `Scaling(float s)` and `Scaling(double s)` global functions in different object files.
It happened after revision r917841: Big change in DiagonalMatrix and Geometry/Scaling: [///skipped///] * add the Scaling global function to simplify the creation of scaling objects UniformScaling Scaling(float s) { return UniformScaling(s); } UniformScaling Scaling(double s) { return UniformScaling(s); } They implemented in headers, headers included in different objects=> so the same function is implemented in different objects => we get redifinition of symbol when linking. I don't know how to fix it better using C++, but i guess they should be wrapped in some class or removed at all from headers.
Last edited by bjacob on Sat Jan 31, 2009 1:41 pm, edited 1 time in total.
|
Moderator
|
thanks for the report.
we have to make them inline and/or static but I cannot commit now (I don't have my pub key with me)
|
Registered Member
|
should be fixed now (r918898)
Can you retry?
Last edited by bjacob on Fri Jan 30, 2009 11:04 pm, edited 1 time in total.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
Yes, it's fixed. Thanks :) |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell