Leo> Re: poppler -- I don't recall having to compile it; there is a precompiled Leo> version for mingw, and then I just passed the -lpoppler-glib flag to GCC.
Hi Leo, Denis, Success!! Ok, I took a long route.. and spent almost 3 days trying to figure it out... At the end I decided that the tablet was way too slow for development, and trying things and compiling just took too much time... so I investigated cross-compilation. After 1.5 days I finally got a setup where I can compile binaries for Windows from my Linux computer. If anybody is every interested to do this the answer is relatively easy (once you know what you have to do :) - install mingw packages - install windres make a symlink as sudo ln -s /usr/bin/i586-mingw32msvc-windres windres - install pthreads from http://clam-project.org/wiki/Devel/Windows_MinGW_cross_compile#pthreads - install the gtk2 win bundle from gtk+ - I had to fix pkg-config files (.rc files, to remove the set the prefix to empty prefix=). make sure you can compile and the hello world from gtk+2 using its Makefile - compile and install libjpg, libtiff, libpoppler - install binaries from gnome the libgnomecanvas and libart - fixed the script glib-mkmenus which had /bin/perl instead /usr/bin/perl mmm, i didn't install libgnomeprint... I might have to do that... but at least I can now compile and run it in my tablet ;) One thing I am realizing is that this is a good time to synchronize my changes to upstream. My branch does not run well under windows. It is totally laggy. thanks for all your help, --dmg Leo> On Tue, Aug 27, 2013 at 11:07 AM, dmg <[email protected]> wrote: >> hi everybody, >> >> I am trying to create a setup to compile Xournal. I have been having >> problems >> getting poppler to compile. If I might ask, which version are you using? >> >> and does anybody have problems with >> >> ...undefined reference to `munmap' ... >> >> thanks! >> >> -- >> --dmg >> >> --- >> Daniel M. German >> http://turingmachine.org >> >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> Xournal-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xournal-devel >> Leo> ------------------------------------------------------------------------------ Leo> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Leo> Discover the easy way to master current and previous Microsoft technologies Leo> and advance your career. Get an incredible 1,500+ hours of step-by-step Leo> tutorial videos with LearnDevNow. Subscribe today and save! Leo> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk Leo> _______________________________________________ Leo> Xournal-devel mailing list Leo> [email protected] Leo> https://lists.sourceforge.net/lists/listinfo/xournal-devel -- Daniel M. German "We need [news] editorial more than ever" Steve Jobs http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Xournal-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xournal-devel
