On 4/20/2018 6:24 PM, Condit Alan wrote:
> 
> I was trying to run build.sh but it errors out on the “import
> google.protobuf.text_format”. I googled google.protobuf.text_format
> but it appears that there are several flavors c++, python, etc. What
> should I be looking for?

You can do a one-off build without using a Docker image, but you still
probably want to review the build process used with Docker.  The
top-level instructions are in the readme (see: Building a single
CycloneV bit file):

https://github.com/machinekit/mksocfpga/blob/master/README.MD

...the part you're missing is building the protobuf binding for the
firmware-id tag:

# From the Docker Quartus build image command line, run:
cd /work/HW/firmware-tag
make TOPDIR=/work py-proto

IIRC, you may run into problems building the protobuf bindings on a
stock Debian system.  If so, make sure you've got all the required
packages installed.  A good place to start is the package list used to
build the Docker image in the first place, in particular the stuff at
the bottom of the list:

https://github.com/cdsteinkuehler/QuartusBuildVMs/blob/master/Jessie-Quartus-Base/Dockerfile#L27-L32

Note that the last line "pip install intelhex" is actually a command and
not part of the package list.

-- 
Charles Steinkuehler
[email protected]

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to