
On Thu, 6 Oct 2005, jiho wrote:
I have a linking error on mac os X with latest CVS (checked this 3 hours ago) and I think I have all dependencies right (because it worked last time with these packages = two weeks ago, when I compiled inkscape). But since I have changed system and now I use 10.4.2 with latest developer tools and fink up to date. So I have this error:
/usr/bin/ld: Undefined symbols: typeinfo for Atk::Implementor typeinfo for Gtk::Bin typeinfo for Gtk::Dialog typeinfo for Gtk::Window [...]
could it come from the code or is it something in my settings?
This happens because all the required libraries (i.e. GTK) are built by fink on 10.4.x using gcc-3.3 still. (Much of fink is still built with gcc 3.3 but people are working on bringing it to all up to gcc 4.0)
The solution for the moment is to build inkscape with gcc-3.3 and g++-3.3. This works fine on OSX 10.4.x with current CVS, except there is yet another trivial patch to src/isnan.h required. pjrm and I were discussing it yesterday but I don't think he checked it in yet. It'll be there soon but to compile on gcc3.3 under Tiger you'll want to have the following:
# define isNaN(_a) (std::isnan(_a)) # define isFinite(_a) (std::isfinite(_a))
Cheers, Michael