Installing OpenSCAD on Arch Linux

This was more tedious than it ought to be, but OpenSCAD now runs on my desktop box and uses OpenGL 2.2, courtesy of a not too obsolete nVidia GeForce 9400 dual-head card.

OpenSCAD has a slew of pre-reqs, most of which were already installed. However, the openscad and cgal non-packages live in the Arch AUR collection, so they required manual twiddling to install.

The pre-reqs:

  • cgal, which in turn requires cmake via pacman
  • opencsg

The recommended PKGBUILD patch is easy enough to do by hand.

The final build step takes ten minutes using both cores, but the final result uses OpenCSG the way it should.

Oddly, the OpenSCAD rendering process for the few objects I’ve checked takes longer than on the laptop. Weird.

This does not get the most recent build from the developers, but it’s close enough for my simple needs right now. The mailing list archive is invaluable.

Then there was the laptop saga. Maybe the reason the laptop is faster is that it’s not actually using OpenCSG at all.