Open mstraa opened 2 years ago
Hi,
I think that you should be able to build the application on MacOS.
I don't know how to do it from Linux. If you can provide a mac docker so as I can test and work with it. Or a virtualbox image.
Regards,
I used this Dockerfile
FROM ubuntu
RUN apt-get update && \
apt-get install -y cmake g++ libevent-dev libssl-dev libcurl4-gnutls-dev \
libavutil-dev libavformat-dev libavcodec-dev libavfilter-dev \
libswresample-dev libswscale-dev libopenimageio-dev libgeographic-dev \
libcairo2-dev libopenexr-dev
WORKDIR /usr/local/src/gpx2video
ADD . .
RUN rm CMakeCache.txt
RUN cmake .
RUN make
RUN ./gpx2video -h
and then I was able to build and run it with
docker build -t gpx . && docker run -v $PWD:/share -it gpx ./gpx2video -v -m /share/video.mp4 -g /share/route.gpx -o /share/output.mp4 -l /share/layout.xml video
Right, but it’s a Linux binary finally.
I thank that you try to build for Mac in natif.
I had issues building native in osx, I just used docker wrapping the linux bin to get by, with the container and volumes it acts like a native CLI anyway :P
Updated the dockerfile provided by @bfosberry
FROM ubuntu
RUN apt-get update && \
apt-get install -y cmake g++ libevent-dev libssl-dev libcurl4-gnutls-dev \
libavutil-dev libavformat-dev libavcodec-dev libavfilter-dev \
libswresample-dev libswscale-dev libopenimageio-dev libgeographiclib-dev \
libcairo2-dev libopenexr-dev
WORKDIR /usr/local/src/gpx2video
ADD . .
RUN rm -f CMakeCache.txt
RUN cmake .
RUN make
RUN ./gpx2video -h
Hi ! I'm trying to build it for MacOs (intel). Any tips ?
I will report back here if it's working. If not I will use docker and share it :)