Closed ghost closed 8 years ago
It works when I use unsigned char and size for the arguments, but fails when I use ofImage.
Hello! Totally not a basic question–and 100% an error in my code. For some reason I set up the Server and Client functions differently.
I just pushed an update that fixes it for you. Thanks for calling that out, and sorry for the bug!
thank you!
Hi, This may seem really basic, I want to apologize in advance. I'm currently running client_hello_world example, and trying to add sendBinary method to it. I'm putting ofImage as server_binary example does, but when I try to compile it, it throws some errors:
_Undefined symbols for architecture x8664: "void ofxLibwebsockets::Client::sendBinary<ofImage >(ofImage_&)", referenced from:
ofApp::keyPressed(int) in ofApp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
_
Am I not suppose to call this method?
Thanks