2023-03-24, 05:00
I've been working on a bug fix for the 'xbmc.getLanguage()' Python function that I have previously described here: 372626 (thread)
I was having problems getting my Python script to recognise a new ENUM that I had created and my research lead me to this: Codegeneration (wiki) solution.
And specifically, this:
Unfortunately, when I change into the specified directory and run 'make", I receive the following error.
I suspect, based on the high quality of the other build tools, that I am overlooking something really very simple.
If I create a new build environment from scratch, I am able to recompile everything and the new ENUM works fine, it just takes a long time to recompile.
One of the steps in creating the new build environment must also rebuild the required files (./build/swig/AddonModuleXbmc.i.cpp, etc), however, I am unable to find the command to achieve this.
Any advice will be gratefully received.
I'm using an Ubuntu build environment.
I was having problems getting my Python script to recognise a new ENUM that I had created and my research lead me to this: Codegeneration (wiki) solution.
And specifically, this:
Code:
In order to run the codegenerator on any changes you made to the native api in interfaces/legacy you need to run 'make' from xbmc/interfaces/python.
Code:
make: *** No targets specified and no makefile found. Stop.
If I create a new build environment from scratch, I am able to recompile everything and the new ENUM works fine, it just takes a long time to recompile.
One of the steps in creating the new build environment must also rebuild the required files (./build/swig/AddonModuleXbmc.i.cpp, etc), however, I am unable to find the command to achieve this.
Any advice will be gratefully received.
I'm using an Ubuntu build environment.