Skip to contentSkip to conversation

gerbil: Visualization and analysis tool for hyperspectral images

PATCH Superseded Ricardo Ribalda Delgado 2 participants 4 messages Oct 22, 2015 – Nov 2, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gerbil: Visualization and analysis tool for hyperspectral images

New recipe

---
v2:

v1 failed to link, it was missing the glu library.

I have not been able to replicate the build error :S

But after some static analysis it seems that:

glu should have been automatically added with the cmake variable OPENGL_LIBRARIES, set in FindOpeGL.cmake

But if glu is not present, then it is not added....

Sorry for the inconvenience!

 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
meta-oe/recipes-graphics/gerbil/gerbil_git.bb new file +30 -0
new file mode 100644
index 000000000000..bfcd7c7ce803
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
+HOMEPAGE = "http://gerbilvis.org/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
Signature · 1 line
2.6.1
#1 lore raw
Quoted 10 lines · Ricardo Ribalda Delgado

New recipe

---
v2:

v1 failed to link, it was missing the glu library.

I have not been able to replicate the build error :S

Quoted 8 lines

But after some static analysis it seems that:

glu should have been automatically added with the cmake variable OPENGL_LIBRARIES, set in FindOpeGL.cmake

But if glu is not present, then it is not added....

Sorry for the inconvenience!

Unfortunately it still fails:
http://errors.yoctoproject.org/Errors/Details/21026/

Quoted 46 lines


 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
meta-oe/recipes-graphics/gerbil/gerbil_git.bb new file +30 -0
new file mode 100644
index 000000000000..bfcd7c7ce803
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
+HOMEPAGE = "http://gerbilvis.org/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
Signature · 1 line
2.6.1
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
In reply to Ricardo Ribalda Delgado
Quoted 1 line · Ricardo Ribalda Delgado

New recipe

Still fails for qemuarm:
http://errors.yoctoproject.org/Errors/Details/21264/

Quoted 63 lines

---
v2:

v1 failed to link, it was missing the glu library.

I have not been able to replicate the build error :S

But after some static analysis it seems that:

glu should have been automatically added with the cmake variable OPENGL_LIBRARIES, set in FindOpeGL.cmake

But if glu is not present, then it is not added....

Sorry for the inconvenience!

 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
meta-oe/recipes-graphics/gerbil/gerbil_git.bb new file +30 -0
new file mode 100644
index 000000000000..bfcd7c7ce803
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
+HOMEPAGE = "http://gerbilvis.org/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
Signature · 1 line
2.6.1
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Hello

I want to cry :( It runtime depends on the sse instruction set.

Would you accept something like this on the recipe?

COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE_x86 = "(.*)"
COMPATIBLE_MACHINE_x86-64 = "(.*)"

Thanks and Regards!

Quoted 72 lines · Martin Jansa
Quoted 1 line · Ricardo Ribalda Delgado

New recipe

Still fails for qemuarm:
http://errors.yoctoproject.org/Errors/Details/21264/

Quoted 61 lines

---
v2:

v1 failed to link, it was missing the glu library.

I have not been able to replicate the build error :S

But after some static analysis it seems that:

glu should have been automatically added with the cmake variable OPENGL_LIBRARIES, set in FindOpeGL.cmake

But if glu is not present, then it is not added....

Sorry for the inconvenience!

 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
meta-oe/recipes-graphics/gerbil/gerbil_git.bb new file +30 -1
new file mode 100644
index 000000000000..bfcd7c7ce803
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
+HOMEPAGE = "http://gerbilvis.org/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
--
Quoted 2 lines

2.6.1

--
Martin 'JaMa' Jansa jabber: [email protected]

Signature · 1 line
Ricardo Ribalda