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
32bit Compile Fails #115
Comments
Looks like an issue with the Qt5 dev packages, that cmake's picking up a 64-bit lib instead of a 32-bit one. Are you sure the 32-bit versions of the necessary packages are installed? I'm not too familiar with Arch so I'm not sure exactly which packages you need, but alsoft-config uses Qt5Widgets. |
Yes, I have the 32bit qt5 libs installed. They are located in /usr/lib32. Is there a way I can force cmake to look for the qt5 libs in /usr/lib32 instead of /usr/lib? I made a thread about on the Arch Linux forums and we still haven't figured it out. |
From my reading of https://doc.qt.io/qt-5/cmake-manual.html: "In order for find_package to be successful, Qt 5 must be found below the CMAKE_PREFIX_PATH, or the Qt5_DIR must be set in the CMake cache to the location of the Qt5WidgetsConfig.cmake file. The easiest way to use CMake is to set the CMAKE_PREFIX_PATH environment variable to the install prefix of Qt 5." With |
It still fails to compile even when adding those setting. It still looks in the /usr/lib directory instead of /usr/lib32. It's the same error. |
That was with a clean build directory? What does your |
It appears that it does.
|
Seems there's a couple lines down a bit farther, If so, I'm not sure. Do other cmake projects that use Qt5 work when built for 32-bit? |
You're a fricking genius. Built Successfully. Thank you so much kcat. |
I've been trying to compile OpenAL from the master. I have successfully compiled it for 64bit, but not for 32bit. No matter what CMAKE options I try, it still fails. Here is the error.
This is compiling on Arch Linux 64bit. Here is my PKGBUILD with all the options.
The text was updated successfully, but these errors were encountered: