Fix execution on Ubuntu 20.04
ad-si opened this issue · 3 comments
ad-si commented
$ stack run -- fix images/doc.jpg
Loaded file images/doc.jpg (1500,880)
with orientation Normal
Starting the app …
freeglut (perspec): illegal glutInit() reinitialization attempt
Used build steps:
jaccokrijnen commented
Trying to reproduce this problem. I get a slightly different error:
$ stack run -- fix ./images/doc.jpg
Loaded file /home/jacco/projects/Perspec/images/doc.jpg (1500,880)
with a rotation of 0.0 degrees.
perspec: user error (unknown GLUT entry glutInit)
jaccokrijnen commented
After apt
installing freeglut3
The error changed to the one in the original post:
freeglut (perspec): illegal glutInit() reinitialization attempt
ad-si commented
freeglut
and libglfw
must be installed.