Kalantaryan, Davit
2018-Apr-30 04:59 UTC
Need support to build xapian on Windows with Microsoft compiler
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
Aleksandar Pavic
2018-May-01 18:24 UTC
Need support to build xapian on Windows with Microsoft compiler
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> 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20180501/8601a730/attachment.html>
Olly Betts
2018-May-02 04:13 UTC
Need support to build xapian on Windows with Microsoft compiler
On Mon, Apr 30, 2018 at 06:59:09AM +0200, Kalantaryan, Davit wrote:> 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.If your build doesn't work that doesn't sound like a successful build to me!> 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?1.4.6 should be out this month. Cheers, Olly
Olly Betts
2018-May-02 04:16 UTC
Need support to build xapian on Windows with Microsoft compiler
On Tue, May 01, 2018 at 06:24:16PM +0000, Aleksandar Pavic wrote:> Hi. I too would like to compile this on Windows. Can someone please write > some detailed instructions?Please see: https://trac.xapian.org/browser/git/xapian-core/INSTALL?rev=RELEASE/1.4#L54 If those aren't adequate, please let us know what needs adding. Cheers, Olly
Kalantaryan, Davit
2018-May-02 07:32 UTC
Need support to build xapian on Windows with Microsoft compiler
Good morning, I was able to compile with VS2015 successfully, but some runtime errors. Today I'm going to migrate the project to VS2017. I'll let you know on results tomorrow morning. Sincerely, Davit On 02.05.2018 06:13, Olly Betts wrote:> On Mon, Apr 30, 2018 at 06:59:09AM +0200, Kalantaryan, Davit wrote: >> 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. > > If your build doesn't work that doesn't sound like a successful build to > me! > >> 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? > > 1.4.6 should be out this month. > > Cheers, > Olly >-- Dr. Kalantaryan Davit ============================================DESY, Platanenallee 6, 15738 Zeuthen, Germany +49 33762 77552 davit.kalantaryan at desy.de
Kalantaryan, Davit
2018-May-03 14:08 UTC
Need support to build xapian on Windows with Microsoft compiler
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