-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I am in trouble to compile with fmt.
I noted that fmt is missing from the CMake file.
Then I not able to compile. I got this error, and other.
41.03 /srv/osm-postgresql-experiments/src/formatting.cpp:82:23: error: no matching function for call to 'format_to(fmt::v11::memory_buffer&, const char [3], osmium::object_id_type)'
41.03 82 | fmt::format_to(buffer, "{}", nr.ref());
I'm trying to compile under last Alpine.
FROM ruby:3.4-alpine
RUN apk add --no-cache --virtual \
build-dependencies \
build-base \
boost-dev \
cargo \
cmake \
clang17-libclang \
clang-dev \
curl \
expat-dev \
gdal-dev \
geos-dev \
git \
libbz2 \
protozero-dev \
ruby-dev \
rust \
postgresql-dev \
yaml-dev
WORKDIR /srv/
RUN git clone --depth 1 -b v2.22.0 https://github.com/osmcode/libosmium.git && \
cd libosmium && \
mkdir build && \
cd build && \
cmake .. && \
make install
RUN apk add --no-cache fmt fmt-dev
RUN git clone https://github.com/osmcode/osm-postgresql-experiments.git && \
cd osm-postgresql-experiments && \
mkdir build && \
cd build && \
cmake .. && \
make installMetadata
Metadata
Assignees
Labels
No labels