Hi all,

 

I would like to do a dll for windows 32 (for my project), and doing a static 
link with libzmq.lib.

I compile the solution zeromq-3.2.0 with:

 

Configuration type: Static library (.lib) -> libzmq.lib (19 574 628 octets)

 

In my project, I compile my code and tries to insert it, but I have the 
following error:

error LNK2019: unresolved external symbol __imp__zmq_strerror referenced in 
function "public: void __thiscall XXXXXXX

 

I try to following this link:

http://www.mail-archive.com/[email protected]/msg03925.html

 

 

But nothing to do !

 

I try this, directly in the zmq.h:

__declspec(dllexport) int zmq_bind (void *s, const char *addr);

 

And in my project 

__declspec(dllimport) int zmq_bind (void *s, const char *addr);

 

But I have the same error. 

 

Please could you help me to solve this problem ?

 

Thank you very much

 

Best regards

 

Xavier Millieret

Software Engineer

Engineering Software & Connectivity

Eaton's Electrical Group PQCO/DPQD

Immeuble Viseo - Bâtiment A

110, rue Blaise Pascal

38330 Montbonnot St Martin 

FRANCE

tel: +33 (0) 4 76 00 66 02

[email protected] <mailto:[email protected]> 

www.eaton.com <http://www.eaton.com/> 

 


--------------------------------------------------------------------------
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to