Free compiler and GUI library


what to do if you want an opengl app to run on windows, but do not want to use any commercial software in the development process? So, no Visual C++, no MFC, no QT can be used. I am looking for something like it is with linux, where compiling is done with gcc and for GUI, openmotif is used. Is something like that possible with windows?

Thanks and regards,

You can use GCC under windows.
As for GUI lib with OpenGL, I would suggest wxWidgets.

What do you mean by not using any “commercial sofware” (no Visual C++)?
There is very good Visual C++ IDE available completely for free (also for commercial development).
It is called Visual C++ 2005 Express Edition, and is available here:

After posting my question, I found VS Express, downloaded and installed it. However, it seems not to be so easy to get started with OpenGL. Does someone have experiences with this?

The free MS IDE are actually advertisment for Microsoft products.
With recent versions I found it almost impossible to work on cross platform stuff. All the stdlib string manipulation are disabled (should pass as warning, but no, it prevents linking :frowning: ).

I recommend Dev-C++ as IDE (it uses mingw/gcc as compilation backend), it is very easy to download “packages” (templates) to start working on OpenGL (with/without SDl/Glut/freeglut/ etc).

with Dev-C++, use wxWidgets for GUI?

(I have no experience with c/c++ GUI )
But yes it exists :
There is a wxWidgets package (DevPak).
And an extension to design widgets :

And what prevents you to use Qt ? It is fine for opensource.

The project I am working on is NOT opensource, it is a commercial application. But not one with great success, so QT is too expensive.

Dev-C++/wxWidgets seems promising, it will be my first try. Thanks for the design extension, looks fine.

To use VS Express Edition you must install also Platform SDK which will give needed libraries to link OpenGL applications. It is easy to install it, just follow instructions here:

After that, there will be no problems with OpenGL/DirectX or any other system libraries. wxWidgets also works well with VS EE.

I did install this extra plateform SDK, and that did not helped much…

Did you followed instructions on msdn page to configure Visual Studio?

@martinsm: no of course not i love to struggle for nothing and i hate searching/reading readmes/instructions/manual…seriously not only i had problems with opengl but also when compiling opencv ok lets stop talking about this we are way OT here

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.