Re: [Inkscape-devel] win23 build broken: poppler link problem
Thanks Miklos, this worked. I have changed build.xml to *not* define HAVE_POPPLER_CAIRO in config.h.
Cheers, Johan
-----Original Message----- From: Miklós Erdélyi [mailto:erdelyim@...400...] Sent: dinsdag 20 november 2007 18:47 To: Engelen, J.B.C. (Johan) Subject: Re: [Inkscape-devel] win23 build broken: poppler link problem
Check config.h whether HAVE_POPPLER_CAIRO is enabled. If it is, you need to link against libpoppler-glib (I don't know how it could be achieved under winxp, under linux it's a LD_FLAG -lpoppler-glib). So if you don't have poppler-glib, or cannot link to it, undef HAVE_POPPLER_CAIRO in config.h. Then you won't have preview in the PDF import dialog box (only embedded thumbnails), but you'll able to build inkscape. Hope this helped a bit. Best regards, miklos
On Nov 20, 2007 6:18 PM, <J.B.C.Engelen@...1578...> wrote:
I tried with SVN's build.xml (only change I had was
-mconsole I think,
so just to be sure) and it still does not work :-(
-johan
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On
Behalf Of
Bob Jamison Sent: dinsdag 20 november 2007 6:29 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] win23 build broken: poppler link problem
Your problem is possibly the build.xml file. It changed
recently,
so maybe if you have a locally edited copy of it, and it hasn't merged with the tree yet, some includes or libs can be
missing from
the compile or link.
bob
Diederik van Lierop wrote:
First time ever that I tried to compile on XP, to solve a
windows-only
bug, but I just ran into the same error...
Diederik
J.B.C.Engelen@...1578... wrote:
Hi all,
I am trying to clean build 16528 but I get the following
linker error:
Make error line 373: LINK problem: build\libinkscape.a(pdf-input.o):pdf-input.cpp:(.text+0x2c8): undefined reference to `poppler_document_get_page' build\libinkscape.a(pdf-input.o):pdf-input.cpp:(.text+0x2d6): undefined reference to `poppler_page_render' build\libinkscape.a(pdf-input.o):pdf-input.cpp:(.text+0x2ba8): undefined reference to `poppler_document_new_from_file' build\libinkscape.a(pdf-input.o):pdf-input.cpp:(.text+0x4f7b): undefined reference to `poppler_document_new_from_file' collect2: ld returned 1 exit status
I am using the latest devpackage from modevia.com: http://inkscape.modevia.com/win32libs/devlibs-2.12-071115.7z
-Johan
---- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--
--- This SF.net email is sponsored by: Microsoft Defy all
challenges.
Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
--- This SF.net email is sponsored by: Microsoft Defy all
challenges.
Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi,
J.B.C.Engelen@...1578... wrote:
Thanks Miklos, this worked. I have changed build.xml to *not* define HAVE_POPPLER_CAIRO in config.h.
But that's the best part! :)
Possibly you need to do a clean build?
btool clean
The reason that I think that you guys have something out of sync with the current stuff is that the cross-compiler has been using the devlibs and build.xml for weeks now. And it has also worked not only on the box that built the libs, but also two other boxes that downloaded devlibs*.7z like anyone else.
bob
Bob Jamison wrote:
J.B.C.Engelen@...1578... wrote:
Thanks Miklos, this worked. I have changed build.xml to *not* define
HAVE_POPPLER_CAIRO in config.h.
But that's the best part! :)
Sorry! :(
Possibly you need to do a clean build?
Ofcourse I was already doing that!
The reason that I think that you guys have something out of sync with the current stuff is that the cross-compiler has been using the devlibs and build.xml for weeks now. And it has also worked not only on the box that built the libs, but also two other boxes that downloaded devlibs*.7z like anyone else.
I deleted my mingw and devlibs dirs. Then downloaded the latest from modevia.com. Still, I get the same linker error :(
Johan
Ok after Bob's change it works again. Thanks!!!
Johan
J.B.C.Engelen@...1578... wrote:
Ok after Bob's change it works again. Thanks!!!
Johan
Yes, I couldn't get to my email yesterday.
The problem was that the missing symbols are in libpoppler-glib.a. That link flag needs to be in front of poppler, so it is something like: -lpoppler-cairo -lpoppler-glib -lpoppler.dll
And poppler-glib depends on glib itself, so that link line needs to be in front of -lglib.
I don't know how it didn't make it into SVN. I've been using it for weeks. Oops!
bob
participants (2)
-
unknown@example.com
-
Bob Jamison