-
Notifications
You must be signed in to change notification settings - Fork 62
CMake error (missing: AnyImageImporter) #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, thanks for the detailed report! Hmm. Since the includes are there, it looks like the binary might be missing. Does |
I only got this shared objects:
|
|
Ah, this is Gentoo, right? The ebuild was contributed and I unfortunately have no way to test it here, and have basically zero experience with ebuilds or the cmake automagic used there. It seems that the |
I was able to solve this issue with slightly modified ebuilds: --- a/magnum-9999.ebuild
+++ b/magnum-9999.ebuild
@@ -1,8 +1,8 @@
-EAPI=5
+EAPI=7
EGIT_REPO_URI="git://github.com/mosra/magnum.git"
-inherit cmake-utils git-r3
+inherit cmake git-r3
DESCRIPTION="C++11/C++14 graphics middleware for games and data visualization"
HOMEPAGE="https://magnum.graphics"
@@ -50,7 +50,13 @@
-DWITH_GL_INFO=ON
-DWITH_AL_INFO=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ mkdir "${ED}/usr/$(get_libdir)/magnum/"
+ cp -av "${BUILD_DIR}"/Gentoo/lib/magnum/* "${ED}/usr/$(get_libdir)/magnum/" || die
}
# kate: replace-tabs off; and --- a/magnum-plugins-9999.ebuild
+++ b/magnum-plugins-9999.ebuild
@@ -1,8 +1,8 @@
-EAPI=5
+EAPI=7
EGIT_REPO_URI="git://github.com/mosra/magnum-plugins.git"
-inherit cmake-utils git-r3
+inherit cmake git-r3
DESCRIPTION="Plugins for the Magnum C++11/C++14 graphics engine"
HOMEPAGE="https://magnum.graphics"
@@ -55,7 +55,13 @@
-DWITH_STLIMPORTER=ON
-DWITH_TINYGLTFIMPORTER=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ mkdir "${ED}/usr/$(get_libdir)/magnum/"
+ cp -av "${BUILD_DIR}"/Gentoo/lib/magnum/* "${ED}/usr/$(get_libdir)/magnum/" || die
}
# kate: replace-tabs off; |
Wonderful, thank you. Commited as mosra/magnum@148dd27 and 2de167f. |
Somehow
AnyImageImporter
is missing even when Magnum is built withand I have
The text was updated successfully, but these errors were encountered: