User forums > Using Code::Blocks

Fix compile .rc Error: can't open file `prompt' No such file or directory


OS: Windows 7 64bit

The compiler says it is compiling the rc file, but it does nothing. After cancling i get:

--- Code: ---can't open file `prompt': No such file or directory
preprocessing failed.
=== Build finished: 2 errors, 0 warnings ===
--- End code ---

I fix this problem using windres.exe with options param --use-temp-file

--- Code: ---$rescomp $res_includes $res_options --use-temp-file -J rc -O coff -i $file -o $resource_output
--- End code ---

A rebuild log is also needed, not only the error message, but the whole command line from the log


[0] Message Index

Go to full version