← Back to team overview

kicad-developers team mailing list archive

Re: Creating new icons

 


On 2/2/20 12:09 PM, Brian Piccioni wrote:
> Hello
> 
> In light of Alexander's merge of back annotation I am updating my
> re-annotation function. The dialog I created is sub-optimal (I did ask
> for input).
> 
> I am working on mingw64/msys2
> 
> Currently I select re-annotation direction by a text box "top to bottom,
> left to right", etc.. It would probably be best if these were icons
> associated with radio buttons.
> 
> In order to create icons I need to
> 
> 1) install inkscape
> 2) install pngcrush
> 3) set line 53 of cmakelists.txt in bitmaps_png to ON

Please do not do this.  It's too easy to accidentally commit this to
your local repo.  Run CMake with -DMAINTAIN_PNGS=ON to create a build
for maintaining bitmaps.

> 
> I have done all of this but I get warnings when I run inkscape or
> pngcrush, even though they do run.
> 
> Nonetheless I get an error if I touch annotate_right_down.svg
> 
> make[2]: Entering directory '/home/bjpic/debug'
> make[2]: Entering directory '/home/bjpic/debug'
> make[2]: *** No rule to make target
> 'C:/msys64/home/bjpic/kicad/bitmaps_png/cpp_26/annotate_right_down.cpp',
> needed by
> 'bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/annotate_right_down.cpp.obj'.
> Stop.
> make[2]: Leaving directory '/home/bjpic/debug'
> make[2]: Entering directory '/home/bjpic/debug'
> make[1]: *** [CMakeFiles/Makefile2:1533:
> bitmaps_png/CMakeFiles/bitmaps.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/home/bjpic/debug'
> make[2]: Leaving directory '/home/bjpic/debug'
> make[2]: Leaving directory '/home/bjpic/debug'
> -- Found Git: C:/msys64/usr/bin/git.exe (found version "2.25.0")
> make[2]: Leaving directory '/home/bjpic/debug'
> -- Using Git to determine build version string.
> make[2]: Leaving directory '/home/bjpic/debug'
> [  2%] Built target qa_sexpr
> [  3%] Built target kimath
> [  4%] Built target s3d_plugin_oce
> [  6%] Built target s3d_plugin_vrml
> [  7%] Built target kicad2step_lib
> -- Not updating C:/msys64/home/bjpic/debug/kicad_build_version.h
> make[2]: Leaving directory '/home/bjpic/debug'
> [  7%] Built target version_header
> make[1]: Leaving directory '/home/bjpic/debug'
> make: *** [Makefile:141: all] Error 2
> 
> Please suggest how I can proceed.
> 
> 
> Thanks
> 
> Brian
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References