libkface link error mentioning -ltbb
Tobias C. Berner
tcberner at gmail.com
Mon Mar 13 06:31:39 UTC 2017
It seems that libkface's cmake files do not properly add the required
flags needed to link against opencv2.
To work around it:
Either you can recompile opencv2 without this option, or you can set
LDFLAGS to the value of "pkg-config --libs opencv" before
building libkface (note, that configure must rerun, for the second one
to work).
mfg Tobias
On 13.03.2017 00:48, Rianav Antares wrote:
> Hello Tobias,
>
> Yes, the 'make config' screen shows that option turned on. What should I do?
> Thank you.
> ________________________________________
> From: Tobias C. Berner [tcberner at gmail.com]
> Sent: Sunday, March 12, 2017 9:50 PM
> To: Rianav Antares; kde-freebsd at kde.org
> Subject: Re:
>
> Do you have opencv2 compiled with the TBB option?
>
>
> mfg Tobias
>
>
> On 12.03.2017 19:35, Rianav Antares wrote:
>> Hello list,
>>
>> Today I attempt to build libkface, after merging the plasma5 repository with the up to date ports tree. However the build reaches one hundred percent, and then stops, indicating that it does not find something called ltbb. devel/tbb got an update recently. Could it be related?
>>
>> "/usr/bin/ld: cannot find -ltbb" However a 'ltbb' does appear in the command line above; which is the content of "CMakeFiles/KF5KFace.dir/link.txt". Any suggestions how to fix?
>>
>> Thank you and Best regards.
More information about the kde-freebsd
mailing list