Need support to build xapian on Windows with Microsoft compiler

Kalantaryan, Davit davit.kalantaryan at desy.de
Thu May 3 15:08:24 BST 2018


Hello,

I compiled also with VS17, again runtime errors.
I'll do some more investigation. Next week I'll inform on results.

Sincerely,
Davit


On 01.05.2018 20:24, Aleksandar Pavic wrote:
> Hi. I too would like to compile this on Windows. Can someone please 
> write some detailed instructions?
> 
> On Tue, 1 May 2018, 00:40 Kalantaryan, Davit, <davit.kalantaryan at desy.de 
> <mailto:davit.kalantaryan at desy.de>> wrote:
> 
>     Hello,
> 
>     Thank you very much for quick response.
>     I need only xapian-core.
>     As I wrote on my case compilation with Visual Studio 2015 successful,
>     just I have runtime errors, while the same code on LINUX runs fine.
>     I'll try the hints from
>     (https://trac.xapian.org/browser/git/xapian-core/INSTALL?rev=RELEASE/1.4#L54)
> 
>     and maybe to migrate my project to VS2017 and test it again.
>     If I understand correctly starting from 1.4.6 you will have officiant
>     MSVC support? What is a approximate date for this release?
> 
>     Thank you again.
>     Sincerely,
>     Davit
> 
>     On 30.04.2018 03:16, Olly Betts wrote:
>      > On Sun, Apr 29, 2018 at 06:31:33PM +0200, Kalantaryan, Davit wrote:
>      >>   2. And if I remember correctly the xapian documentation,
>      >>      xapian has also C# bindings.
>      >
>      > Microsoft's toolchain isn't required for C# - there's also:
>      >
>      > https://en.wikipedia.org/wiki/Mono_(software)
>      >
>      >> I need the xapian library for Windows Microsoft compiler. I
>     created visual
>      >> studio 2015 project and included almost all source files from the
>      >> xapian-core repository.
>      >
>      > I wouldn't recommend doing that - the build system needs to do
>     more than
>      > just compile all the source files and link them together.
>      >
>      >> Could you please provide me Visual studio project file
>      >> with proper options, or cmake file, or the list of necessary
>     source files
>      >> (to be included to the library compilation project) with necessary
>      >> compilation and linkage options.
>      >
>      > We don't support building with such a project file, nor with cmake.
>      >
>      > It's not feasible to list all the tool options needed - that's
>     the build
>      > system's job, and it's much simpler and less error prone to just
>     use the
>      > existing build system to build the code rather than trying to create
>      > your own build system from scratch.
>      >
>      > There's support in git master and the tip of the RELEASE/1.4
>     branch for
>      > building xapian-core with MSVC.  This support will be in 1.4.6
>     once that
>      > is released.  You can use snapshots from here until then:
>      >
>      > https://oligarchy.co.uk/xapian/RELEASE/1.4/
>      >
>      > For instructions, see:
>      >
>      >
>     https://trac.xapian.org/browser/git/xapian-core/INSTALL?rev=RELEASE/1.4#L54
>      >
>      > Currently only xapian-core is known to work.  It would be great to
>      > extend that to omega and the bindings, and to add those to the
>     existing
>      > CI (see .appveyor.yml at the top of the tree), but that really needs
>      > help from developers interested in support for this platform.
>      >
>      >> Also precompiled binaries with corresponding headers are acceptable.
>      >
>      > We don't currently provide pre-compiled binaries.
>      >
>      > Cheers,
>      >      Olly
>      >
> 
>     -- 
>     Dr. Kalantaryan Davit
>     =============================================
>     DESY, Platanenallee 6, 15738 Zeuthen, Germany
>     +49 33762 77552 davit.kalantaryan at desy.de
>     <mailto:davit.kalantaryan at desy.de>
> 

-- 
Dr. Kalantaryan Davit
=============================================
DESY, Platanenallee 6, 15738 Zeuthen, Germany
+49 33762 77552        davit.kalantaryan at desy.de



More information about the Xapian-devel mailing list