error in resource file
I've just started out with C++ programming and I'm having problems allready. I use dev-c++, and when I try to compile a simple program (hello world), it says: "error in resource file".
I've checked the resource file and found this as content:
Does anyone know whats wrong here, and what can I do to prevent this?
500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "C:/Dev-Cpp/Icons/Edit.ico"
Maybe that icon doesn't exist? Check the path, and if you don't want an icon just the default exe icon then make the project not even link a resource file. Do that by clearing the box that says Load Resource File in Project options.
You must have somthing else in the resource file than just that, 'cause I use Dev-C++ too, and I was able to compile it with no errors.
There are different versions of Dev-C++. I use version 4.0, but most people use 126.96.36.199 or something.
I think your error is because "C:/Dev-Cpp/Icons/Edit.ico" doesn't exist, I would guess.
the icon exists, that I'm sure.
I removed the resource file now, but it still won't compile.
It just says "compilation completed" but doesn't actually compile :s
Maybe there is somthing wrong with your project file and the compiler gets confused.
A friend gave me another version of dev-c++, and now it works withoud any problem, I guess I'll never know what the problem was, maybe just a bug