2016-02-07, 11:44
UPDATE 3: Got everything working. Steps in post #14 2239925 (post)
UPDATE 2: Ok, I guess my question is, "How do you build a .vis for imx6?"
UPDATE: Got cmake to finish by installing the following libraries. Still asking for assistance. Please see the next post. Thank you!
sudo apt-get install mesa-utils-extra
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglapi-mesa
---------------------------
Hi, would someone please point me in the right direction? Building visualizations has changed since I last tried this a year ago.
I am trying to compile a .vis for OpenELEC (imx6) on Ubuntu. I have successfully built the latest OpenELEC (imx6) in an Ubuntu VM.
So I have this folder with a built Kodi: ~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49
And I have this folder with a git cloned Waveform vis: ~/visualization.waveform
I edited kodi-config.cmake to include looking into ~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49/project/cmake/scripts/common so that it finds addon-helpers. Then I tried the following cmake:
It fails, complaining about rendering API:
Any idea what the cmake line should be? Or how to trick it into choosing the right rendering API? Again, I'm trying to compile the .vis for imx6, which is a different platform than what I'm building on. Thank you!
UPDATE 2: Ok, I guess my question is, "How do you build a .vis for imx6?"
UPDATE: Got cmake to finish by installing the following libraries. Still asking for assistance. Please see the next post. Thank you!
sudo apt-get install mesa-utils-extra
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglapi-mesa
---------------------------
Hi, would someone please point me in the right direction? Building visualizations has changed since I last tried this a year ago.
I am trying to compile a .vis for OpenELEC (imx6) on Ubuntu. I have successfully built the latest OpenELEC (imx6) in an Ubuntu VM.
So I have this folder with a built Kodi: ~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49
And I have this folder with a git cloned Waveform vis: ~/visualization.waveform
I edited kodi-config.cmake to include looking into ~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49/project/cmake/scripts/common so that it finds addon-helpers. Then I tried the following cmake:
Code:
cmake -DADDONS_TO_BUILD=visualization.waveform -DADDON_SRC_PREFIX=~/ -DPACKAGE_ZIP=1 -DCMAKE_PREFIX_PATH=~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49/project/cmake -DCMAKE_INSTALL_PREFIX=~/OpenELEC.tv/build.OpenELEC-imx6.arm-7.0-devel/kodi-16.0-rc3-34d1e49/addons
It fails, complaining about rendering API:
Code:
-- Checking to see if CXX compiler accepts flag -flto
-- Checking to see if CXX compiler accepts flag -flto - yes
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- checking for module 'glesv2'
-- package 'glesv2' not found
-- Could NOT find OpenGLES2 (missing: OPENGLES2_INCLUDE_DIRS OPENGLES2_gl_LIBRARY OPENGLES2_egl_LIBRARY)
CMake Error at CMakeLists.txt:51 (message):
No rendering API found. Bailing
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/visualization.waveform/CMakeFiles/CMakeOutput.log".
Any idea what the cmake line should be? Or how to trick it into choosing the right rendering API? Again, I'm trying to compile the .vis for imx6, which is a different platform than what I'm building on. Thank you!