I am trying to create a custom runtime image for a CEPC platform but
when I do a build and sysgen for CEPC: x86_Release, I get the
following error:
NMAKE : fatal error U1077: 'renumbericonids' : return code
'0xfffffffd'

I've tried doing a sysgen, build and sysgen, debug, retail, from PB,
from the commandline, etc. Nothing works

The platform builds just fine when doing a sysgen for the Emulator
though. Any suggestions?

Cheers,

Marty Neal
Qualnetics Co.


Copying localized RESs for 0409 to C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409
mkdir C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
\oak\target\x86\retail\0409 > nul 2>&1
xcopy /I C:\WINCE500\public\shell\oak\lib\x86\retail\0409\*.res C:
\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen\oak\target
\x86\retail\0409 > nul
nmake /NOLOGO ceshell
makefile.def: Invoked with predefined settings:
TARGETNAME: dummy
TARGETTYPE: dummy
RELEASETYPE:
TARGETLIBS:
SOURCELIBS:
makefile.def: BUILDROOT is C:\WINCE500\public\shell\cesysgen
0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen
\sources file.
Directory: C:\WINCE500\PUBLIC\SHELL\CESYSGEN
TARGETNAME: dummy
RELEASETYPE is not defined. Using DEFAULT.
makefile.def: Including C:\WINCE500\public\common\oak\misc
\sources.ReleaseType_DEFAULT
del /q C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
\oak\target\x86\retail\0409\ceshell.res
renumbericonids %CESHELL_RESOURCES%
C:\WINCE500\public\shell\oak\lib\x86\retail\0409\ceshapi_vgal.res:
warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
offset(0x32)
RenumberIconIds: Found 1 Warnings
C:\WINCE500\public\shell\oak\lib\x86\retail\0409\ceshapi_vgal.res:
warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
offset(0x32)
RenumberIconIds: Found 1 Warnings
res2res %CESHELL_RESOURCES% -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\ceshell.res
Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
Res2Res: Ignoring "dummy"
Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
temp exe

Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshapi_vgal.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshapi_vgal.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B45.tmp.
Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshapi_base.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshapi_base.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B45.tmp.
Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshui_vgal.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshui_vgal.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B45.tmp.
Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshui_base.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\ceshui_base.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B45.tmp.
Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\ceshell.res
from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B45.tmp.
Set SizeOfResources: 0001f000
Set VirtualSize: 0001ecf8
SizeOfResources: 0001f000
SizeOfResources: 0001f000
SizeOfResources: 0001f000
res2res C:\WINCE500\public\shell\oak\lib\x86\retail
\0409\explorer_vgal.res C:\WINCE500\public\shell\oak\lib\x86\retail
\0409\explorerbase.res -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
temp exe

Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorer_vgal.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorer_vgal.res to C:
\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4A.tmp.
Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorerbase.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorerbase.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B4A.tmp.
Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4A.tmp.
Set SizeOfResources: 0001f000
Set VirtualSize: 0001ef00
SizeOfResources: 0001f000
SizeOfResources: 0001f000
SizeOfResources: 0001f000
res2res C:\WINCE500\public\shell\oak\lib\x86\retail
\0409\explorer_vgal.res C:\WINCE500\public\shell\oak\lib\x86\retail
\0409\explorerbase.res -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
temp exe

Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorer_vgal.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorer_vgal.res to C:
\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4D.tmp.
Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorerbase.res.
Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
\x86\retail\0409\explorerbase.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
\R2R1B4D.tmp.
Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4D.tmp.
Set SizeOfResources: 0001f000
Set VirtualSize: 0001ef00
SizeOfResources: 0001f000
SizeOfResources: 0001f000
SizeOfResources: 0001f000
Copying localized RESs for 0404 to C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0404
mkdir C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
\oak\target\x86\retail\0404 > nul 2>&1
xcopy /I C:\WINCE500\public\shell\oak\lib\x86\retail\0404\*.res C:
\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen\oak\target
\x86\retail\0404 > nul
nmake /NOLOGO ceshell
makefile.def: Invoked with predefined settings:
TARGETNAME: dummy
TARGETTYPE: dummy
RELEASETYPE:
TARGETLIBS:
SOURCELIBS:
makefile.def: BUILDROOT is C:\WINCE500\public\shell\cesysgen
0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen
\sources file.
Directory: C:\WINCE500\PUBLIC\SHELL\CESYSGEN
TARGETNAME: dummy
RELEASETYPE is not defined. Using DEFAULT.
makefile.def: Including C:\WINCE500\public\common\oak\misc
\sources.ReleaseType_DEFAULT
del /q C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
\oak\target\x86\retail\0404\ceshell.res
Could Not Find C:\WINCE500\PBWorkspaces\CEPC_FULL
\WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0404\ceshell.res
renumbericonids %CESHELL_RESOURCES%
C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
offset(0x32)
C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
error RenumberIconIds: Cannot open output file
C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
offset(0x32)
C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
error RenumberIconIds: Cannot open output file
NMAKE : fatal error U1077: 'renumbericonids' : return code
'0xfffffffd'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' :
return code '0x2'
Stop.

Re: error when doing clean sysgen of new CEPC platform by Michel

Michel
Tue Apr 10 20:09:27 CDT 2007

See:
http://groups.google.co.nz/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/27fda5e3e2d6e683/4bc9cabcd9642af3?lnk=st&q=&rnum=1&hl=en#4bc9cabcd9642af3

And look at the part where I say "never ever".

Note: This has been discussed at least a million times on this newsgroup
already...

Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com

Marty wrote:
> I am trying to create a custom runtime image for a CEPC platform but
> when I do a build and sysgen for CEPC: x86_Release, I get the
> following error:
> NMAKE : fatal error U1077: 'renumbericonids' : return code
> '0xfffffffd'
>
> I've tried doing a sysgen, build and sysgen, debug, retail, from PB,
> from the commandline, etc. Nothing works
>
> The platform builds just fine when doing a sysgen for the Emulator
> though. Any suggestions?
>
> Cheers,
>
> Marty Neal
> Qualnetics Co.
>
>
> Copying localized RESs for 0409 to C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409
> mkdir C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
> \oak\target\x86\retail\0409 > nul 2>&1
> xcopy /I C:\WINCE500\public\shell\oak\lib\x86\retail\0409\*.res C:
> \WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen\oak\target
> \x86\retail\0409 > nul
> nmake /NOLOGO ceshell
> makefile.def: Invoked with predefined settings:
> TARGETNAME: dummy
> TARGETTYPE: dummy
> RELEASETYPE:
> TARGETLIBS:
> SOURCELIBS:
> makefile.def: BUILDROOT is C:\WINCE500\public\shell\cesysgen
> 0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen
> \sources file.
> Directory: C:\WINCE500\PUBLIC\SHELL\CESYSGEN
> TARGETNAME: dummy
> RELEASETYPE is not defined. Using DEFAULT.
> makefile.def: Including C:\WINCE500\public\common\oak\misc
> \sources.ReleaseType_DEFAULT
> del /q C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
> \oak\target\x86\retail\0409\ceshell.res
> renumbericonids %CESHELL_RESOURCES%
> C:\WINCE500\public\shell\oak\lib\x86\retail\0409\ceshapi_vgal.res:
> warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
> offset(0x32)
> RenumberIconIds: Found 1 Warnings
> C:\WINCE500\public\shell\oak\lib\x86\retail\0409\ceshapi_vgal.res:
> warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
> offset(0x32)
> RenumberIconIds: Found 1 Warnings
> res2res %CESHELL_RESOURCES% -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\ceshell.res
> Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
> Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
> Res2Res: Ignoring "dummy"
> Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
> temp exe
>
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshapi_vgal.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshapi_vgal.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B45.tmp.
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshapi_base.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshapi_base.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B45.tmp.
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshui_vgal.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshui_vgal.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B45.tmp.
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshui_base.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\ceshui_base.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B45.tmp.
> Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\ceshell.res
> from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B45.tmp.
> Set SizeOfResources: 0001f000
> Set VirtualSize: 0001ecf8
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> res2res C:\WINCE500\public\shell\oak\lib\x86\retail
> \0409\explorer_vgal.res C:\WINCE500\public\shell\oak\lib\x86\retail
> \0409\explorerbase.res -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
> Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
> Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
> Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
> temp exe
>
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorer_vgal.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorer_vgal.res to C:
> \DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4A.tmp.
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorerbase.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorerbase.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B4A.tmp.
> Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
> from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4A.tmp.
> Set SizeOfResources: 0001f000
> Set VirtualSize: 0001ef00
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> res2res C:\WINCE500\public\shell\oak\lib\x86\retail
> \0409\explorer_vgal.res C:\WINCE500\public\shell\oak\lib\x86\retail
> \0409\explorerbase.res -fo C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
> Res2Res for Windows CE (Debug) (Built on Jun 11 2004 10:49:59)
> Copyright (C) Microsoft Corp. 1991-2004. All rights reserved.
> Res2Res: Using C:\WINCE500\public\common\oak\Bin\i386\R2RDUMMY.DLL for
> temp exe
>
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorer_vgal.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorer_vgal.res to C:
> \DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4D.tmp.
> Res2Res: Using resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorerbase.res.
> Res2Res: Adding resources from C:\WINCE500\public\shell\oak\lib
> \x86\retail\0409\explorerbase.res to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
> \R2R1B4D.tmp.
> Res2Res: Building C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0409\explorer.res
> from temp file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\R2R1B4D.tmp.
> Set SizeOfResources: 0001f000
> Set VirtualSize: 0001ef00
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> SizeOfResources: 0001f000
> Copying localized RESs for 0404 to C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0404
> mkdir C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
> \oak\target\x86\retail\0404 > nul 2>&1
> xcopy /I C:\WINCE500\public\shell\oak\lib\x86\retail\0404\*.res C:
> \WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen\oak\target
> \x86\retail\0404 > nul
> nmake /NOLOGO ceshell
> makefile.def: Invoked with predefined settings:
> TARGETNAME: dummy
> TARGETTYPE: dummy
> RELEASETYPE:
> TARGETLIBS:
> SOURCELIBS:
> makefile.def: BUILDROOT is C:\WINCE500\public\shell\cesysgen
> 0 Please add _COMMONPUBROOT and __PROJROOT to your tree's cesysgen
> \sources file.
> Directory: C:\WINCE500\PUBLIC\SHELL\CESYSGEN
> TARGETNAME: dummy
> RELEASETYPE is not defined. Using DEFAULT.
> makefile.def: Including C:\WINCE500\public\common\oak\misc
> \sources.ReleaseType_DEFAULT
> del /q C:\WINCE500\PBWorkspaces\CEPC_FULL\WINCE500\CEPC_x86\cesysgen
> \oak\target\x86\retail\0404\ceshell.res
> Could Not Find C:\WINCE500\PBWorkspaces\CEPC_FULL
> \WINCE500\CEPC_x86\cesysgen\oak\target\x86\retail\0404\ceshell.res
> renumbericonids %CESHELL_RESOURCES%
> C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
> warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
> offset(0x32)
> C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
> error RenumberIconIds: Cannot open output file
> C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
> warning RenumberIconIds: Ignoring unsupported res type (BOOL) at
> offset(0x32)
> C:\WINCE500\public\shell\oak\lib\x86\retail\0404\ceshapi_vgal.res:
> error RenumberIconIds: Cannot open output file
> NMAKE : fatal error U1077: 'renumbericonids' : return code
> '0xfffffffd'
> Stop.
> NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' :
> return code '0x2'
> Stop.
>

--