-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java binding for Windows 64 #313
Comments
same thing here |
I had similar problem with compilation. I've successfully compiled jzmq for Win64 with Mingw-w64 (concretely with x86_64-4.9.1-release-posix-seh-rt_v3-rev0 version). With other C++ compilators like VS C++ or Cygwin I've got lot of issues to fix. When you are going to generate Makefile with cmake, don't forgot use correct makefile generator for Mingw ( -G "MinGW Makefiles") |
Hello @lukaszaoralek , Is there more detailed steps on how to do that as i'm new in these building tools and stuck here for a while now... Thanks in advance |
Hello,
Could anyone help me with the below error. I'm trying to build dll library and I'm stuck at the below errors:
[ 11%] Generating org/zeromq/ZMQ.class, org/zeromq/ZMQ$$Context.class, org/zerom
q/ZMQ$$Socket.class, org/zeromq/ZMQ$$Poller.class, org/zeromq/ZMQ$$Error.class,
org/zeromq/ZMQException.class, org/zeromq/ZMQQueue.class, org/zeromq/ZMQForwarde
r.class, org/zeromq/ZMQStreamer.class, org/zeromq/EmbeddedLibraryTools.class, or
g/zeromq/App.class
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[ 22%] Generating org_zeromq_ZMQ.h, org_zeromq_ZMQ_Error.h, org_zeromq_ZMQ_Conte
xt.h, org_zeromq_ZMQ_Socket.h, org_zeromq_ZMQ_Poller.h
[ 33%] Generating lib/zmq.jar
Linking CXX shared library lib\jzmq.dll
Creating library lib\jzmq.lib and object lib\jzmq.exp
Context.cpp.obj : error LNK2019: unresolved external symbol _zmq_errno reference
d in function _Java_org_zeromq_ZMQ_00024Context_construct@12
Socket.cpp.obj : error LNK2001: unresolved external symbol _zmq_errno
Context.cpp.obj : error LNK2019: unresolved external symbol _zmq_init referenced
in function _Java_org_zeromq_ZMQ_00024Context_construct@12
Context.cpp.obj : error LNK2019: unresolved external symbol _zmq_term referenced
in function _Java_org_zeromq_ZMQ_00024Context_destroy@8
Poller.cpp.obj : error LNK2019: unresolved external symbol _zmq_poll referenced
in function _Java_org_zeromq_ZMQ_00024Poller_run_1poll@24
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_init referen
ced in function "struct zmq_msg_t * _cdecl do_read(struct JNIEnv *,class jobj
ect *,struct zmq_msg_t *,int)" (?do_read@@YAPAUzmq_msg_t@@PAUJNIEnv@@PAV_jobjec
t@@Pau1@H@Z)
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_init_size re
ferenced in function _Java_org_zeromq_ZMQ_00024Socket_send@24
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_init_data re
ferenced in function "unsigned char _cdecl s_zerocopy_init(struct JNIEnv *,str
uct zmq_msg_t *,class jobject *,long)" (?s_zerocopy_init@@YAEPAUJNIEnv@@PAUzmq
_msg_t@@PAV_jobject@@j@Z)
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_close refere
nced in function "struct zmq_msg_t * _cdecl do_read(struct JNIEnv *,class job
ject *,struct zmq_msg_t *,int)" (?do_read@@YAPAUzmq_msg_t@@PAUJNIEnv@@PAV_jobje
ct@@Pau1@H@Z)
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_data referen
ced in function _Java_org_zeromq_ZMQ_00024Socket_recv__I@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_msg_size referen
ced in function _Java_org_zeromq_ZMQ_00024Socket_recv__I@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_socket reference
d in function _Java_org_zeromq_ZMQ_00024Socket_construct@16
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_close referenced
in function _Java_org_zeromq_ZMQ_00024Socket_destroy@8
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_setsockopt refer
enced in function _Java_org_zeromq_ZMQ_00024Socket_setBytesSockopt@16
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_getsockopt refer
enced in function _Java_org_zeromq_ZMQ_00024Socket_getBytesSockopt@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_bind referenced
in function _Java_org_zeromq_ZMQ_00024Socket_bind@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_connect referenc
ed in function _Java_org_zeromq_ZMQ_00024Socket_connect@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_unbind reference
d in function _Java_org_zeromq_ZMQ_00024Socket_unbind@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_disconnect refer
enced in function _Java_org_zeromq_ZMQ_00024Socket_disconnect@12
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_send referenced
in function _Java_org_zeromq_ZMQ_00024Socket_sendByteBuffer@16
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_recv referenced
in function _Java_org_zeromq_ZMQ_00024Socket_recvByteBuffer@16
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_socket_monitor r
eferenced in function _Java_org_zeromq_ZMQ_00024Socket_monitor@16
Socket.cpp.obj : error LNK2019: unresolved external symbol _zmq_sendmsg referenc
The text was updated successfully, but these errors were encountered: