Compile Error

I have some training in C++ but limited expererience. I am editing a program written to change some configurations.
#define MAX_DESIGNELEMENTS        500
The limit needs to be increased. When I manually edit and recompile, I get an error message - resource.h not found.
How should I go about correcting this. Any help will be greatly appreaciated.




Answer this question

Compile Error

  • Dino Ablakovic

    The compiler cannot find a header file named "resource.h". This is usually due to one of two reasons:

    1) The file really isn't on your machine: this can be due to a bad install of the source code for your application (either by copying or sync'ing to a SCC system) or a bad project-system/makefile set up (i.e. this is a transient header that should be created by an earlier step in build process). Or, even, the file has been accidentally deleted.

    2) The file is on your machine but the project system/makefile/compiler does know where it is located. In this case you need to specify to the project-system/makefile/compiler where the file is located.



  • Compile Error