openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Cannot complete install_dependencies.sh on Ubuntu 20.04

Open vectorselector opened this issue 2 years ago • 1 comments

install_dependencies.sh doesn't complete on Ubuntu 20.04 gcc -v is 9.3.0

install_dependencies.sh wants gcc -v 4.9 !?

Installing g++-4.9
E: Unable to locate package g++-4.9
E: Couldn't find any package by glob 'g++-4.9'
E: Couldn't find any package by regex 'g++-4.9'
error installing g++-4.9
Reading package lists... Building dependency tree... Reading state information...
this seems an error with your distribution repositories but you can also
report an issue in the openFrameworks github: http://github.com/openframeworks/openFrameworks/issues

vectorselector avatar Feb 08 '22 14:02 vectorselector

Also running 20.04. I didn't run the install_dependencies.sh script as I already have a bunch of customized dependencies (like OpenCV) and didn't want anything stepped on. I was only missing maybe four packages, and didn't add any of the repos. My installed GCC is 9.4.0, and everything built just fine.

I'm not terribly fond of blindly trusting others install scripts run as root for obvious reasons. It would be nice if there was an alternate, manual way to satisfy dependencies in addition to the automated way.

Just pick the scripts apart and check for missing deps. Took me less than 10 minutes to chase it all down.

playaspec avatar Mar 13 '22 01:03 playaspec