[Xapian-discuss] Building 0.9.10 with MSVC++ 2005 Express Edition

Charlie Hull charlie at lemurconsulting.com
Wed Mar 7 14:52:24 GMT 2007


Michael Sanders wrote:
> Charlie Hull wrote:
>>> 3) Unfortunately I haven't come up with a way around the third error:
>>>
>>> cl    /I.. /I..\include /I..\include\xapian /I..\common /W3 /EHsc /O2 
>>> /MD /c /D "NDEBUG"  /D "WIN32" /D "__WIN32__" /D "_WINDOWS"  /D 
>>> "HAVE_VSNPRINTF" /D "HAVE_STRDUP" /D "_USE_32BIT_TIME_T" 
>>> /D_CRT_SECURE_NO_DEPRECATE  /I"..\languages"  /Fo".\\" /Tp 
>>> ".\omdocument.cc"
>>>
>>> omdocument.cc
>>> c:\downloads\xapian\xapian-core-0.9.10\api\maptermlist.h(34) : error 
>>> C2027: use of undefined type 'Xapian::Document::Internal'

Ah - I think I know what may be happening. There are two include files 
called document.h, and your previous modifications to the include file 
path may be causing the wrong one to be included. Could you try the 
latest version of the build tools from our site (remove the \win32 
folder you made earlier)? This copies unistd.h to the right place, and 
means you config.mak doesn't need editing.

Thanks

Charlie

-- 
Charlie Hull
Lemur Consulting Limited

tel/fax: +44 (0)8700 118334
mobile:  +44 (0)7767 825828
web: www.lemurconsulting.com



More information about the Xapian-discuss mailing list