RE: 'sm_xx' is not defined for option 'gpu-architecture'
I just disabled cuda entirely and it compiled =]
by adding the cmake flag: -DENABLE_CUDA=no
Git Clone URL: | https://aur.archlinux.org/waifu2x-converter-cpp-git.git (read-only, click to copy) |
---|---|
Package Base: | waifu2x-converter-cpp-git |
Description: | Image Super-Resolution for Anime-Style Art |
Upstream URL: | https://github.com/DeadSix27/waifu2x-converter-cpp |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | maz-1 |
Maintainer: | nfnty |
Last Packager: | nfnty |
Votes: | 10 |
Popularity: | 0.006899 |
First Submitted: | 2015-10-22 15:03 |
Last Updated: | 2019-05-04 16:14 |
RE: 'sm_xx' is not defined for option 'gpu-architecture'
I just disabled cuda entirely and it compiled =]
by adding the cmake flag: -DENABLE_CUDA=no
Had to install ocl-icd
to be able to build, worked fine without until a day ago or so.
@ax34 Looks like an upstream issue.
CMake Error in CMakeLists.txt: Imported target "opencv_calib3d" includes non-existent path
"//include/opencv4"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not provide.
@Kayshi Looks like an upstream bug. Report upstream.
doesn't compile
[ 22%] Generating modelHandler_CUDA.ptx20
nvcc fatal : Value 'sm_20' is not defined for option 'gpu-architecture'
make[2]: *** [CMakeFiles/gensrcs.dir/build.make:82: modelHandler_CUDA.ptx20] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/gensrcs.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
@DarkShadow44 Issue has been fixed now.
Ah my fault, I'm using opencv 3.2.0-1 from testing. That doesn't build properly:
In configure:
> Looking for C++ include opencv2/opencv.hpp - not found
Seems like they dropped backwards compatibility.
@DarkShadow44 No, it isn't. The executable is located at `/usr/bin/waifu2x-converter-cpp`
Since the last update, the executable is missing. Is this intended?
Pinned Comments
nfnty commented on 2016-11-06 14:19
Issues and pull requests at https://github.com/nfnty/pkgbuilds