Dear all,
It seems that CLucene cannot be compiled with Visual Studio 2015. Each time
I tried to configure with CLucene, I saw the error "printf could not be
found". I think the reason is the following:
"The printf and scanf family of functions are now defined inline. The
definitions of all of the printf and scanf functions have been moved inline
into <stdio.h>, <conio.h>, and other CRT headers. This is a breaking change
that leads to a linker error (LNK2019, unresolved external symbol) for any
programs that declared these functions locally without including the
appropriate CRT headers. If possible, you should update the code to include
the CRT headers (that is, add #include <stdio.h>) and the inline functions,
but if you do not want to modify your code to include these header files,
an alternative solution is to add an additional library to your linker
input, legacy_stdio_definitions.lib."
If somebody who is experienced with CLucene development could give me some
pointers on how to resolve this issue, I can work out a patch and post it
on GitHub.
Best regards,
Jonas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers