You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build with test failed
but with cmake -DOATPP_BUILD_TESTS=FALSE build complete
Console output
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PROTOLIB_LIBRARY
linked by target "module-tests" in directory /tmp/oatpp-protobuf/test
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly
Build script
#!/bin/sh
# install components from repo
apk add git cmake wget unixodbc unixodbc-dev g++ make postgresql-dev protobuf protobuf-dev
# build and install oatpp
cd /tmp
set -- "oatpp" \
"oatpp-websocket" \
"oatpp-postgresql" \
"oatpp-protobuf"
for i in "$@"; do
echo "$i"
git clone --depth=1 https://github.com/oatpp/$i
mkdir -p $i/build
cd $i/build
cmake .. && make -j $(grep -c '^processor' /proc/cpuinfo) install
cd ../../
done
cd /
rm -rf /tmp
Dockerfile
FROM alpine:latest AS builder
ADD ./build.sh /tmp
WORKDIR /tmp
RUN /tmp/build.sh
WORKDIR /
The text was updated successfully, but these errors were encountered:
Build with test failed
but with
cmake -DOATPP_BUILD_TESTS=FALSE
build completeConsole output
Build script
Dockerfile
The text was updated successfully, but these errors were encountered: