MarianoJT88 / PD-Flow

Real-time scene flow algorithm for RGB-D cameras
75 stars 31 forks source link

Need Help to run this #15

Open Wajahat0 opened 2 years ago

Wajahat0 commented 2 years ago

Hi, I am new in this field. For one to two months I'm trying to run this code but unfortunately, fail to run this. Anybody can help me. I have tried all things available on the internet. I tried to run this code in Windows and Linux. I need help any body able to run this code. i

Thank you in advance.

MarianoJT88 commented 2 years ago

Hi Wajahat0, unfortunately I haven´t used this project for very long (+4 years) and I don´t even have it on my computer anymore, so I won´t be able to help. In general, if you want anyone to help you should be more explicit about the issue that you encounter and provide some logs with the error / crash message, otherwise it´s impossible for people to know what the problem is.

Wajahat0 commented 2 years ago

Hello, When I run g++ main_scene_flow_impair.cpp

/usr/bin/ld: /tmp/cchxv8ed.o: in function main': main_scene_flow_impair.cpp:(.text+0x50a): undefined reference toPD_flow_opencv::PD_flow_opencv(unsigned int, char const, char const, char const, char const, char const)' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x51d): undefined reference to PD_flow_opencv::initializeCUDA()' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x52c): undefined reference toPD_flow_opencv::loadRGBDFrames()' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x551): undefined reference to PD_flow_opencv::solveSceneFlowGPU()' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x575): undefined reference toPD_flow_opencv::createImage() const' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x58e): undefined reference to PD_flow_opencv::saveResults(cv::Mat const&) const' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x5ae): undefined reference toPD_flow_opencv::showImages()' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x5bd): undefined reference to PD_flow_opencv::showAndSaveResults()' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x5d3): undefined reference tocv::waitKey(int)' /usr/bin/ld: main_scene_flow_impair.cpp:(.text+0x5e2): undefined reference to PD_flow_opencv::freeGPUMemory()' /usr/bin/ld: /tmp/cchxv8ed.o: in functioncv::Mat::~Mat()': main_scene_flow_impair.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x3d): undefined reference to `cv::fastFree(void)' /usr/bin/ld: /tmp/cchxv8ed.o: in function cv::Mat::release()': main_scene_flow_impair.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x4f): undefined reference tocv::Mat::deallocate()' collect2: error: ld returned 1 exit status