Package Details: darknet-alexeyab-git r1469.10c4055-1

Git Clone URL: https://aur.archlinux.org/darknet-alexeyab-git.git (read-only, click to copy)
Package Base: darknet-alexeyab-git
Description: YOLO: Real Time Object Detection Neural Network Library (AlexeyAB fork)
Upstream URL: https://github.com/AlexeyAB/darknet
Keywords: computer-vision
Licenses: YOLO
Provides: darknet
Submitter: acxz
Maintainer: acxz
Last Packager: acxz
Votes: 0
Popularity: 0.000000
First Submitted: 2019-06-10 21:41
Last Updated: 2019-11-21 05:08

Latest Comments

1 2 Next › Last »

vfbsilva commented on 2019-12-11 20:15

New error here with the new package:

[ 97%] Linking CXX executable darknet /usr/bin/ld: /usr/lib/libopencv_videoio.so.4.1.2: referência não definida para "std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26" collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/darknet.dir/build.make:1323: darknet] Error 1 make[1]: [CMakeFiles/Makefile2:134: CMakeFiles/darknet.dir/all] Error 2 make[1]: Esperando que outros processos terminem. [ 98%] Linking CUDA device code CMakeFiles/dark.dir/cmake_device_link.o [ 98%] Linking CXX shared library libdark.so [ 98%] Built target dark make: * [Makefile:130: all] Error 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... ==> ERRO: Makepkg não conseguiu compilar darknet-alexeyab-git. ==> Reiniciar a compilação de darknet-alexeyab-git ? [s/N]

vfbsilva commented on 2019-11-21 05:35

How did you fix it? Did you manage to compile with cuda?

acxz commented on 2019-11-21 05:10

Thx for letting me know, I have fixed it. Note installing with CUDA is still troublesome.

vfbsilva commented on 2019-11-21 04:40

Could not compile here:

LC_ALL=C yaourt -S aur/darknet-alexeyab-git

==> Downloading darknet-alexeyab-git PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x LICENSE
x PKGBUILD

darknet-alexeyab-git r1341.f058244-4 (2019-06-30 21:29)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> darknet-alexeyab-git dependencies:

    cmake (already installed) [makedepend]
    git (already installed) [makedepend]
    vtk (already installed) [makedepend]

==> Continue building darknet-alexeyab-git ? [Y/n]
==> ----------------------------------------------
==> y

==> Building and installing package
==> ERROR: conflicts is not allowed to be empty.
==> ERROR: Makepkg was unable to build darknet-alexeyab-git.
==> Restart building darknet-alexeyab-git ? [y/N]

acxz commented on 2019-10-18 13:01

@dferio good catch! I tried adding in the flag, however another issue popped up. I get undefined references relating to opencv functions. Do I need to recompile opencv with gcc8 (using that flag) as well? I can't expect users to have opencv compiled a specific way. Did you encounter this issue?

We can also make an issue on the github, the developers are very friendly. I am quite busy these days so sadly I will not be able to spend more time on this issue. Do keep me updated on possible solutions tho and I will try to integrate them into the build process asap.

dferio commented on 2019-10-18 11:21

Building fails, I think you should add -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0' to make it compatible with gcc 8 that is required by Cuda.

/usr/bin/ld: /usr/lib/libopencv_videoio.so.4.1.1: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()@GLIBCXX_3.4.26'                                        
collect2: error: ld returned 1 exit status                                                                                                                                                                                                   
make[2]: *** [CMakeFiles/darknet.dir/build.make:1317: darknet] Error 1                                       
make[1]: *** [CMakeFiles/Makefile2:175: CMakeFiles/darknet.dir/all] Error 2

acxz commented on 2019-06-16 14:29

@vfbsilva I believe you only need to do that if you are using just the Makefile. This package uses darknet's CMakeLists.txt which does properly find opencv.

vfbsilva commented on 2019-06-16 06:50

Opencv was not being properly found. I did a dirty hack I'm not even sure is right:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig sudo cp -p /usr/lib/pkgconfig/opencv4.pc /usr/lib/pkgconfig/opencv.pc

I think I could have modified the makefile but my test did work so I kept it.

acxz commented on 2019-06-15 22:13

Is it possible to do a clean build of a package using yaourt? If not can you manually build the package without using an AUR helper or use one that does allow you to do that like yay?

vfbsilva commented on 2019-06-15 22:02

extra/opencv 4.1.0-2 [instalado] Open Source Computer Vision Library

extra/opencv-samples 4.1.0-2 Open Source Computer Vision Library (samples)