Re: Performance issue with get_text_extents
Robert Prückl <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAK8An8iD9qw9ODZ0QhT3e+MDENXySxnkf3CK9xxMb4M2Sp15Hw@mail.gmail.com> |
2012/3/31 Dimiter 'malkia' Stanev <[email protected]>: > I just cloned cairomm to see it, and there is a tag 1.10.0, try this > one I guess: > > E:\p\cairomm>git tag > -----> 1.10.0 > 1.8.6really > 1.8.6really2 > 1.9.2 > RELEASE_0_3_0 > RELEASE_0_4_0 > RELEASE_0_5_0 > RELEASE_0_6_0 > ............ > > git checkout 1.10.0 > > (If you need help with git, you can either get it with TortoiseGit, > or cygwin). It's possible that there is tarball with the tagg-ed version. > Well, I tried also the tarball version cairomm 1.10.0 and the problem is exactly the same. I think it comes from cairomm itself - it looks as if cairomm-vc100-d-1_0.lib doesn't export that constructor. It is not listed in the .def file generated by gendef and dumpbin -exports on the library (which is generated in the build process) doesn't list it either. The calling function Cairo::Surface::get_device(void) is listed as ?get_device@Surface@Cairo@@QAE?AV?$RefPtr@VDevice@Cairo@@@2@XZ correctly. The constructor is defined in the device.h file line 91 in the section external dependencies. explicit Device(cairo_device_t* cobject, bool has_reference = false); very strange... do you have any further suggestions? > > On 3/30/2012 4:37 PM, Robert Prückl wrote: >> >> Hi again, >> >> as so far nobody seem to have an idea about my previous post I wanted >> to upgrade to a more up-to-date version of the whole thing. >> The problem is: I cannot link cairomm 1.9.8 against cairo 1.10.2. >> The linker writes the following: >> >> surface.obj : error LNK2019: unresolved external symbol "public: >> __thiscall Cairo::Device::Device(struct _cairo_device *,bool)" >> (??0Device@Cairo@@QAE@PAU_cairo_device@@_N@Z) referenced in function >> "public: class Cairo::RefPtr<class Cairo::Device> __thiscall >> Cairo::Surface::get_device(void)" >> (?get_device@Surface@Cairo@@QAE?AV?$RefPtr@VDevice@Cairo@@@2@XZ) >> >> Win32\Debug\cairomm-vc100-d-1_0.dll : fatal error LNK1120: 1 >> unresolved externals >> >> This is the only error while compiling/linking. >> >> Any ideas about this? >> >> best, >> R >> -- >> cairo mailing list >> [email protected] >> http://lists.cairographics.org/mailman/listinfo/cairo >> > -- > cairo mailing list > [email protected] > http://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo