Help Needed: genrb.exe Not Found Due to Misaligned Build Paths

10 views
Skip to first unread message

Rong Zhao

unread,
Nov 2, 2025, 11:21:27 AMNov 2
to icu-support

Dear ICU Support Team,


I'm building ICU4C version 77.1 on Windows using Visual Studio 2022, and I've encountered a path resolution issue that causes genrb.exe to fail during the data build process.


In `genrb.vcxproj`, there's a copy command defined as:


    copy "$(TargetPath)" ..\..\..\$(IcuBinOutputDir)


This results in the following destination path during build:


    d:\build\ob\sb-91641219\tmp\MSBuildTemp\..\..\..\bin64\genrb.exe


However, when `makedata.mak` is executed from `icu4c/source/extra/uconv`, it attempts to run:


    "d:\build\ob\sb-91641219\cayman_icu4c_github\build\release\win64_vc140\icu\build\icu4c\source\extra\uconv\..\..\..\bin64\genrb.exe" -s resources -d resources root.txt


This path does not exist because the copy command in `genrb.vcxproj` places genrb.exe in a different location than the one expected by `makedata.mak`.


My question is: **how can I ensure that the destination path used in `genrb.vcxproj` matches the path expected by `makedata.mak`**, without modifying the genrb.vcxproj by myself?


Any guidance on aligning these paths or configuring the build environment ?

Thanks.


Best regards,  

Rong Zhao

Reply all
Reply to author
Forward
0 new messages