Hello,
I am trying to build my libuv based project on windows 7.
I am using the master branch of libuv.

First, I generated visual studio 2012 project files with GYP, and
built the .lib file in VS 2012.

Then, I built my project in visual studio 2012, and linked to libuv.lib.

My project is a C++ project, by the way.

I get the following errors, as listed below. Note that this project works
fine
on OSX and LInux.

ANy ideas?

Thanks,
Aaron



2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_default_loop referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_run referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_stop referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::stop(void)" (?stop@EventLoopImpl@EventLoop@
@QEAAXXZ)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_close referenced in function "private: void __cdecl
EventLoop::EventLoopImpl::on_client_connect_impl(struct uv_connect_s
*,int)" (?on_client_connect_impl@EventLoopImpl@EventLoop@
@AEAAXPEAUuv_connect_s@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_buf_init referenced in function "private: void __cdecl
EventLoop::EventLoopImpl::on_new_connection_impl(struct uv_stream_s *,int)"
(?on_new_connection_impl@EventLoopImpl@EventLoop@@AEAAXPEAUuv_stream_s@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_listen referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_accept referenced in function "private: void __cdecl
EventLoop::EventLoopImpl::on_new_connection_impl(struct uv_stream_s *,int)"
(?on_new_connection_impl@EventLoopImpl@EventLoop@@AEAAXPEAUuv_stream_s@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_read_start referenced in function "private: void __cdecl
EventLoop::EventLoopImpl::on_new_connection_impl(struct uv_stream_s *,int)"
(?on_new_connection_impl@EventLoopImpl@EventLoop@@AEAAXPEAUuv_stream_s@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_write referenced in function "private: void __cdecl
EventLoop::EventLoopImpl::on_client_read_impl(struct uv_stream_s
*,__int64,struct uv_buf_t *)" (?on_client_read_impl@EventLoopImpl@EventLoop@
@AEAAXPEAUuv_stream_s@@_JPEAUuv_buf_t@@@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_tcp_init referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_tcp_bind referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_tcp_connect referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startClient(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startClient@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>ProtoIO.lib(EventLoopImpl.obj) : error LNK2019: unresolved external
symbol uv_ip4_addr referenced in function "public: void __cdecl
EventLoop::EventLoopImpl::startServer(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,int)"
(?startServer@EventLoopImpl@EventLoop@@QEAAXV?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
2>C:\Users\aaron\src\gdcm\ProtoIO-build\src\Debug\ProtoIODemo.exe : fatal
error LNK1120: 13 unresolved externals

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to