Mostly Ubuntu/Linux posts but here are some potentially helpful links:
- My previous post on ensuring the Qt5 plugins path is available. TL;DR set an environment variable called
QT_PLUGIN_PATH
to the qt5/plugins filepath. - In this previous post where multiple people had the linking error reported, there are a few different things that fixed their issues:
- Install the qt5/openGL libraries, including the dev versions
- Make sure you don’t have a conflicting version of Eigen3 installed
- Alternative library to install:
libglvnd-dev
- If you’re using an NVIDIA card, the person from that post found that there was a
libGL.so
linking issue related to their error - follow their steps to set the right symbolic link target at the correct location.
- Further debugging:
- Paste the
configure.log
file which may have a better description of your error for people helping out. - Run
ldd
onmrview
to understand where the libraries live.
- Paste the
- Mac-specific debugging: Error during compilation: "error linking Qt application" - #11 by joely