hyperledger / indy-vdr

A library and proxy server for interacting with Hyperledger Indy Node ledger instances
Apache License 2.0
54 stars 71 forks source link

Linking to indy_vdr lib does not work on windows. #237

Open joyride9999 opened 1 year ago

joyride9999 commented 1 year ago

Linking to indy_vdr lib does not work on windows. I suspect on windows that indy_vdr does not link correctly to zmq static lib. On linux it works fine ! This happens when trying to run demo from go wrapper.

indy-vdr/target/debug/indy_vdr.lib(libzmq-static.dir/Debug/socket_base.obj):(.text$mn+0x51d): undefined reference to __imp__invalid_parameter_noinfo_noreturn' /indy-vdr/target/debug/indy_vdr.lib(libzmq-static.dir/Debug/socket_base.obj):(.text$mn+0x523): undefined reference to??3@YAXPEAX_K@Z' /indy-vdr/target/debug/indy_vdr.lib(libzmq-static.dir/Debug/socket_base.obj):(.text$mn+0x535): undefined reference to ??1options_t@zmq@@QEAA@XZ' /indy-vdr/target/debug/indy_vdr.lib(libzmq-static.dir/Debug/socket_base.obj):(.text$mn+0x595): undefined reference to??$_Construct@$00PEBD@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAAXQEBD_K@Z' .....

joyride9999 commented 1 year ago

This is happening when using static indy_vdr.lib, i guess it requires also libzmq.lib to exist somewhere.