-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Not an issue but might be of some use for others.
I had the same problems as others here with the compilation of pysimavr.
I succeeded with a docker environment. Installation went fine and all examples are working.
Here is the Dockerfile:
FROM ubuntu:latest
MAINTAINER xxxxxxxxxxxxxxxxxxx
RUN apt-get update && \
apt-get -y upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
arduino avrdude \
gcc libelf-dev \
freeglut3-dev scons swig \
python-pip python-dev
RUN pip install pysimavr
CMD /bin/bash
# build image (takes some time)
docker build . -t docker-simavr2
# run docker container
docker run -ti docker-simavr2 --name=simavr2
wait for docker container to start
# run pysimavr examples inside the container
python /usr/local/lib/python2.7/dist-packages/pysimavr/examples/hello.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels