Issue 78034 - Build with Windows SDK fails in shell/source/win32/shlxthandler/ooofilt
Summary: Build with Windows SDK fails in shell/source/win32/shlxthandler/ooofilt
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: solenv (show other issues)
Version: current
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: oliver.bolte
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 77980
  Show dependency tree
 
Reported: 2007-06-02 03:21 UTC by quetschke
Modified: 2007-06-21 10:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2007-06-02 03:21:10 UTC
The build fails (see errorlog at the end) because the ntquery.h from the WIndows
SDK tries to include the non-existing (nowhere on my system) stgprop.h.


guw.exe /cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.0/VC/bin/cl.exe -Zm500
-Zc:forScope,wchar_t- -GR -c -nologo -Gs  -I. 
-I../../../../wntmsci11.pro/inc/ooofilt -I../inc -I../../../../inc/pch
-I../../../../inc/shell -I../../../../inc -I../../../../WIN/inc
-I../../../../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_obo12/solenv/wntmsci11/inc
-I/cygdrive/d/w1/tin_obo12/solenv/inc -I/cygdrive/d/w1/tin_obo12/res
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_1/include/win32 -I/cygdrive/c/J2SDK1~1.2_1/include
-I/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.0/include
-I/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.0/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MICROS~4/include
    -I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/offuh -I.
-I../../../../res -I. -Gy -Ob1 -Oxs -Oy- -Gd  -DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE
-D_WIN32_WINNT=0x0501 -wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 -I. 
-I../../../../wntmsci11.pro/inc/ooofilt -I../inc -I../../../../inc/pch
-I../../../../inc/shell -I../../../../inc -I../../../../WIN/inc
-I../../../../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_obo12/solenv/wntmsci11/inc
-I/cygdrive/d/w1/tin_obo12/solenv/inc -I/cygdrive/d/w1/tin_obo12/res
-I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_1/include/win32 -I/cygdrive/c/J2SDK1~1.2_1/include
-I/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.0/include
-I/cygdrive/c/PROGRA~1/MI2578~1/Windows/v6.0/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MICROS~4/include
    -I/cygdrive/d/w1/tin_obo12/solver/680/wntmsci11.pro/inc/offuh -I.
-I../../../../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275
-wd4290     -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626
-wd4640     -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619
-wd4365 	-wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005   -DWNT
-DWNT -DNT351 -DMSC -DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
-DSTLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DCUI -DSOLAR_JAVA -DSRC680=SRC680   -D_WIN32_IE=0x501 -DSHAREDLIB -D_DLL_
-DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL  -EHa -DEXCEPTIONS_ON  
-Fo../../../../wntmsci11.pro/slo/propspec.obj
/cygdrive/d/w1/tin_obo12/shell/source/win32/shlxthandler/ooofilt/propspec.cxx

ooofilt.cxx
propspec.cxx
c:\PROGRA~1\MI2578~1\Windows\v6.0\include\ntquery.h(19) : fatal error C1083:
Cannot open include file: 'stgprop.h': No such file or directory
dmake:  Error code 2, while making '../../../../wntmsci11.pro/slo/propspec.obj'
---* tg_merge.mk *---
Comment 1 quetschke 2007-06-02 03:37:44 UTC
This is also reported here:
<http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=508254&SiteID=1>

Workaround: Use the ntquery.h from the old PSDK.
Comment 2 oliver.bolte 2007-06-04 09:03:48 UTC
Hi Volker,

stgprop.h has to be generated by copy/paste from a MSDN forum, see:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=508254&SiteID=1

Oliver
Comment 3 oliver.bolte 2007-06-04 10:32:57 UTC
I've added the build requirements to the wiki:
http://wiki.services.openoffice.org/wiki/Windows#Building_with_Windows_Vista_PSDK
Comment 4 oliver.bolte 2007-06-21 10:18:37 UTC
As I can't do more than commenting the appropriate workaround in OOo wiki  for
the missing Microsoft header as build requirement,  I'm closing this issue.