<div dir="ltr"><div><div>Hi John,<br><br></div>Luis and I got VES to run on raspberry pi without X11, but the work didn't get far enough to get full support added to the VES repository.  Attached are two files that are work in progress, this is as far as I got.  It works with basic mouse input, but it doesn't support keyboard input.  My next plan was going to look at SDL to see if I could get key and mouse events that way.<br>

<br></div><div>To use the attached files, replace src/kiwi/vesKiwiTestHelper.h with the attached file.  Copy vesTestHelperRaspi.h into src/kiwi.  Compile, and hopefully if there are compile issues it's easy to fix.  Then launch TestKiwiViewer from the terminal before starting the graphical desktop environment with X11.  You should get a fullscreen render window that shows the spaceship dataset.  Clicking the mouse should exit.  I think everything should work once the keyboard/mouse input is implemented.<br>

<br></div><div>Luis and I also ran VES using X11, but I don't remember if that was using GLUT or if it used the old VES tests that used only EGL and ES 2.0 and got keyboard/mouse events directly from X11 apis instead of using GLUT.  If you look at the git history of TestKiwiViewer.cpp, you'll find an older version before GLUT was used.<br>

</div><div><br></div>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 4:09 PM, John Donovan <span dir="ltr"><<a href="mailto:mersey.viking@gmail.com" target="_blank">mersey.viking@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Having just watched the webinar on ITK and VTK on the Pi, I thought I<br>
would have a go at compiling VES on my Pi under the latest Raspbian<br>
using the Superbuild. It compiled fine, but I'm having problems<br>
running the examples.<br>
<br>
the video says that VES bypasses X completely which is great, but if I<br>
run TestKiwiViewer from the terminal (directly from the Pi, not via<br>
SSH), I get:<br>
freeglut (./TestKiwiViewer): failed to open display ''<br>
<br>
Running from within X gives me:<br>
freeglut (./TestKiwiViewer): OpenGL GLX extension not supported by display ':0'<br>
<br>
When I was compiling VES it couldn't find GLUT, so I apt-installed<br>
freeglut3-dev, which I presume is the right dependency. Also I'm using<br>
the version of cmake from the repo - 2.8.9 rather than the very latest<br>
one as suggested in the ITK on the Raspberry Pi video.<br>
<br>
Is there a step I have missed?<br>
<br>
Regards,<br>
John<br>
<br>
--<br>
One of the advantages of being disorderly is that one is constantly<br>
making exciting discoveries. - AA Milne<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</blockquote></div><br></div>