owt-server icon indicating copy to clipboard operation
owt-server copied to clipboard

./scripts/build.js -t mcu-quic --check error

Open svener opened this issue 3 years ago • 6 comments

Ubuntu 18.04.5 LTS

I am using OWT Server V5.0.

./scripts/build.js -t mcu-quic --check

Building addon - quic make: Entering directory '/opt/owt-server-5.0/source/agent/addons/quic/build' CXX(target) Release/obj.target/quic/QuicTransportConnection.o ../QuicTransportConnection.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE QuicTransportConnection::newInstance(Nan::NAN_METHOD_ARGS_TYPE)’: ../QuicTransportConnection.cc:74:64: error: invalid new-expression of abstract class type ‘QuicTransportConnection’ QuicTransportConnection* obj = new QuicTransportConnection(); ^ In file included from ../QuicTransportConnection.cc:7:0: ../QuicTransportConnection.h:21:7: note: because the following virtual functions are pure within ‘QuicTransportConnection’: class QuicTransportConnection : public Nan::ObjectWrap, public owt::quic::QuicTransportSessionInterface::Visitor, QuicTransportStream::Visitor { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../QuicTransportConnection.h:19:0, from ../QuicTransportConnection.cc:7: ../../../../../build/libdeps/build/include/owt/quic/quic_transport_session_interface.h:23:18: note: virtual void owt::quic::QuicTransportSessionInterface::Visitor::OnConnectionClosed() virtual void OnConnectionClosed() = 0;

svener avatar May 14 '21 01:05 svener

I am facing same issue is there any fix for this @svener @starwarfan @jianjunz I use docker script and clone from master I also enable flags mcu-quic and set the QUIC_TRANSPORT_PATH to prebuilt binary on environment variable I am on OS ubuntu 18.04 LTS. Do I need to compile the QUICK SDK (quic.io and quic_transport) from source ?

peererror avatar Jun 01 '21 13:06 peererror

QUIC agent depends on QUIC SDK. You may get the binaries of QUIC SDK either from 5.0 release package or compile from source code.

jianjunz avatar Jun 02 '21 04:06 jianjunz

@jianjunz can you please give me link to release package

peererror avatar Jun 02 '21 06:06 peererror

Release packages can be found here. The QUIC SDK binaries in 5.0 release package only work with v5.0 tag of this repo.

jianjunz avatar Jun 03 '21 02:06 jianjunz

@jianjunz thank you for responding but when I try to download the release package I can only see the V4 download link and there is no option for V5 am I doing some thing wrong please see the below screenshot

Thanks for the hard work

image

peererror avatar Jun 03 '21 06:06 peererror

I'm not quite sure about the release process, but it'll be there when it's ready.

jianjunz avatar Jun 03 '21 06:06 jianjunz