Bug #13800 2008-05-12 16:19

jimp

Digital Mars Resource Compiler Error

Digital Mars Resource Compiler Error

Compiling a resource file with the Digital Mars compiler gets the following error. In the command line note that the include directory has -I-I instead of just -I.

-------------- Build: AStyleWinL in DMars AStyleWin Lib ---------------

rcc.exe -32 -I-I..\resource  -oobjLib\src\Resource.res ..\src\Resource.rc
1 RT_MANIFEST AStyleWin.exe.manifest
                                   ^
..\src\Resource.rc(5) : Error: unable to open input file 'AStyleWin.exe.manifest'
IDC_MARGIN  CURSOR DISCARDABLE "Margin.cur"
                                          ^
..\src\Resource.rc(8) : Error: unable to open input file 'Margin.cur'
IDB_TOOLBAR_LARGE  BITMAP "AStyleWin_Large.bmp"
                          ^
..\src\Resource.rc(13) : Error: unable to open input file 'ciMain.ico'
Fatal error: too many errors
Process terminated with status 1 (0 minutes, 0 seconds)
6 errors, 0 warnings
 
--------------------------------------------------------------------------

In plugins\compilergcc\compilerDMC.cpp, line 160 has -I$res_includes instead of just $res_includes. Removing the -I will fix the problem.

Category
Application::Error
Group
 
Status
Closed
Close date
2008-05-13 16:36
Assigned to
biplab
biplab 2008-05-13 16:36

This bug is now fixed in HEAD.

Thank you for reporting it.