Free Electronic Lab

Opensource EDA software development, some thoughts about the EDA/Semiconductor industry and Mixed-signal integrated circuit design

the missing -ldl

export CFLAGS="%{optflags} -ldl -lpthread"

to fix

/usr/bin/ld: dynload.o: undefined reference to symbol  'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO
/lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Filed under: fedora, gerbv

[FEL] 2 gerbv bug fixes crawl as updates

Fedora’s Gerbv (a viewer for RS-274X Gerber files) just got the following two fixes:

That said, on launching gerbv without any layer, then Edit->”Modify Layer Orientation”, the following dialog box should pop up, instead of crashing.

gerbv_nolayer

Tips for gerbv:

  • Export to png

gerbv –export=png –window=640×480 –output=example.png  example.gbx

  • Export to pdf

gerbv –export=pdf –window=640×480 –output=example.pdf  example.gbx

  • The examples included in gerbv’s %doc section : ( rpm -qd gerbv ) can also be viewed under kicad’s gerbview.

Known issue: It seems that on translation Y, “best fit” does not work as intented. I’m hoping to get a fix soon and then push another update.

Filed under: Free Electronic Lab, gerbv

New release : gerbv-2.3.0

Gerbv is the open source RS-274X (a.k.a. Gerber) and NC drill (a.k.a. Excellon) file viewer.  The lastest release is the 2.3.0 version. It has already been pushed to fedora repositories for F-10 and F-11.

Release Notes
The following is a summary of the changes which went into gerbv-2.3.0. For a complete list of changes, refer to ChangeLog.

  • Fixed a minor arc rendering bug in fast mode.
  • Ensure the svg/pdf/ps export use a 1:1 scale instead of scaling to fit the page.
  • Can now make use of some of the transformation functions even when using gdk rendering.
  • Fix a bug in the vertical scrollbar calculations.
  • Fix a bug where clicking on the message tab caused the keyboard accelerators stop working.
  • Use a reasonable return code when doing command line processing.
  • Add the ability to rotate/translate layers
  • libgerbv:  Fix a bug where apertures < 10 were potentially ignored in some drill files.
  • libgerbv:  Allow 0 degree rotation
  • libgerbv:  Fix some drill parser bugs
  • libgerbv:  Support the Excellon “R” (repeat) command
  • libgerbv:  Fix a bug in the Excellon export which sometimes dropped the first element.
  • libgerbv:  Fix some additional Excellon export bugs.

Filed under: Free Electronic Lab, gerbv

Using Fedora’s Windows cross compilers

Last week announced the availability of Fedora 11. This new release entails Windows cross-compilers
introduced by Fedora’s MinGW Special Interest Group.

The aim is to eliminate duplication of work for application developers by providing a range of libraries and development tools which have already been ported to the cross-compiler environment. This means that developers will not need to recompile the application stack themselves, but can concentrate just on the changes needed to their own application.

Though this feature will interest a wide range of software developers, I believe EDA vendors will also be very interested. I will demonstrate a quick example of how to use these Windows cross-compilers.

In this demo, I will use gerbv, a gerber viewer and the example “Temperature Collector” developed by Levente Kovacs.

To install gerbv on fedora,

# yum install gerbv


The above screenshot shows gerbv compiled under a normal Linux “configure && make”. Now we will compile the same gerbv for Windows.

1. Download the sources of gerbv.

2. Setup your Fedora 11 Linux

# yum install mingw32-gcc mingw32-gtk2 mingw32-crossreport mingw32-nsiswrapper wine

3. Configure Wine.

4. Extract gerbv sources.

5. Compilation of gerbv for Windows
$ cd gerbv-2.2.0
$ mingw32-configure
$ mingw32-make

The final Windows executable file of gerbv will be stored in src/.libs/ as gerbv.exe together with its DLL file, libgerbv-1.dll.

6. Launch gerbv.exe under wine

$ wine src/.libs/gerbv.exe


7. Test gerbv.exe under windows.

Under windows, extra DLLs are required and these can be downloaded from The GTK+ Project or simply from here.

The gerber files used in this example, my compiled gerbv.exe and libgerbv-1.dll can be downloaded from here.

mingw32-nsiswrapper can later be used for building automated Windows installers for distribution.

I hope this short crash course will help you. For any additional details, please join the Fedora Mingw mailing list or IRC: #fedora-mingw on FreeNode.

References:

Filed under: eda, edacafe, fedora, gEDA, gerbv, mingw

EDA: Temperature Collector

Levente Kovacs shares with us his Temperature Collector project, which he achieved with gEDA/gaf tools. Below you can see the screenshots on pcb and gerbv respectively:



You too can share the screenshots of your designs with opensource EDA software.

Filed under: gEDA, gerbv, pcb

FEL: gerbv 1.0.3

This is to announce the fourth release in the stable branch of gerbv, 1.0.3 was just built for Fedora and will be available shortly among the updates.

This release represents a point release incorporating a few patches made against the 1.0.X source over the last 1 1/2 years. Specific updates include:

  • Incorporate changes from Joost Witteveen to support extended %SR% commands.
  • Fix endless loop bug when gerbv encountered an unknown % code. Patch from Joost Witteveen.
  • Fixed initial scale setting for %MOMM% Gerber files. Patch from Joost Witteveen.
  • Fixed format for small drillfiles. Patch from Trevor Blackwell.
  • Fix setting of the initial window size when the screen is larger than the display. Patch from David Carr.


Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are generated from PCB CAD system and sent to PCB manufacturers as basis for the manufacturing process. The standard supported by gerbv is RS-274X.

Filed under: fedora, Free Electronic Lab, gEDA, gerbv

Profile

Chitlesh Goorah
Digital IC design engineer
Neuchâtel, Switzerland

This blog is featured on Sean Murphy's EDA blogger list.

May 2013
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Recent Bookmarks

Je touitte – I tweet

Follow

Get every new post delivered to your Inbox.

Join 26 other followers

%d bloggers like this: