Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22039

Agora On-Premise-Recording-Nodejs build.sh Error in Dockerfile

$
0
0

I'm encountering build issues with Agora's On-Premise-Recording-Nodejs in a Dockerfile setup. The build.sh script throws multiple C++ warnings related to variable initialization order in IAgoraRecordingEngine.h. Specifically, the warnings are about how certain member variables in the RecordingConfig constructor are being initialized in a different order than they are declared in the class.

Log error

Screen log error 1

Screen log error 2

Dockerfile

FROM ubuntu:18.04RUN apt-get update && apt-get install -y \    curl \    gnupg \    build-essential \    gcc \    g++ \    make \    git \    ffmpeg \    tar \    tree \    python3 \&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash -  && \    apt-get install -y nodejs \&& apt-get clean \&& rm -rf /var/lib/apt/lists/* \&& npm install -g node-gyp@8.4.1ADD https://download.agora.io/ardsdk/release/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gz /tmp/RUN tar -xzf /tmp/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gz -C /tmp/ && \    rm /tmp/Agora_Recording_SDK_for_Linux_v2_3_4_FULL.tar.gzRUN git clone --branch dev/nodejs14 https://github.com/AgoraIO/Basic-Recording.git /tmp/Basic-RecordingRUN mv /tmp/Agora_Recording_SDK_for_Linux_FULL /tmp/Basic-Recording/On-Premise-Recording-Nodejs/record/src/sdkRUN cd /tmp/Basic-Recording/On-Premise-Recording-Nodejs/record && ./build_debug.sh

Viewing all articles
Browse latest Browse all 22039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>