Skip to content
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

error: namespace "cv::optflow" has no member "createOptFlow_DIS" #8

Open
BloodLemonS opened this issue Sep 22, 2021 · 3 comments
Open

Comments

@BloodLemonS
Copy link

I'm really sorry to bother you again. There was an error about the supersufel_fusion.cu file when I compiled. Because my computer has a 3060 graphics card, I installed CUDA11.2 and OpencV is 4.4.0. The following error appears. Since I just got into SLAM, I really don't know how to solve this problem. Look forward to it
error: function "getline" cannot be called with the given argument list
argument types are: (, std::__cxx11::string)
error: incomplete type is not allowed
error: namespace "cv::optflow" has no member "createOptFlow_DIS
error: identifier "adjacency_list_all" is undefined

@BruceCanovas
Copy link
Owner

Hi, no problem. I am sorry I didn't have the opportunity to check what's wrong with your other issue related to g2o yet. I am getting ready for my PhD defense and will have more time after that. I think the DIS optical flow has been moved from #include <opencv2/optflow.hpp> in OpenCV 3.x.x to #include <opencv2/video/tracking.hpp> in OpenCV 4.x.x. Maybe juste changing the header can fix your issue.

@BloodLemonS
Copy link
Author

Thank you very much for your reply. I have solved the above mistakes, but I still have the following mistakes when I make, so I don't know how to solve them:
ptxas error : Entry function '_ZN3cub30DeviceRadixSortDownsweepKernelINS_21DeviceRadixSortPolicyIiN6thrust5tupleI6float3S4_4int25Mat334Cov36float2fNS2_9null_typeES9_S9_EEiE9Policy700ELb0ELb0EiSA_iEEvPKT2_PSD_PKT3_PSH_PT4_SL_iiNS_13GridEvenShareISL_EE' uses too much shared data (0xc300 bytes, 0xc000 max)
CMake Error at sfusion_generated_supersurfel_fusion.cu.o.Release.cmake:279 (message):
Error generating file
/home/sy/catkin_ws/build/supersufel_fusion/CMakeFiles/sfusion.dir/core/src/./sfusion_generated_supersurfel_fusion.cu.o

@Sara-Esam
Copy link

@BloodLemonS
Hi! I came across the same problems you posted above.
Could you please tell me how did you correct the mistakes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants