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

Charlie Hull charlie at juggler.net
Wed Mar 7 13:46:27 GMT 2007


Michael Sanders wrote:
> I'm attempting to build 0.9.10 with MSVC++ 2005 Express Edition (i.e. 
> the version available for free download from Microsoft), using the build 
> files and instructions supplied by Charlie Hull at 
> http://www.lemurconsulting.com/Products/Xapian/Overview.shtml
> 
> Rather than mail Charlie directly, I thought it might be useful for 
> others if I shared my experiences on the list (especially as I think my 
> first issue was down to an omission in the xapian-core distribution).
> 
> I've run in to three issues:
> 
> 1) I initially got the error:
> 
> NMAKE : fatal error U1073: don't know how to make 
> '".\msvc_posix_wrapper.cc"'
> 
Oops - looks like some confusion about what should be included in the 
distro. I'll chat to Olly and get this sorted out.
> 
> 2) The next error I got was:

> flint_table.cc
> c:\downloads\xapian\xapian-core-0.9.10\backends\flint\flint_io.h(27) : 
> fatal err
> or C1083: Cannot open include file: 'unistd.h': No such file or directory
> 
My fault. There will be an updated set of build files up on our site 
soon, the header should have been copied to xapian-core-0.9.10\include 
not xapian-core-0.9.10\include\xapian automatically.
> 
> 
> 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'

I don't get this error - can you post your PATH, LIB and INCLUDE 
environment variables?

Charlie



More information about the Xapian-discuss mailing list