-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Build fail on Ubuntu 18.04 x86_64 #35
Comments
With gcc 8
|
Can you please post the opencv version and full version of gcc-7 and gcc-8 ( |
Oh, does it need specific versions to be installed (both gcc and opencv?). https://github.com/nebgnahz/cv-rs uses submodules and imports the source code directly so I was kind of expecting a similar "out-of-the-box" behaviour. I have multiple versions of opencv (2.x and 3.x), both built from source and installed from packages and it's a nightmare to maintain, hence the "bring your own via git/cargo" expectation. Never mind then.
|
Currently it uses system opencv, yes. I'm testing on opencv-3.4.6, I'd expect anything in 3.x to work, but 2.x is a different story. I'm not targeting this in master anymore. |
Facing the same issue, here are my gcc and opencv versions pkg-config --modversion opencv4
4.5.2
gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
I would need a full build log as produced by the |
Outpu for
|
Are you sure this is all you get from that command? It should produce the extensive debug logging about the environment in lines prefixed with ===. I can only find one:
|
One thing to try though is to update to the latest crate version, 0.50.0 at the time of writing. |
Yes those were all the outputs from the
|
Oh ok i see some of the Here is the non redirected
|
I just realized that you mentioned the OpenCV version to be 4.5.2. Are you using a git version? Because the latest release is 4.5.1: https://opencv.org/releases/ |
I am using |
@twistedfall can you check now that
|
For OpenCV 4.5.2 support you'd need to use at least crate version 0.52.0, please read the changelog, there are important api changes. |
@twistedfall thanks for the update on the version pinning, I am getting the same issue with the
|
Can you post a full build log as produced by |
@twistedfall definitely, here is the full output for
|
Got it, thanks! I’ll try to fix the issue today. It’s weird that it slipped past the tests in the CI though. Did you build OpenCV in a specific way? |
You seem to be building OpenCV from master (there is no colored_kinfu in OpenCV 4.5.2), this can often break in different ways. Please use the released OpenCV 4.5.2. |
@twistedfall I am building from the zipped archive link for the
Do you mean this is different than the one from the releases page https://github.com/opencv/opencv/archive/refs/tags/4.5.2.zip? |
No, it's fine. If I follow your steps:
And then try to find anything related to colored_kinfu, I get nothing:
So it looks like you installed the master OpenCV before into "/usr/local/include/opencv4" and now the build script is picking up this installation. Can you run the commands I ran inside /usr/local/include/opencv4 on your machine? |
Great catch, yup I see it there, must be from a previous opencv build I didn't purge out properly
|
With gcc 7
The text was updated successfully, but these errors were encountered: