← Back to team overview

kicad-developers team mailing list archive

Re: Cairo printing

 

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'
collect2.exe: error: ld returned 1 exit status
gerbview/CMakeFiles/gerbview_kiface.dir/build.make:1612: recipe for
target 'gerbview/_gerbview.kiface' failed
make[3]: *** [gerbview/_gerbview.kiface] Error 1
CMakeFiles/Makefile2:1219: recipe for target
'gerbview/CMakeFiles/gerbview_kiface.dir/all' failed
make[2]: *** [gerbview/CMakeFiles/gerbview_kiface.dir/all] Error 2
CMakeFiles/Makefile2:1191: recipe for target
'gerbview/CMakeFiles/gerbview.dir/rule' failed
make[1]: *** [gerbview/CMakeFiles/gerbview.dir/rule] Error 2
Makefile:474: recipe for target 'gerbview' failed
make: *** [gerbview] Error 2



-- 
Jean-Pierre CHARRAS


Follow ups

References