Go to advanced search

by jmacey
Thu Jun 07, 2012 8:45 am
Forum: C/C++
Topic: OpenGL ES 2 Compatibility and weird behaviours
Replies: 11
Views: 4261

OpenGL ES 2 Compatibility and weird behaviours

Hi, I've been doing some GL ES programming and am getting some very strange results. So I thought I would see if anyone else has got and info etc. At present I'm using the debian build with the latest kernel sources. Some things I've noticed so far and if anyone has any info it would be good. 1). Th...
by jmacey
Wed Jun 06, 2012 5:02 pm
Forum: General programming discussion
Topic: Compiler error and warning messages
Replies: 10
Views: 2497

Re: Compiler error and warning messages

if you do make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k 2>compile_errors.txt & This will detach the build from the console and make it run in the background (the & does the detach) you can then follow the output of the error file by doing tail -f compile_errors.txt ( use CTRL + c to exi...
by jmacey
Wed Jun 06, 2012 4:53 pm
Forum: OpenGLES
Topic: Getting Started with EGL / OpenGL ES
Replies: 13
Views: 17707

Re: Getting Started with EGL / OpenGL ES

At the moment I'm using it to Open up the display and create an OpenGL ES context and render some 3D stuff to it (I will post another demo soon just tidying up the code etc). EGL is a layer to allow both OpenGL (3D) and OpenVG (2D vector graphics) to draw to the hardware context. There is some info ...
by jmacey
Wed Jun 06, 2012 3:52 pm
Forum: General programming discussion
Topic: Compiler error and warning messages
Replies: 10
Views: 2497

Re: Compiler error and warning messages

I prefer to use g++ ...... &>1.txt this will send both stdout and stderr to the file. It also works with any other program you wish to use.

To preview once done use more 1.txt to page through the file

Jon
by jmacey
Wed Jun 06, 2012 3:20 pm
Forum: Other programming languages
Topic: Delphi on Raspberry Pi
Replies: 7
Views: 12330

Re: Delphi on Raspberry Pi

unfortunately I don't think there is a version of Delphi (or Kylix which is the linux version) for the pi. There are several pascal compilers you can install which will allow you to do basic programming ( free pascal or fpc is a good start, you can install this by typing sudo apt-get install fpc in ...
by jmacey
Tue Jun 05, 2012 11:19 am
Forum: Beginners
Topic: Can I do this off a Mac?
Replies: 6
Views: 2120

Re: Can I do this off a Mac?

I'm using a mac to do all my pi stuff I've written a blog post here

http://jonmacey.blogspot.co.uk/2012/06/ ... c-osx.html

Jon
by jmacey
Tue Jun 05, 2012 11:00 am
Forum: OpenGLES
Topic: Getting Started with EGL / OpenGL ES
Replies: 13
Views: 17707

Re: Getting Started with EGL / OpenGL ES

I've just added another post with some code to create and size an EGL window here http://jonmacey.blogspot.co.uk/2012/06/ ... class.html I will do a full write up of the design and examples later in the week.
by jmacey
Thu May 31, 2012 6:53 pm
Forum: General discussion
Topic: section for GL?
Replies: 21
Views: 4958

Re: section for GL?

That would be good as I mainly do OpenGL programming, I looked for a section and posted in C/C++



Jon
by jmacey
Thu May 31, 2012 6:50 pm
Forum: Beginners
Topic: Having troubles copying Debian image to SD on Mac OS X
Replies: 3
Views: 1457

Re: Having troubles copying Debian image to SD on Mac OS X

On my mac book pro I used the following dd bs=1m if=debian6-19-04-2012.img of=/dev/disk3 and for the qt on pi dd bs=1M if=qtonpi-sdcard-0.01.img of=/dev/disk3 I think the instructions on the website are wrong as they include the s1 sector of the disk, it should be the disk you find the card inserted...
by jmacey
Thu May 31, 2012 1:12 pm
Forum: OpenGLES
Topic: Getting Started with EGL / OpenGL ES
Replies: 13
Views: 17707

Getting Started with EGL / OpenGL ES

I've just started porting all my OpenGL library code http://nccastaff.bournemouth.ac.uk/jmacey/GraphicsLib/index.html to the pi, so I thought I would post here how I'm getting on. My first blog post is here http://jonmacey.blogspot.co.uk/2012/05/getting-started-with-egl-on-raspberry.html and I have ...

Go to advanced search