AnacronPhoenix wrote:Hello guys my name is Argy and i am so new in raspberry that i think that i must evaluate all my knowledge that i have achieved so far, not only in Linux but in computers in general...
I know the difference between ARM and AMD/Intel(32/65bit) processors but i have some questions...
1]Can i program in C++ in raspberry? (i believe yes)
2]Can i program in OpenGl in raspberry? (i really don'e know)
3]The code that i will compile (build, run and save) in raspberry can in some way be build as an executable (.exe) file or something that i can run in AMD/Intel(32/64bit) processors?
4]If the 3nd is yes does that mean that i can program for XBoxLiveArcade?
5]If the 3nd is no does that mean that i can only program for ARM devices as such (raspberry/android/ios...etc)?
I really need your help guys cause i am running out of time...!!!
Thank you in promo just for your time to read it...
2) We have libraries for OpenGL ES 2.0, OpenVG, OpenMAX, EGL.
3) Whilst it is possible to install a cross compiler so that code can be built on the (Arm based) Raspberry to run on a x86 processor, I'm not sure anyone has ever bothered to do it., Usually its much quicker to run the compiler on the x86. it would also be a very slow compile.
4) No idea.
5) See 3)
1, 2 already answered.
3, Yes. There are several Opengl ES SDK available for desktop. the Mali SDK in particular provides cross platform sample code that builds for windows and linux. I was using this, but as the Mali SDK emulates OpenGL ES using Mesa in software it was a bit slow. I'm now using the AMD native implementation and have also fashioned my own stuff to also build for Desktop GL. So I can build exe's for windows that use OpenGL ES / EGL or Desktop OpenGL + wglXX (provided by wingdi), and i know that I can easily port my stuff to Linux once I have something worthwhile done.
The only problem i had was a difference in the implementaton of eglgetconfig between the mali and amd versions.
4. not directly, you might be able to leverage the ANGLE project (which provides opengl es over directx) to do that but it'd probably need some work (ANGLE is the webgl backend that chrome and firefox use to translate webgl which is almost the same as OpenGL ES to directx)
5 see 3