Package Base Details: opencv3-opt

Git Clone URL: https://aur.archlinux.org/opencv3-opt.git (read-only, click to copy)
Submitter: MichaelChou
Maintainer: MichaelChou
Last Packager: MichaelChou
Votes: 6
Popularity: 0.002240
First Submitted: 2019-02-13 12:43
Last Updated: 2020-11-17 05:59

Latest Comments

« First ‹ Previous 1 2 3

ocoras commented on 2019-10-20 17:58

I have also had issues building this package. For me the error occurred at:

Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o

In file included from /usr/include/c++/9.2.0/ext/string_conversions.h:41,

             from /usr/include/c++/9.2.0/bits/basic_string.h:6493,

             from /usr/include/c++/9.2.0/string:55,

             from /usr/include/c++/9.2.0/stdexcept:39,

             from /usr/include/c++/9.2.0/array:39,

             from ~/.cache/yay/opencv3-opt/src/opencv-3.4.7/modules/core/include/opencv2/core/cvdef.h:594,

             from ~/.cache/yay/opencv3-opt/src/opencv-3.4.7/modules/core/include/opencv2/core.hpp:52,

             from ~/.cache/yay/opencv3-opt/src/opencv-3.4.7/modules/core/include/opencv2/core/utility.hpp:56,

             from ~/.cache/yay/opencv3-opt/src/opencv-3.4.7/modules/core/src/precomp.hpp:49,

             from ~/.cache/yay/opencv3-opt/src/opencv-3.4.7/modules/core/src/alloc.cpp:43:

/usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory 75 | #include_next <stdlib.h> | ^~~~~~~~~~ compilation terminated.

stdlib.h exists in this directory, so I am unsure why this causes the compilation to terminate, however the fix submitted by @dreuter does not seem to help.

dreuter commented on 2019-10-19 21:21

Unfortunately this package does not build on my machine.

I did encounter similiar problems before when adding "-isystem" to the gcc flags, by for example using cmakes "SYSTEM" include. Adding "-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON" solved the problem, but I am not sure whether this is the "clean" solution, but since it does compile fine and I was able to compile/install ros-melodic-desktop I will not further investigate this (at least for now/until it causes problems again) ;)

Thanks so much for your great work :+1:

kwrazi commented on 2019-10-17 06:08

I've managed to workaround the issue and have updated the package. See if that works.

r00tr4t commented on 2019-10-16 21:27

Right now this package doesn't build, likely do to updated GCC versions. The error that the build process report is found here:

https://pastebin.com/MpF5jrbG

Tried to add the

-DENABLE_PRECOMPILED_HEADERS=OFF\

To PKGBUILD but that did not help.

So I even tried to remove the _next keyword from

/usr/include/c++/9.2.0/cstdlib

/usr/include/c++/9.2.0/bits/std_abs.h

/usr/include/c++/9.2.0/cmath

That did kind of work but produced other errors later on.

Are any other workarounds available for this?

MichaelChou commented on 2019-03-13 09:18

@DenBaum Fixed now. Thanks for reporting.

DenBaum commented on 2019-03-09 19:07

It seems like the package double-conversion is missing in dependencies.

bionade24 commented on 2019-02-14 13:48

Thanks Much !!

kwrazi commented on 2019-02-14 05:16

Used as part the scripts on github to install ros-melodic on Arch Linux.