Re: libkface link error mentioning -ltbb

2017-03-13 Thread Tobias C. Berner
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 [tcber...@gmail.com]
Sent: Sunday, March 12, 2017 9:50 PM
To: Rianav Antares; kde-freebsd@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.




libkface link error mentioning -ltbb

2017-03-12 Thread Rianav Antares
Hello Tobias,

Yes, the 'make config' screen shows that option turned on. What should I do? 
Thank you. 

From: Tobias C. Berner [tcber...@gmail.com]
Sent: Sunday, March 12, 2017 9:50 PM
To: Rianav Antares; kde-freebsd@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.