[Xapian-discuss] build simpleindex.cc on windows using vc9 don't know libs
Morya
morya at morya.cn
Mon Dec 1 05:53:30 GMT 2008
Dear All Guys,
Hello there! Greetings!
I am currently using VC9 to build xapian simplest sample simpleindex on
Windows.
I have managed to build xapian, using the tool recommended at the bottom
of this page.
http://www.xapian.org/download.php (Compiling on MS Windows with MSVC)
All the sample apps and test programs did successfully run, but when I
create a project from the code,
I don't know what libs should I include... There are so many libs, in the
"Release" folder.
I tried to add all of them to my project, but I still got 20 errors
complaining that
some external symbols missing.
I thought of reading the Makefile myself, but, obviously, it's not a easy
job for me.
Can anybody tell me what I am doing wrong here, thanks a lot!
Best Regards
Morya
------------------------
1>libbackend.lib(dbfactory_remote.obj) : error LNK2001: unresolved external
symbol __imp__WSAStartup at 8
1>libbackend.lib(dbfactory_remote.obj) : error LNK2001: unresolved external
symbol __imp__WSACleanup at 0
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__WSACleanup at 0
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_inflateEnd
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_inflate
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_inflateInit2_
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_deflateEnd
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_deflate
1>libflint.lib(flint_table.obj) : error LNK2001: unresolved external symbol
_deflateInit2_
1>libnet.lib(remoteconnection.obj) : error LNK2001: unresolved external
symbol __imp__closesocket at 4
1>libnet.lib(remoteconnection.obj) : error LNK2001: unresolved external
symbol __imp__select at 20
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__select at 20
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__WSAGetLastError at 0
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__getsockopt at 20
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__connect at 12
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__setsockopt at 20
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__ioctlsocket at 12
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__htons at 4
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__socket at 12
1>libnet.lib(tcpclient.obj) : error LNK2001: unresolved external symbol
__imp__gethostbyname at 4
More information about the Xapian-discuss
mailing list