Go to advanced search

by garethlewis
Fri Jun 29, 2012 4:47 pm
Forum: OpenGLES
Topic: Keyboard and Mouse library for GL
Replies: 8
Views: 4166

Re: Keyboard and Mouse library for GL

Hi chris,

did you do anything to stop the key presses from being echoed to the tty?

Gareth.
by garethlewis
Fri Jun 29, 2012 4:45 pm
Forum: C/C++
Topic: bcm_host.h and c++
Replies: 7
Views: 8426

Re: bcm_host.h and c++

If you're feeling lazy, just put the verts in unit cuber render-space and get rid of the existing transform / glViewport code, then bottom-left is (-1,-1) and top-right is (1,1). Also, it's worth turning off culling until you can work out what order the triangles are wound in. Also, have a look at g...
by garethlewis
Fri Jun 29, 2012 4:41 pm
Forum: C/C++
Topic: C IDE/text editor for Wheezy
Replies: 18
Views: 20442

Re: C IDE/text editor for Wheezy

I'm using VS2010, samba and putty.

That's probably the wrong answer, but it works for me ;)
by garethlewis
Thu Jun 28, 2012 11:46 pm
Forum: C/C++
Topic: bcm_host.h and c++
Replies: 7
Views: 8426

Re: bcm_host.h and c++

The 'new' errors in triangle.cpp are just straightforward c->c++ issues and shouldn't be too much grief to sort out :D
by garethlewis
Thu Jun 28, 2012 11:21 pm
Forum: C/C++
Topic: bcm_host.h and c++
Replies: 7
Views: 8426

Re: bcm_host.h and c++

When I converted the demos from c to cpp, I changed the makefile.include file to use g++ rather than cc and changed the %.o: %c rule to %.cpp. I think it all worked at that point, though bear in mind that the cpp compiler is a bit stricter than cc - so fixes a plenty ;)
by garethlewis
Thu Jun 28, 2012 9:20 pm
Forum: C/C++
Topic: bcm_host.h and c++
Replies: 7
Views: 8426

Re: bcm_host.h and c++

Are you using g++ to compile the c++ code?

Go to advanced search