www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Linking to OpenCV OSX (dub.json LFLAG)

reply Fred <honohanf gmail.com> writes:
Hey Guys,

Complete Dlang n00b here and I'm having awful problems linking to 
opencv using my projects dub.json.

I've been getting some help on Github 
(https://github.com/aferust/opencvd/issues/1) but had no luck so 
far, if anyone has any good ideas I'd ever so greatful!

Thanks
May 02 2019
parent reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Thu, May 02, 2019 at 11:24:12PM +0000, Fred via Digitalmars-d-learn wrote:
 Hey Guys,
 
 Complete Dlang n00b here and I'm having awful problems linking to
 opencv using my projects dub.json.
 
 I've been getting some help on Github
 (https://github.com/aferust/opencvd/issues/1) but had no luck so far,
 if anyone has any good ideas I'd ever so greatful!
[...] Do you have any specific error messages and/or other problems that you could post here? Being more specific about what problems you're facing would make it easier for us to help you. T -- Skill without imagination is craftsmanship and gives us many useful objects such as wickerwork picnic baskets. Imagination without skill gives us modern art. -- Tom Stoppard
May 02 2019
parent reply Fred <honohanf gmail.com> writes:
On Thursday, 2 May 2019 at 23:33:17 UTC, H. S. Teoh wrote:
 On Thu, May 02, 2019 at 11:24:12PM +0000, Fred via 
 Digitalmars-d-learn wrote:
 Hey Guys,
 
 Complete Dlang n00b here and I'm having awful problems linking 
 to opencv using my projects dub.json.
 
 I've been getting some help on Github 
 (https://github.com/aferust/opencvd/issues/1) but had no luck 
 so far, if anyone has any good ideas I'd ever so greatful!
[...] Do you have any specific error messages and/or other problems that you could post here? Being more specific about what problems you're facing would make it easier for us to help you. T
Yeah, basically my project cannot find opencv
ld: library not found for -lopencv
There is more information and things I've tried in the github issue too.
May 02 2019
parent Fred <honohanf gmail.com> writes:
On Thursday, 2 May 2019 at 23:38:29 UTC, Fred wrote:
 On Thursday, 2 May 2019 at 23:33:17 UTC, H. S. Teoh wrote:
 On Thu, May 02, 2019 at 11:24:12PM +0000, Fred via 
 Digitalmars-d-learn wrote:
 [...]
[...] Do you have any specific error messages and/or other problems that you could post here? Being more specific about what problems you're facing would make it easier for us to help you. T
Yeah, basically my project cannot find opencv
ld: library not found for -lopencv
There is more information and things I've tried in the github issue too.
I think I have my email associated with this account, an invite to the slack channel would be sweet as the IRC is dead
May 02 2019