X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700124177; x=1700728977; darn=delorie.com; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Xsk9TG3g5DmUlRwBeTsAWdYNS8GnYJKj4e0Yghhmms4=; b=Y+El92Ema5ar2eM+eyzTLlkX7Ygj9I6YMzIuKbVj4XdjOcPFsYeETyE9zxLE2W4jbB woDrJUfHBNH4Rs1fAPTB2aY1UdgAeSgJzdmOiar9XA+ctkBv/ujUKStRkS0xHgde8m1P z9ShoyqmiUJSweuSftCJv2p2n8gGyox84ymm789ozi8PlSBFndHIPGFwWuqxPN2EyqKS 6qAH4GJ72n/BHbX8ZMgiN/XgYF0iXTETMvvM2HCipSNB2XePmL4Okm0NkVrWSpHz6nnk O8aeI++YtvQs3inGMpa9X36G9eRJoL1I5ghlgdhDq1dco01G0N+FDo13VSsWhzGJTg93 lILQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700124177; x=1700728977; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xsk9TG3g5DmUlRwBeTsAWdYNS8GnYJKj4e0Yghhmms4=; b=IWSmSlcWHjyTYFRkHJsQr1yETL/jA/9H2bnJABdmn6+hluYOUs5eZAi9Hg3hyvXBCQ jyyaVjWMzIukShA2JkBzvUzmXj6u0Xm84x3yedRNmOkbPeH+h/YV9g63pKzBgyGtvWrC UZyhIoEbSRIM9oBdBZIz1TnqG2rYyJz0rIwI5J03etbwuTTtKz5pEvoSblUDRIvAL2FA Tw8Qt8C+2G1CdoIHu2CdspMkwISEdygdn7rOShhDWyrUcjydJdmrbGuRmmisYN5yPkPi nhicFeOYmfAB/OpQe1vfiQ90F6AP+3i89doyHRCHJ4IABmemGBH4N82ewyKaz3iFs9F5 vA/A== X-Gm-Message-State: AOJu0Yxw24q0Xlbikpcg9Z9Ig9+I4dF3HMsCmSOip91OM01njhy12EMI zjPEZGvzBJZnFzw6YpqvyrU6AxpzOR3/MDS/La0AY0Mn X-Google-Smtp-Source: AGHT+IENINg+DjFOa+qZhRS3Jb5ObINb3TCK8NHsQaRc77IqN9qaNxvOseV6aT1tFrHKJdDsNhnDssN2rv6x9afZHjo= X-Received: by 2002:a92:c549:0:b0:359:42b0:cb02 with SMTP id a9-20020a92c549000000b0035942b0cb02mr19876573ilj.21.1700124176741; Thu, 16 Nov 2023 00:42:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Thu, 16 Nov 2023 19:12:44 +1030 Message-ID: Subject: Re: [geda-user] anyone successfully built gerbv lately? To: geda-user Content-Type: multipart/alternative; boundary="000000000000a0f983060a410186" Reply-To: geda-user AT delorie DOT com --000000000000a0f983060a410186 Content-Type: text/plain; charset="UTF-8" camv-rnd is also worth a try as it properly displays slotted padstacks in gerbers generated by pcb-rnd, and can also display gcode I generate for my GRBL based laser cutter. It has pretty lean dependency requirements. It is available as a package on various distros, i.e. https://packages.ubuntu.com/search?keywords=camv-rnd or, it can be built from source see repo.hu/projects/camv-rnd Regards, Erich On Thu, 16 Nov 2023 09:40 Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com], wrote: > I've been rebuilding on new laptop and was relieved after recent > discussions to find that gschem and pcb rebuild fine on the latest > Ubuntu LTS. > > gerbv isn't building though. I don't use it a lot but it's a nice way > to take a final look at gerbers. > Has anyone built it lately? > > Here is how it fails: > > $ make > /usr/bin/make all-recursive > make[1]: Entering directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0' > Making all in src > make[2]: Entering directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src' > /usr/bin/make all-am > make[3]: Entering directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src' > /bin/bash ../libtool --tag=CC --mode=link gcc > -DBACKEND_DIR='"/home/bkerin/opt/gerbv/share/gerbv/scheme/"' > -DSCMSUBDIR='"scheme"' -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 > -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 > -I/usr/include/harfbuzz -I/usr/include/pango-1.0 > -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 > -I/usr/include/cairo -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 > -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 > -o gerbv attribute.o callbacks.o dynload.o interface.o main.o > project.o render.o scheme.o table.o lrealpath.o libgerbv.la -ldl -lm > -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 > -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcairo > libtool: link: gcc > -DBACKEND_DIR=\"/home/bkerin/opt/gerbv/share/gerbv/scheme/\" > -DSCMSUBDIR=\"scheme\" -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 > -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 > -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 > -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 > -I/usr/include/harfbuzz -I/usr/include/pango-1.0 > -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 > -I/usr/include/cairo -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 > -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 > -o .libs/gerbv attribute.o callbacks.o dynload.o interface.o main.o > project.o render.o scheme.o table.o lrealpath.o ./.libs/libgerbv.so > -ldl -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 > -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcairo -pthread > -Wl,-rpath -Wl,/home/bkerin/opt/gerbv/lib > /usr/bin/ld: > interface.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > multiple definition of `toggle_layer'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > first defined here > /usr/bin/ld: > interface.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > multiple definition of `CALLBACKS_SAVE_FILE_TYPE'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > first defined here > /usr/bin/ld: > main.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > multiple definition of `toggle_layer'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > first defined here > /usr/bin/ld: > main.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > multiple definition of `CALLBACKS_SAVE_FILE_TYPE'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > first defined here > /usr/bin/ld: > render.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > multiple definition of `toggle_layer'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:50: > first defined here > /usr/bin/ld: > render.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > multiple definition of `CALLBACKS_SAVE_FILE_TYPE'; > > callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks.h:44: > first defined here > collect2: error: ld returned 1 exit status > make[3]: *** [Makefile:667: gerbv] Error 1 > make[3]: Leaving directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src' > make[2]: *** [Makefile:542: all] Error 2 > make[2]: Leaving directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src' > make[1]: *** [Makefile:512: all-recursive] Error 1 > make[1]: Leaving directory > '/home/bkerin/projects/geda_full_stack/gerbv-2.7.0' > make: *** [Makefile:442: all] Error 2 > --000000000000a0f983060a410186 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
camv-rnd is also worth a try as it properly displays slot= ted padstacks in gerbers generated by pcb-rnd, and can also display gcode I= generate for my GRBL based laser cutter.

It has pretty lean dependency requirements.

It is available as a package on various dis= tros, i.e.


=
or, it can be built from source

Regards,

Erich

On Thu, 16 Nov 2023 09:40 Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com], <geda-user AT delorie DOT com> wrote:
I've been rebuilding on new laptop and was relieved after re= cent
discussions to find that gschem and pcb rebuild fine on the latest
Ubuntu LTS.

gerbv isn't building though.=C2=A0 I don't use it a lot but it'= s a nice way
to take a final look at gerbers.
Has anyone built it lately?

Here is how it fails:

$ make
/usr/bin/make=C2=A0 all-recursive
make[1]: Entering directory '/home/bkerin/projects/geda_full_stack/gerb= v-2.7.0'
Making all in src
make[2]: Entering directory
'/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src'
/usr/bin/make=C2=A0 all-am
make[3]: Entering directory
'/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src'
/bin/bash ../libtool=C2=A0 --tag=3DCC=C2=A0 =C2=A0--mode=3Dlink gcc
-DBACKEND_DIR=3D'"/home/bkerin/opt/gerbv/share/gerbv/scheme/"= '
-DSCMSUBDIR=3D'"scheme"' -g -O2 -Wall=C2=A0 -pthread -I/u= sr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-o gerbv attribute.o callbacks.o dynload.o interface.o main.o
project.o render.o scheme.o table.o lrealpath.o libgerbv.la=C2=A0 -= ldl -lm
=C2=A0-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcairo
libtool: link: gcc
-DBACKEND_DIR=3D\"/home/bkerin/opt/gerbv/share/gerbv/scheme/\" -DSCMSUBDIR=3D\"scheme\" -g -O2 -Wall -pthread -I/usr/include/gtk= -2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-o .libs/gerbv attribute.o callbacks.o dynload.o interface.o main.o
project.o render.o scheme.o table.o lrealpath.o=C2=A0 ./.libs/libgerbv.so -ldl -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcairo -pthread
-Wl,-rpath -Wl,/home/bkerin/opt/gerbv/lib
/usr/bin/ld: interface.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/= src/callbacks.h:50:
multiple definition of `toggle_layer';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:50:
first defined here
/usr/bin/ld: interface.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/= src/callbacks.h:44:
multiple definition of `CALLBACKS_SAVE_FILE_TYPE';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:44:
first defined here
/usr/bin/ld: main.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/c= allbacks.h:50:
multiple definition of `toggle_layer';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:50:
first defined here
/usr/bin/ld: main.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/c= allbacks.h:44:
multiple definition of `CALLBACKS_SAVE_FILE_TYPE';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:44:
first defined here
/usr/bin/ld: render.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src= /callbacks.h:50:
multiple definition of `toggle_layer';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:50:
first defined here
/usr/bin/ld: render.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src= /callbacks.h:44:
multiple definition of `CALLBACKS_SAVE_FILE_TYPE';
callbacks.o:/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src/callbacks= .h:44:
first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:667: gerbv] Error 1
make[3]: Leaving directory
'/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src'
make[2]: *** [Makefile:542: all] Error 2
make[2]: Leaving directory
'/home/bkerin/projects/geda_full_stack/gerbv-2.7.0/src'
make[1]: *** [Makefile:512: all-recursive] Error 1
make[1]: Leaving directory '/home/bkerin/projects/geda_full_stack/gerbv= -2.7.0'
make: *** [Makefile:442: all] Error 2
--000000000000a0f983060a410186--