Step 6: QGLViewer and PyQGLViewer
$ sudo add-apt-repository ppa:christophe-pradal/openalea
$ sudo add-apt-repository ppa:christophe-pradal/vplants
$ sudo apt-get update
$ sudo apt-get install pyqglviewer
--------------------------
If you want to downloaded and install QGLViewer and PyQGLViewer manually, after downloaded and unpacking the files, ensure you complete the following steps to correct errors that will come up.
Navigate to /home/Downloads/libQGLViewer-2.3.9-py/QGLViewer/
Open QGLViewer.pro in gedit (or whatever default application may open in)
Go to the file drop downs:
-Search
-Go To Line
-enter 201
Now, I'm not sure if this is the proper way to fix this error, but it works. Change the line that reads:
system( g++ --version | grep " 3\.2\.0 " > /dev/null )|system( g++ --version | grep " 3\.3\.1\-2" > /dev/null ) {
to:
system( g++ --version | grep " 3\\.2\\.0 " > /dev/null )|system( g++ --version | grep " 3\\.3\\.1\\-2" > /dev/null ) {
One of the only forums I could find that was helpful was this one. If you try to progress in these steps, you'll get that error.
I will not be providing any more directions on manually installing QGLViewer and PyQGLViewer. If you'd like to manually install them, follow the directions in their README/INSTALL files.
--------------------------
Remove these ads by
Signing Up


























Not Nice
















Visit Our Store »
Go Pro Today »



