-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile at CentOs 7 #94
Comments
same at CentOs 8 |
Cmake finishes fine on "release" source code. But make throws this.
|
I wonder your cmake's version and options, I failed to repeat this error with cmake V3.22.0. |
3.20.2 On CentOs8 and 3.23.2 on CentOs7 (self-compilled) on options, just Builds fine on ArchLinux with ALHP repo, cmake 3.23.2, native optimization, SSE42, AVX, AVX2 and even GUI |
UPD: i tried "release" only on CentOs8 |
I believe this is caused by cmake v3. 20. #88 also got this issue with cmake v3. 20 on windows10. |
3.23.2 on CentOs7 but not on ArchLinux keeps throwing same error. Probably, version of cmake it's not only problem in this puzzle.. cmake on CentOs7 without any redhat patches or something, compiled from sources |
This error happens at |
Seems no. After cmake error i get And that's true |
opencv version? |
opencv-2.4.5-3.el7.src.rpm |
That's outdated. OpenCV3.2 should be the earliest version which could pass the building. OpenCV4 is recommended. |
Please, force cmake warn about it |
Well, I did this check inside the code via macros, but to my surprise, opencv2 does not seem to include that version checking macro... |
`-- Failed to complie has_filesystem.cpp, will use boost::filesystem instead of std::filesystem Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_932f9/fast && /usr/bin/gmake -f CMakeFiles/cmTC_932f9.dir/build.make CMakeFiles/cmTC_932f9.dir/build when cmake with opencv4.6 and |
Use the newer version of boost::filesystem library, your current one should be earlier than 1.6. I have posted the necessary version of libraries and tools for building, you may check it on wiki |
yeah, boost-1.53.0-28.el7.src.rpm..
|
Try using quotes to surround path instead of lots of escaping. This should be a path analyzing issue of opencv. |
Same. Also tried symlink video to 1.mkv in build folder - same |
opencv-3.4.6-7.el8.src.rpm on CentOs8 also is too old. but even on CentOs8 |
has your opencv built with ffmpeg module? |
yaeh, installing ffmpeg-devel before cmaking opencv fixed problem even without recompiling Anime4KCPP |
With Ubuntu WSL (Windows 11) it is very easy to compile. |
CMake Error in core/CMakeLists.txt:
Target "Anime4KCPPCore" INTERFACE_INCLUDE_DIRECTORIES property contains
path:
which is prefixed in the source directory.
for more recent versions used cmake from cmake.org and llvm-toolset-7.
/opt/rh/devtoolset-7/root/bin/c++ linked to /usr/bin/c++
The text was updated successfully, but these errors were encountered: