Hmm I get a few of undefined references when building with
MAINTAIN_PNGS=ON, specifically for these four:
duplicate_xpm,
move_exactly_xpm,
array_xpm
move_relative_xpm
This is the other kicad build settings I used.
cmake -DCMAKE_BUILD_TYPE=Debug \
-DMAINTAIN_PNGS=ON ..
On 07/25/2017 10:30 AM, Fabrizio Tappero wrote:
that is true.
SVG to PNG to CPP requires a linux software called PNGCRUSH
https://pmt.sourceforge.io/pngcrush/
cheers
Fabrizio
On Tue, Jul 25, 2017 at 9:02 AM, Oliver Walters
<[email protected] <mailto:[email protected]>>
wrote:
Kristoffer,
I believe you also have to be compiling under Linux, for this to work.
On Tue, Jul 25, 2017 at 4:35 PM, Maciej Sumiński
<[email protected] <mailto:[email protected]>> wrote:
Hi Kristoffer,
You need to add entries to bitmaps_png/CMakeLists.txt and
include/bitmaps.h. After that you need to build KiCad with a Cmake
option -DMAINTAIN_PNGS=ON. You will need Inkscape for file format
conversion.
Regards,
Orson
On 07/24/2017 09:40 PM, Kristoffer Ödmark wrote:
> Hello!
>
> I am working on some patches currently that adds a few menu
entries in
> eeschema. Since they seem to require me to add icons to all
of the
> entries, I am now stuck on trying to generate the .cpp files.
Could
> someone point me in the correct way on how to do this.
>
> I currently have added 2 svg files in bitmaps_png/sources/
after that I
> am unsure of what to do. Tried running a script i found in
there, which
> ran "rm -r *", causing me to have to remake svgs.
>
> - Kristoffer
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
> Post to : [email protected]
<mailto:[email protected]>
> Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
Post to : [email protected]
<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
More help : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
Post to : [email protected]
<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/~kicad-developers>
More help : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
--
-Kristoffer
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp