Closed dkfellows closed 7 years ago
Further to this, the install on Linux should work with the install of freeglut:
sudo apt-get install freeglut3-dev
or
sudo dnf install freeglut-devel
For windows, the user needs to download one of the following: http://www.lfd.uci.edu/~gohlke/pythonlibs/tuft5p8b/PyOpenGL-3.1.1-cp27-cp27m-win_amd64.whl or http://www.lfd.uci.edu/~gohlke/pythonlibs/tuft5p8b/PyOpenGL-3.1.1-cp27-cp27m-win32.whl
They then need to run:
pip install PyOpenGL-3.1.1-cp27-cp27m-win_amd64.whl
or
pip install PyOpenGL-3.1.1-cp27-cp27m-win32.whl
I assume that the Mac OS comes with the appropriate libraries...
This should be merged in BEFORE any PyNN0.8 changes.
I would then suggest creating and keeping a PyNN0.7 branch
Note that the old visualiser is no less likely to run than the new one. That said, on Windows, the dll files required are included and the rest of the libraries are statically compiled in. Not sure about why the old visualiser works on Linux when the new one doesn't...
Ahh of course weird permissions are a standard issue for ITS installed machines :)
IntroLab instructions updated - note that OSX is supposed to have glut already so no additional instructions are provided. This needs checking!
When I developed the changed code on my laptop, it Just Worked™, but that could have been because of something else that I have installed in the past. I also have a full compiler toolchain (several in fact) so installing from source isn't a barrier for me. All in all, it works on a system with a lot of customisations, but I can't say much about any other.
Someone else, with a more conventional configuration, needs to check.
you mean like @sara-es whom has a mac which is as fresh as it can be?
Worked fine for me! (after fiddling with PyNN8 modules a bit)
Yay! In that case, my updated instructions in the IntroLab are fine.
those devious pynn 0.8 modules. least we got one os covered, ill check the linux ones shortly. once i catch up on notifications, and labelling
This allows the new visualiser to be used so long as the
sPyNNakerVisualisers
package has beenpip install
ed. The old visualiser can be used instead by setting theOLD_VIS
environment variable (to anything) before running the sudoku script.