Wrong linker library in file
mehdideveloper opened this issue · 3 comments
mehdideveloper commented
Hey
This is a weird issue:
While compiling, I got this:
ld: library not found for -l-L/usr/local/opt/qt/lib
It turned out to be inside build/CMakeFiles/suscan.dir/link.txt
There was an empty -l
. I removed it and compile succeeded
BatchDrake commented
Reproduced and already looking into it.
BatchDrake commented
It fixed itself by simply removing all contents from the build
directory and running cmake ..
on it again. Are you compiling from a clean build directory?
mehdideveloper commented
I will double check