@JackDawson.
Yes I did edit the other file (with notepad) – no problems. I don’t quite understand why I can’t edit a cbp file in CB editor however, I did edit the glut.cbp in notepad as you suggest. Now when I try to open glut.cbp using CB I get : SCR1
Now if I press O.K. I get: SCR2
Finally , I cannot close this except by pressing CntrlAltDel and using the task manager.
If instead of messing with the above I try the simple console program “Hello World” I’m back to the error message that I started this thread with.
Don’t know if any of this helps – but I do appreciate the input.
I think you did not really read the tutorial.
It tells you how to modify the glut-template, so it uses freeglut instead of glut.
You should not open the templates cbp-file directly, but create a (free)glut-project with the wizard, that ues the edited cbp-file.
By the way:
you can open a cbp-file (
Code::
Blocks
projectfile) in C::B's editor if you use a recent version (aka nightly build) and open it via the FileManager plugin.
The normal way for C::B is to read the content of a cbp-file and open the project accordingly.