Hmm... I'll take a look. I think the awt build needs to pass the dependencies directories explicitly rather than relying on a rather fragile relationship between the depends directory and hdk directory.
-Mark. In message <4bf16fc9.5030...@googlemail.com>, Oliver Deakin writes: > > Looking at the compile lines, this include path doesn't look right: > /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include > > I can see lcms.h in classlib\depends\libs\windows.x86\lcms-1.19\include > but not anywhere under the target directory. > > > On 17/05/2010 17:28, Oliver Deakin wrote: > > On 17/05/2010 17:14, Tim Ellison wrote: > >> On 14/May/2010 23:48, Mark Hindess wrote: > >>> Please test the java5 and java6 federated build and report your results > >>> to help prepare for our releases. > >> A fresh checkout on Windows Java 5 branch fails to compile for me. It > >> cannot find 'lcms.h' > > > > I see the same failure in my workspace, but haven't yet tracked down > > the cause. > > > > Regards, > > Oliver > > > >> <snip> > >> > >> -compile-java: > >> [echo] Compiling awt classes > >> > >> -class-patternset: > >> > >> -build-jar: > >> [hy.jar.bin] Building jar: > >> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt.jar > >> [hy.jar.src] Building jar: > >> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt-src.jar > >> > >> -build-native-common: > >> [echo] Making "" in src/main/native/lcmm/windows > >> [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo > >> -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WIN95 > >> -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 > >> -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE > >> -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT - > >> D_WINSOCKAPI_ /ID:\Harmony5\target\hdk\include > >> /ID:\Harmony5\target\hdk\jdk\include /I. -DHY_NO_THR -DHY_ZIP_API > >> /I..\shared\ > >> /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include > >> /I..\shared\include -Fo..\shared\cmmerror.obj ..\shared\cmmerror.c > >> [exec] cmmerror.c > >> [exec] > >> d:\Harmony5\classlib\modules\awt\src\main\native\lcmm\shared\cmmapi.h(22) > >> > >> : fatal error C1083: Cannot open include file: 'lcms.h': No such file or > >> directory > >> [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2' > >> [exec] Stop. > >> > >> BUILD FAILED > >> D:\Harmony5\build.xml:414: The following error occurred while executing > >> this line: > >> D:\Harmony5\classlib\build.xml:181: The following error occurred while > >> executing this line: > >> D:\Harmony5\classlib\make\properties.xml:545: The following error > >> occurred while executing this line: > >> D:\Harmony5\classlib\make\properties.xml:557: The following error > >> occurred while executing this line: > >> D:\Harmony5\classlib\modules\awt\build.xml:230: The following error > >> occurred while executing this line: > >> D:\Harmony5\classlib\make\properties.xml:582: exec returned: 2 > >> > >> Total time: 2 minutes 33 seconds > >> > > > > -- > Oliver Deakin > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number 7415 > 98. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU >