ethnhe / FFB6D

[CVPR2021 Oral] FFB6D: A Full Flow Bidirectional Fusion Network for 6D Pose Estimation.
MIT License
295 stars 72 forks source link

bugs when compile #14

Closed cuge1995 closed 3 years ago

cuge1995 commented 3 years ago
 Could not find a configuration file for package "OpenCV" that is compatible
  with requested version "3".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake, version: 4.2.0
    /lib/x86_64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake, version: 4.2.0

I installed Opencv3 as your requirement.txt

ethnhe commented 3 years ago

As the error says, the normalSpeed project requires OpenCV version 3 but it seems you've installed opencv4. Try compile opencv3 from the source code, on the version 3.4 branch . And then compiled again.

an99990 commented 3 years ago

I did what @ethnhe suggested and it still gives me the same error @cuge1995 has.

Im installing eerything in a pipenv env, This is what I get when i do pipenv graph image

error image message: image

ethnhe commented 3 years ago

So it seems that the program can not find your installed opencv3 path correctly but use the opencv4 version 4.2, several ways that maybe will solve the problem.

an99990 commented 3 years ago

1- normalSpeed doesnt support opencv4 2- try to force path with find_package(OpenCV 3 EXACT REQUIRED PATHS ...) but still find opencv4 3- last solution didnt try yet.

ghost commented 2 years ago

Hey @an99990, have you managed to resolve your issue ?

I'm facing exactly the same problem. Would really appreciate it to have your feedback on this.

an99990 commented 2 years ago

i cant remember exactly im sorry, but i think i installed opencv with source and it somehow worked