I'm trying out the ArUco marker detection in a Qt GUI project and so far I keep getting the error message
undefined reference to cv::aruco::getPredefinedDictionary(cv::aruco::PREDEFINED_DICTIONARY_NAME)
I'm following the steps here
I've tried making a fresh console project and copying the tutorial code from the ArUco module but all the aruco functions get undefined reference errors.
#include <opencv2/aruco.hpp>
...
using namespace cv;
using namespace std;
using namespace aruco;
...
Ptr<Dictionary> dictionary = getPredefinedDictionary(DICT_6X6_250);
Any help and/or advice would be much appreciated.