Results 1 to 3 of 3

Thread: Programming with as little bloat as possible

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    1

    Programming with as little bloat as possible

    I am interested in starting some programming projects for my new HTC Fuze PDA phone. I am particularly interested in using OpenGL ES. The phone runs windows mobile, but I do not want to program in Visual Studio because I don't want to buy it and I don't want to be tied to the windows platform.

    How can I go about starting up a simple program with OpenGL ES 2.X? I see dozens of tutorials out for 1.X but all of them seem to use Visual Studio (except for one that uses BREW, but that seems to tie you down just as much as Visual Studio even though it is free).

    Does anyone know where I can find a simple hello world type tutorial? Even just rendering an empty window would be wonderful at this point because I would have something to work from. I have never coded for a phone (or any other embedded device) before, but I would like to use C++ if possible.

  2. #2
    Super Moderator
    Join Date
    May 2008
    Posts
    18

    Re: Programming with as little bloat as possible

    Does the HTC Fuze have an OpenGL ES 2.0 h/w and an OpenGL ES 2.0 library?

    If you want to avoid Visual Studio, your first task is to obtain a compiler. One likely candidate is the GCC ARM cross-compiler. Then you'll have to figure out how to use it to build a Windows Mobile application. I expect you can find information about that on the Web.

    The next step is to obtain libGLESv2.lib and libEGL.lib for the device so you can successfully link applications that want to use the OpenGL ES & EGL dlls on the device.

    Then you'll need Microsoft's ActiveSync to copy the compiled applications to the WM device. You'll probably need some debugging help too. Perhaps there's a WM version of gdb. I don't know.

    BTW, your subject is a little misleading. The applications are going to be pretty much the same size and have the same performance regardless of whether they are built with Visual Studio or GNU tools.

    Using Visual Studio doesn't tie your application to Windows. VS doesn't force you to use Windows API calls. Only the VS project & solution files are specific to Visual Studio. You would have to create the equivalents for tools for other platforms in order to build your applications for those platforms. The application source should not need changing. You can use the Visual Studio compiler from a GNU makefile and completely avoid project files but that does make debugging a little bit harder.

    Regards

    -Mark

  3. #3
    Junior Member
    Join Date
    Mar 2009
    Posts
    1

    Re: Programming with as little bloat as possible

    Wow, I'm trying to do the exact same thing, except I own VS 2008 and my problem is figuring out how to get the OpenGL ES 'bits' I need, and where to put them so I can get coding! I'd like to be able to do native (C++) and/or Managed apps (C#).

    Any pointers to the right place(s) appreciated!

    -CB

Similar Threads

  1. programming help needed
    By amrit in forum OpenCL
    Replies: 1
    Last Post: 09-19-2012, 06:40 AM
  2. opencl programming
    By nandhini in forum OpenCL
    Replies: 11
    Last Post: 02-09-2012, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •