ethz-asl / plotty

matplotlib-cpp with Eigen interfaces.
Other
52 stars 15 forks source link

Migration to Focal. #4

Closed mbuerki closed 3 years ago

mbuerki commented 3 years ago

@HannesSommer now it builds both on bionic with python 2 and focal with python 3. no idea if it's the most beautiful solution though... open for suggestions.

mbuerki commented 3 years ago

@HannesSommer I added your suggestions. it compiles on both OSs. on bionic, I can run the mpl_example_node and that works fine. on focal in the docker it immediately segfaults. but that's maybe because there's no xserver? is there a way to test it on focal too?

HannesSommer commented 3 years ago

I think you forgot to push (no new commits, yet). Segfault without X server is already pretty bad. Maybe first compare with behavior on Bionic by prefixing the bash command with DISPLAY=. Does it also segfault? You can mount the X server's socket into the docker (~docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \ -h $HOSTNAME -v $HOME/.Xauthority:/root/.Xauthority ...). But for that to succeed you probably need to install some X client libs as well. Maybe just install xterm and try it out first.