Coder Social home page Coder Social logo

Comments (2)

kofcredif avatar kofcredif commented on September 13, 2024

com_barchart_udt_SocketUDT.cpp/Java_com_barchart_udt_SocketUDT_send1()
=>
case SOCK_STREAM:
int ss;
while (ssize < size) {
if (UDT::ERROR
== (ss = UDT::send(socketID, (char*) (data + ssize),
size - ssize, 0))) {
printf("send: %s\n", UDT::getlasterror().getErrorMessage()); <- I need to disable this error printing
ssize = ss;
break;
}
ssize += ss;
}
rv = ssize;
break;

from barchart-udt.

kofcredif avatar kofcredif commented on September 13, 2024

i try compile udt and barchart jni but failed to link udt.dll to jni because error 'undefined reference to __im__ZNxxx'
there isn't way to merge msvc dll and g++ or convert dll to .a
-dlltool could not create .a containing dll, .a just offer to interface to use dll from mingw

[solution]

  1. modify code conflict pthread...
  2. make dllimport define to empty from udt.h
  3. compile barchart jni with udt source(not compile udt.dll)
    -use compile option : barchart-udt-core/aol.properties

from barchart-udt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.