ffmpeg cross compile woe

compiling sources/Base/Util.cpp
compiling sources/Base/Timezone.cpp
In file included from ./include/Base/Util.h:20:0,
from sources/Base/Util.cpp:17:
./include/Base/Parameters.h: In static member function ‘static const Base::Parameters& Base::Util::Environment()’:
./include/Base/Parameters.h:83:172: warning: argument 1 null where non-null expected [-Wnonnull]
const std::string& setString(const std::string& key, const char* value, std::size_t size = std::string::npos) { return setParameter(key, value, size == std::string::npos ? strlen(value) : size); }
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/c++/7.1.0/cstring:42:0,
from ./include/Base/Mona.h:24,
from ./include/Base/Util.h:19,
from sources/Base/Util.cpp:17:
/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/string.h:64:18: note: in a call to function ‘size_t strlen(const char*)’ declared here
size_t __cdecl strlen(const char *_Str);
^~~~~~

compiling sources/FlashWriter.cpp
compiling sources/Base/IPAddress.cpp
compiling sources/Base/BufferPool.cpp
sources/Base/IPAddress.cpp:22:10: fatal error: Iphlpapi.h: No such file or directory
#include <Iphlpapi.h>
^~~~~~~~~~~~
compilation terminated.
Makefile:90: recipe for target ‘tmp/Release/Base/IPAddress.o’ failed
make[1]: *** [tmp/Release/Base/IPAddress.o] Error 1
compiling sources/Base/UDPSocket.cpp
compiling sources/Base/Thread.cpp

 

meant this

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.