RE: Error on Dev-C++
1. Have you got version 4.92 version of Dev C++ (it works best).
2. Attempt to compile a project that does not require the user to add any of his/her own code.
Such as:
Create new project, select windows app, save as project 1. From that point, simply compile. That should give you a simple gui_window application, and no problems. If that works, then you have been compiling your projects incorrectly. Anytime you create a new project and you wish to add your own main.cpp files (or any other name for that matter) always remove any dev-generated cpp files from the project; then add your own sources to the project. Header files are not added to your project as you probably may already now, but you link them, ie. #include <"myheader.h">. Resource files are added by going to toolbar, project, add resource file. All of the steps need to be done correctly to avoid compilation errors.
|