Hi Frédéric, thanks for pointing me to the right place. I did not have anything missing when installing dependencies without including Alexpux packages… Should I be worried?
Then, I struggle a bit to understand what is really needed and what is for CI in those scripts. I cannot afford to dedicate my whole machine to Natron and so I’d rather do the configuration part manually than running setup scripts in admin mode and potentially break my other projects. So I did install the libraries by hand.
My current issue is still about ffmpeg while building openfx-io
. More specifically, I get the folloging error:
MINGW64 /e/SourceCode/Natron-openfx-io
$ make BITS=64 CONFIG=relwithdebinfo CXXFLAGS_ADD=-fopenmp LDFLAGS_ADD=-fopenmp
(cd IO && make )
make[1] : on entre dans le répertoire « /e/SourceCode/Natron-openfx-io/IO »
CXX MINGW64_NT-10.0-64-relwithdebinfo/WriteFFmpeg.o
In file included from ../FFmpeg/WriteFFmpeg.cpp:116:0:
../SupportExt/tinythread.h:540:0: warning: "ATOMIC_FLAG_INIT" redefined
#define ATOMIC_FLAG_INIT 0
In file included from E:/msys64/mingw64/include/c++/7.3.0/bits/shared_ptr_atomic.h:33:0,
from E:/msys64/mingw64/include/c++/7.3.0/memory:82,
from ../openfx/Support/include/ofxsImageEffect.h:48,
from ../IOSupport/IOUtility.h:51,
from ../FFmpeg/WriteFFmpeg.cpp:78:
E:/msys64/mingw64/include/c++/7.3.0/bits/atomic_base.h:157:0: note: this is the location of the previous definition
#define ATOMIC_FLAG_INIT { 0 }
../FFmpeg/WriteFFmpeg.cpp:2858:2: error: #error "Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead."
#error "Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead."
^~~~~
In file included from ../FFmpeg/WriteFFmpeg.cpp:86:0:
../FFmpeg/FFmpegFile.h: In member function 'int FFmpegFile::Stream::getCodecDelay() const':
../FFmpeg/FFmpegFile.h:268:53: error: 'CODEC_CAP_DELAY' was not declared in this scope
return ( ( (_videoCodec->capabilities & CODEC_CAP_DELAY) ? _codecContext->delay : 0 )
^~~~~~~~~~~~~~~
../FFmpeg/FFmpegFile.h:268:53: note: suggested alternative: 'AV_CODEC_CAP_DELAY'
return ( ( (_videoCodec->capabilities & CODEC_CAP_DELAY) ? _codecContext->delay : 0 )
^~~~~~~~~~~~~~~
AV_CODEC_CAP_DELAY
The only ffmpeg version I have installed is the 4.0:
MINGW64 /e/SourceCode/Natron-openfx-io
$ pacman -Qs ffmpeg
local/mingw-w64-x86_64-ffmpeg 4.0-1
Complete and free Internet live audio and video broadcasting solution (mingw-w64)
Also note that I’m trying to build the last stable version, namely the git tag 2.3. Any idea what this comes from? Is it that for some reason it found another version on my system? How may I check? Is the 2.3 also uses ffmpeg 4.0 or did it change since then? In this case, which version should I try to build in order to test my toolchain?