Re: errors when trying to build opencv

Adam Russell <[email protected]> Thu, 10 Jun 2021 17:47:12 -0400
Newsgroups gmane.os.netbsd.ports.macppc
Message-ID <[email protected]>
There appears to be something wrong in the opencv configs.

The tests will try to compile cmake/checks/atomic_check.cpp as a test 
for libatomic and will fail.

I can manually get the same test to compile without issues, however.

g++ -L/usr/pkg/lib -latomic 
./work/opencv-3.4.9/cmake/checks/atomic_check.cpp

I think this should build OK on this platform but requires a bit more 
effort than I presently have time for. For now I am going to pause this 
effort but if anyone searches the mailing lists with the same error 
perhaps this might help!

Chris Pinnock wrote:
> Hi Adam
> Which version of NetBSD are you using?
> C
> 
>> On 7 Jun 2021, at 19:43, Adam Russell <[email protected]> wrote:
>>
>> As a followup I tried compiling some test code which uses lib atomic with the same compiler on the same system and get an error. a `find` for the right libs is also turning up nothing. so perhaps it is possible that this library really isn't available for this arch?
>>
> 
>