progweb / gpx2video

Creating video with telemetry overlay from GPX data
GNU General Public License v3.0
174 stars 10 forks source link

Error while building the program #1

Closed lorenz-py closed 2 years ago

lorenz-py commented 2 years ago
 In file included from /home/lore/gpx2video/src/oiioutils.cpp:1:
 /home/lore/gpx2video/src/oiioutils.h:12:10: fatal error: OpenImageIO/imageio.h: No such file or directory
    12 | #include <OpenImageIO/imageio.h>
       |          ^~~~~~~~~~~~~~~~~~~~~~~
 compilation terminated.
 make[2]: *** [CMakeFiles/gpx2video.dir/build.make:132: CMakeFiles/gpx2video.dir/src/oiioutils.cpp.o] Error 1
 make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/gpx2video.dir/all] Error 2
 make: *** [Makefile:136: all] Error 2

Hi, I was trying to build the last version of your project and this error occurred. I'm on Manjaro.

progweb commented 2 years ago

Don't forget to install all dependancies:

With Debian:

apt-get install libevent-dev libcurl4-gnutls-dev \
    libavutil-dev libavformat-dev libavcodec-dev libavfilter-dev libswresample-dev libswscale-dev \
    libopenimageio-dev libgeographic-dev libcairo2-dev 
lorenz-py commented 2 years ago

Thank you so much. It worked.