Problem:
When building or rebuilding a project, the following error appears:
ERROR: (1) Cannot open file : <project_name>_RTECFG.OBJ
Resolution:
The file _RTECFG.OBJ contains the settings made by the user in the Net Express IDE, in Project Properties > Application.
The above error may appear because this file is missing or not accessible.
If access to these settings is required to build the application, perform a Rebuild All. The file is newly generated on a Rebuild All, but not on a simple rebuild.
If access to these settings is not required anymore, the file _RTECFG.OBJ has to be deleted:
- Go to Project > Build Settings or right-click on the project's EXE on the left site of the project's view and select Build Settings.
- On the Link tab, change the category from General to Advanced. The _RTECFG.OBJ file is found in the "Link with these OBJs:” field.
- If the file is deleted here, the linker will no longer report a missing file.
NOTE: The file should only be deleted if the settings mentioned above are not needed.
#COBOL
#netexpress