v18 inputstream adaptive building addon help! [Windows]
#1
Weird that there is no thread on this addon? It's the official addon of Kodi?

To my subject. Trying to compile Kodi Agile (18) and include inputstream adaptive (agile branch) with it, buuuuuut for Windows since I'm not to interested in Linux. Already managed to build the whole thing in Ubuntu easy enough. However I don't find it as easy with Windows. Easy to create an installer, but how do I include the addon Inputstream Adaptive to it?

I've noticed and it was the same for Ubuntu that I need to compile the kodi-platform as well. However I fail to understand how to properly compile this. Hence I can't compile the addon itself.

Quote:C:\compile\kodi-platform\build>cmake ..
CMake Error at CMakeLists.txt:8 (find_package):
By not providing "FindKodi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Kodi", but
CMake did not find one.

Could not find a package configuration file provided by "Kodi" with any of
the following names:

KodiConfig.cmake
kodi-config.cmake

Add the installation prefix of "Kodi" to CMAKE_PREFIX_PATH or set
"Kodi_DIR" to a directory containing one of the above files. If "Kodi"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!
See also "C:/compile/kodi-platform/CMakeFiles/CMakeOutput.log".

Any guidance?
Reply
#2
/push
Image
Reply
#3
(2017-07-02, 11:48)cd492 Wrote: /push

Asking the same question I presume? Smile

So I noticed now that you use the make-addons.bat script to build it so that kodi-platform etc comes to use. However it still doesn't work!

My steps:

1. Check out https://github.com/FernetMenta/kodi-agile
2. Start batscript \kodi-agile\tools\buildsteps\windows\x64\bootstrap-addons.bat
3. Go to \kodi-agile\cmake\addons\addons\inputstream.adaptive and edit inputstream.adaptive.txt and change the text to
Code:
inputstream.adaptive https://github.com/liberty-developer/inputstream.adaptive/ agile
4. Start cmd and cd to \kodi-agile\tools\buildsteps\windows\x64 and do the command
Code:
make-addons.bat install inputstream.adaptive

It starts building but fails everytime as soon as it's supposed to build the addon itself.

Quote:[ 94%] Building CXX object CMakeFiles/inputstream.adaptive.dir/src/main.cpp.obj
main.cpp
c:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.h(114): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(296): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(395): error C2039: 'CODEC_PROFILE': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(395): error C3646: 'GetProfile': unknown override specifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(395): error C2059: syntax error: ')'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(395): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(578): error C2039: 'CODEC_PROFILE': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(578): error C3646: 'GetProfile': unknown override specifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(578): error C2059: syntax error: ')'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(579): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(584): error C2039: 'CODEC_PROFILE': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(584): error C3646: 'codecProfile': unknown override specifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(584): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(431): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(431): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(431): error C2039: 'H264CodecProfileBaseline': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(434): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(434): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(434): error C2039: 'H264CodecProfileMain': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(437): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(437): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(437): error C2039: 'H264CodecProfileExtended': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(440): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(440): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(440): error C2039: 'H264CodecProfileHigh': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(443): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(443): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(443): error C2039: 'H264CodecProfileHigh10': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(446): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(446): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(446): error C2039: 'H264CodecProfileHigh422': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(449): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(449): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(449): error C2039: 'H264CodecProfileHigh444Predictive': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(452): error C2065: 'codecProfile': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(452): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(452): error C2039: 'CodecProfileUnknown': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(471): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(649): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1076): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1213): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1463): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1486): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1494): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1533): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1549): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1565): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1603): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1959): error C2039: 'SUPPORTSIDEMUX': is not a member of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/Inputstream.h(46): note: see declaration of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1959): error C2065: 'SUPPORTSIDEMUX': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1960): error C2039: 'SUPPORTSIDISPLAYTIME': is not a member of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/Inputstream.h(46): note: see declaration of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1960): error C2065: 'SUPPORTSIDISPLAYTIME': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1963): error C2039: 'SUPPORTSSEEK': is not a member of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/Inputstream.h(46): note: see declaration of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1963): error C2065: 'SUPPORTSSEEK': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1963): error C2039: 'SUPPORTSPAUSE': is not a member of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/Inputstream.h(46): note: see declaration of 'INPUTSTREAM_CAPABILITIES'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1963): error C2065: 'SUPPORTSPAUSE': undeclared identifier
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1969): error C3083: 'CODEC_PROFILE': the symbol to the left of a '::' must be a type
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(1969): error C2039: 'CodecProfileUnknown': is not a member of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\output\include\kodi/addon-instance/VideoCodec.h(152): note: see declaration of 'kodi::addon'
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(2060): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(2061): warning C4267: 'argument': conversion from 'size_t' to 'AP4_Size', possible loss of data
C:\compile\kodi-agile\cmake\addons\build\inputstream.adaptive\src\main.cpp(2144): warning C4244: '-=': conversion from '__int64' to 'AP4_Size', possible loss of data
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.

Anybody?
Reply
#4
you get a solution?
Image
Reply
#5
Thread moved to addon development, where you may get a more suitable audience.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
inputstream adaptive building addon help! [Windows]0