[zeromq-dev] Building ZeroMQ 2.2.0 with OpenPGM on Win7 64
Nick Eriksson
nick26 at gmail.com
Tue Apr 10 12:56:13 CEST 2012
Thanks for the heads up, but apparently when you choose to buildWithPgm it
includes the libpgm.lib to Additional depencies section under Linker -
Input. So I believe that VS is looking for correct files in correct places,
libpgm.lib in "C:\Program Files (x86)\OpenPGM 5.1.118\lib".
On Tue, Apr 10, 2012 at 12:21 PM, OJ Reeves <oj at buffered.io> wrote:
> Hi Nick,
>
> Adding the 'lib' and 'include' folders as additional directories is enough
> to satisfy Visual Studio when it comes to finding files, but it doesn't
> tell Visual Studio exactly which files to link into the resulting binary.
> You'll have to configure your project to include those libs. You can do
> this by opening the project properties for libzmq.dll and adding the
> required OpenPGM *.lib files into the "Additional dependencies" section.
>
> Please bear in mind I don't have VS 2008, nor have I tried to compile
> things the way you have. It just appears that it's likely this is the
> problem.
>
> Hope it helps. Best of luck.
> OJ
>
>
> On Tue, Apr 10, 2012 at 6:32 PM, Nick Eriksson <nick26 at gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to build ZeroMQ 2.2.0 withOpenPGM using Visual Studio 2008
>> express. I've installed OpenPGM on windows using the binaries from
>> http://miru.hk/openpgm/. On Visual Studio I've added OpenPGM 5.1.118\lib
>> to Additional library directories and OpenPGM 5.1.118\include to Additional
>> include directories. When I try to build the libzmq project I get the
>> following errors:
>> 1> Creating library ../../../lib/libzmq.lib and object
>> ../../../lib/libzmq.exp
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_connect
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_close
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_socket
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_gsi_create_from_string
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_bind3
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_freeaddrinfo
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_getaddrinfo
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_setsockopt
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_free
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_error_free
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_recvmsgv
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol _pgm_send
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_getsockopt
>> 1>pgm_socket.obj : error LNK2001: unresolved external symbol
>> _pgm_gsi_create_from_data
>> 1>zmq.obj : error LNK2001: unresolved external symbol _pgm_init
>> 1>zmq.obj : error LNK2001: unresolved external symbol _pgm_shutdown
>> 1>../../../lib/libzmq.dll : fatal error LNK1120: 16 unresolved externals
>>
>> I'm not very experienced with C/C++ builds, so I need some help here. Has
>> some succeeded in building VS2008 withOpenPGM? Any tips are welcome.
>>
>> --Nick
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
>
> --
>
> OJ Reeves
> http://buffered.io/
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120410/6182b6e4/attachment.htm>
More information about the zeromq-dev
mailing list