Kodi Community Forum
how to get start with core development - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: how to get start with core development (/showthread.php?tid=363065)



how to get start with core development - smitchell6879 - 2021-06-11

So I finally upgrade my laptop and would like to attempt to build Kodi from the source. Then maybe I can help with coding later on.

Can anyone explain it to me what programs I would need to do this. I use vscode for my python and js stuff. So are there any plugins to recommend for that as well.

I come here because of I attempted using the guide in the docs before but can never get it working.


RE: how to get start with core development - black_eagle - 2021-06-11

Hmmm, the Win10 build instructions worked for me recently when I needed to be able to build under Windows (normally I build on Linux).  However, I did notice that I needed multiple runs of download-dependencies.bat before it finally succeeded.  As long as you install all the prerequisites first you should be good to go.

If not, post a log of your build going wrong and I'm sure someone will be able to help you.


RE: how to get start with core development - smitchell6879 - 2021-06-11

(2021-06-11, 19:57)black_eagle Wrote: Hmmm, the Win10 build instructions worked for me recently when I needed to be able to build under Windows (normally I build on Linux).  However, I did notice that I needed multiple runs of download-dependencies.bat before it finally succeeded.  As long as you install all the prerequisites first you should be good to go.

If not, post a log of your build going wrong and I'm sure someone will be able to help you.

Maybe it been updated more recently. I will give it another go and report back thanks.


RE: how to get start with core development - smitchell6879 - 2021-06-14

(2021-06-11, 19:57)black_eagle Wrote: Hmmm, the Win10 build instructions worked for me recently when I needed to be able to build under Windows (normally I build on Linux).  However, I did notice that I needed multiple runs of download-dependencies.bat before it finally succeeded.  As long as you install all the prerequisites first you should be good to go.

If not, post a log of your build going wrong and I'm sure someone will be able to help you.

So it has definitely been updated. I did manage to do the manual build successfully though I am missing all the dll to actually test it so I attempted the automagical and I get NSIS installed? error.
NSIS is installed I even added it to the environments variable path. I am using building on windows 10 most resent update. https://pastebin.com/wvfrr9xR This is just the last few lines of output from the console. The build log where would they actually be located?


RE: how to get start with core development - black_eagle - 2021-06-14

(2021-06-14, 08:41)smitchell6879 Wrote: I did manage to do the manual build successfully though I am missing all the dll to actually test it

No, you won't be.  I don't have my Win build system to hand right now but from what I remember, the executable is in a different directory to all the required DLL's.  I just copied it into the directory with the DLL's in and ran it from there.  Don't know about NSIS because I didn't need to build the installer.


RE: how to get start with core development - smitchell6879 - 2021-06-14

(2021-06-14, 09:02)black_eagle Wrote:
(2021-06-14, 08:41)smitchell6879 Wrote: I did manage to do the manual build successfully though I am missing all the dll to actually test it

No, you won't be.  I don't have my Win build system to hand right now but from what I remember, the executable is in a different directory to all the required DLL's.  I just copied it into the directory with the DLL's in and ran it from there.  Don't know about NSIS because I didn't need to build the installer.

Thanks I just dropped it into the build directory and the exe I manually created from the instructions worked. Smile now time to play around and see what I can break. Thank you for your help.


RE: how to get start with core development - Montellese - 2021-06-21

(2021-06-14, 11:25)smitchell6879 Wrote:
(2021-06-14, 09:02)black_eagle Wrote:
(2021-06-14, 08:41)smitchell6879 Wrote: I did manage to do the manual build successfully though I am missing all the dll to actually test it

No, you won't be.  I don't have my Win build system to hand right now but from what I remember, the executable is in a different directory to all the required DLL's.  I just copied it into the directory with the DLL's in and ran it from there.  Don't know about NSIS because I didn't need to build the installer.

Thanks I just dropped it into the build directory and the exe I manually created from the instructions worked. Smile now time to play around and see what I can break. Thank you for your help.
If you use Visual Studio (Community Edition) you don't have to care about paths and locations because it's all part of the CMake / Visual Studio configuration. You just build everything, hit run (or debug) and it will start without any manual steps.