[Xapian-discuss] Databases on Windows
Colin Bell
colinabell at gmail.com
Mon Apr 14 18:06:02 BST 2008
Thank you very much Charlie, your a Genius!
I changed it to release and it creates the folder and begins to
populate it.....
but then I get
"Debug Assertion Failed!"
f:\dd\vctools\crt_bld\self_x86\crt\src\write.c
_osfile(fh) & FOPEN
It creates the following three files before exiting with the above error
flintlock
iamflint
postlist.baseA
It's good to move forward though ;-)
On 14 Apr 2008, at 17:31, Charlie Hull wrote:
> Colin Bell wrote:
>> It must be me doing something wrong. I ran all the tests included in
>> the Xapian build and they all ran ok, they didn't seem to have any
>> problems. I created the project as a windows console application and
>> just used the standard settings, am I missing something here?
>
> Hi Colin,
>
> If I build Xapian from the command line using the Win32 make files
> as a
> set of .libs, then create a new IDE project containing only your
> minimal
> test code, and attempt to link in the Xapian libs, I get the problems
> you report *but only if running in Debug mode*. Running in Release
> mode
> works fine and successfully creates the 'research' folder and
> database.
>
> Are you running the IDE in Debug mode and attempting to use .libs
> built
> for Release mode? The latter is the default for the Win32 make files.
>
> std::strings are handled differently in Debug mode (they're bigger!)
> and
> mixing the two modes is unlikely to work.
>
> Cheers
>
> Charlie
>
>
>
>
>
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
More information about the Xapian-discuss
mailing list