I’ve been trying since a couple of months to be able to generate images of printed circuit boards using an online service and think about how to deploy my own.
My choice is for the hero (open for change), and the choice of gerber parser / viewer is gerbv (again, open for change)
I read about builds and tramps and, possibly, about all the options for getting gerbv in order to be able to run on a hero. The part where I'm stuck right now is that gerbv requires gtk, and heroku does not have this (it is not needed).
How do you build gerbv without the gtk part?
Edit: I uploaded the gerbv source to heroku using wget, then unpacked it and went to the src folder by issuing the following command
gcc -Wall -fPIC -c *.c
which allows me to create .o files for all offers of gerbv code. Unfortunately, this requires gtk to compile, which heroes do not have about. Thus, it is entirely possible that part of the library cannot be separated from part of the interface and be able to run standalone libgerbv.
Rupin source share