I’ve just finished setting up openframeworks with Code::Blocks on my laptop running windows 8.1 x86 and I can’t get any application to run, wether they are my own or examples.
Compilation works perfectly but when it comes to the execution of a project, by running it through Code::Blocks or launching the .exe file, I’ve got no output except the following errors in the command window:
I copy-pasted the code inside the emptyExample and the app still crashes on startup. The difference is that I don’t get anything written in the command window anymore.
This also generates a bunch of warnings during compilation regarding LIBCMT, OLDNAMES and some others.
can you try downloading something else (not OF) that’s using opengl (such as an opengl testing application) and see if it’s something related to your graphics card?
You seem to be right about the problem being related to my graphics card. DoctorGL crashes on startup but glview works fine and tells me that my openGL version is 1.1, which seems ridiculously low.
I tried updating the drivers for my graphics card but it seems I’ve already got the latest ones.
I guess I’ll find myself another computer to work with openFrameworks, this laptop was getting old anyway.
you can compile unter GL 1_1 by doing the following:
a) use the code Zach gave you to run GLUT,
then go in ofAppRunner.cpp
ofGLReadyCallback()
and comment out
//Default colors etc are now in ofGraphics - ofSetupGraphicDefaults
//ofSetupGraphicDefaults();
//ofBackground(200);
//ofSetVerticalSync(true);
//ofEnableAlphaBlending();