On 07/10/18 18:21, jp charras wrote: > Le 07/10/2018 à 13:53, Maciej Sumiński a écrit : >> I have finished printing code refactor to take advantage of GAL in >> pcbnew and gerbview [1]. This branch together with GALified >> eeschema should cure GTK3-related headaches and lead us straight to 5.1. >> In the meantime I will also try to port eeschema to the >> new printing system for the sake of completeness, though it is not >> critical for 5.1. >> >> I have tested the code on Linux x86_64, Windows 7 x86_64 and macOS >> 10.13.4, but additional testing is welcome. >> >> Cheers, >> Orson >> >> 1. https://code.launchpad.net/~orsonmmz/kicad/+git/kicad/+ref/cairo_printing > > Hi Orson, > > When building Kicad (on W7 32 bits), I have this link error: > > ../common/libgal.a(cairo_print.cpp.obj): In function > `ZN7Gdiplus8Graphics6GetHDCEv': > C:/msys32_mywx/mingw32/i686-w64-mingw32/include/gdiplus/gdiplusgraphics.h:1070: > undefined reference to `GdipGetDC@8' > ../common/libgal.a(cairo_print.cpp.obj): In function > `ZN7Gdiplus8Graphics10ReleaseHDCEP5HDC__': > C:/msys32_mywx/mingw32/i686-w64-mingw32/include/gdiplus/gdiplusgraphics.h:1354: > undefined reference to `GdipReleaseDC@8'
Hi JP, I saw a similar problem, it can be fixed by adding gdiplus library to Windows link libraries in CMakeLists.txt Tom _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp