We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is the log:
[ 33%] Automatic moc for target compute_flow [ 33%] Built target compute_flow_automoc Scanning dependencies of target compute_flow [ 66%] Building CXX object CMakeFiles/compute_flow.dir/compute_flow.o /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp: In function ‘int main(int, char**)’: /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:263:11: warning: unused variable ‘fx’ [-Wunused-variable] FILE fx = fopen(outfile.c_str(),"wb"); ^ /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:282:44: warning: variable ‘width_out’ set but not used [-Wunused-but-set-variable] int nframes = 0, width = 0, height = 0, width_out = 0, height_out = 0; ^ /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:282:59: warning: variable ‘height_out’ set but not used [-Wunused-but-set-variable] int nframes = 0, width = 0, height = 0, width_out = 0, height_out = 0; ^ /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp: In function ‘void cv::DefaultDeleter::operator()(Y) const [with Y = cv::flann::KDTreeIndexParams]’: /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:473:1: note: file /home/mzy/zero-shot4video/gpu_flow/build/CMakeFiles/compute_flow.dir/compute_flow.gcda not found, execution counts estimated } ^ [100%] Building CXX object CMakeFiles/compute_flow.dir/compute_flow_automoc.o Linking CXX executable compute_flow CMakeFiles/compute_flow.dir/compute_flow.o: In function ~GpuMat': /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' CMakeFiles/compute_flow.dir/compute_flow.o:/usr/local/include/opencv2/core/gpumat.hpp:374: more undefined references to cv::gpu::GpuMat::release()' follow CMakeFiles/compute_flow.dir/compute_flow.o: In function main': /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:169: undefined reference to cv::gpu::setDevice(int)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:173: undefined reference to cv::gpu::getDevice()' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:173: undefined reference to cv::gpu::printShortCudaDeviceInfo(int)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:177: undefined reference to cv::gpu::OpticalFlowDual_TVL1_GPU::OpticalFlowDual_TVL1_GPU()' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:352: undefined reference to cv::gpu::GpuMat::upload(cv::Mat const&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:353: undefined reference to cv::gpu::GpuMat::upload(cv::Mat const&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:354: undefined reference to cv::gpu::OpticalFlowDual_TVL1_GPU::operator()(cv::gpu::GpuMat const&, cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::gpu::GpuMat&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:357: undefined reference to cv::gpu::GpuMat::download(cv::Mat&) const' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:358: undefined reference to cv::gpu::GpuMat::download(cv::Mat&) const' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:348: undefined reference to cv::gpu::GpuMat::upload(cv::Mat const&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:349: undefined reference to cv::gpu::GpuMat::upload(cv::Mat const&)' CMakeFiles/compute_flow.dir/compute_flow.o: In function main': /usr/local/include/opencv2/gpu/gpu.hpp:1742: undefined reference to cv::gpu::Stream::Null()' CMakeFiles/compute_flow.dir/compute_flow.o: In function main': /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:350: undefined reference to cv::gpu::BroxOpticalFlow::operator()(cv::gpu::GpuMat const&, cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::Stream&)' CMakeFiles/compute_flow.dir/compute_flow.o: In function ~GpuMat': /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to cv::gpu::GpuMat::release()' CMakeFiles/compute_flow.dir/compute_flow.o:/usr/local/include/opencv2/core/gpumat.hpp:374: more undefined references to cv::gpu::GpuMat::release()' follow /home/mzy/anaconda3/lib/libQt5Core.so.5.9.5: undefined reference to __cxa_throw_bad_array_new_length@CXXABI_1.3.8' /home/mzy/anaconda3/lib/libQt5Core.so.5.9.5: undefined reference to operator delete(void*, unsigned long)@CXXABI_1.3.9' /home/mzy/anaconda3/lib/libQt5Core.so.5.9.5: undefined reference to `operator delete[](void*, unsigned long)@CXXABI_1.3.9' collect2: error: ld returned 1 exit status make[2]: *** [compute_flow] Error 1 make[1]: *** [CMakeFiles/compute_flow.dir/all] Error 2 make: *** [all] Error 2
~GpuMat': /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to
cv::gpu::GpuMat::release()' /usr/local/include/opencv2/core/gpumat.hpp:374: undefined reference to
cv::gpu::GpuMat::release()' follow CMakeFiles/compute_flow.dir/compute_flow.o: In function
cv::gpu::setDevice(int)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:173: undefined reference to
cv::gpu::printShortCudaDeviceInfo(int)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:177: undefined reference to
cv::gpu::GpuMat::upload(cv::Mat const&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:353: undefined reference to
cv::gpu::OpticalFlowDual_TVL1_GPU::operator()(cv::gpu::GpuMat const&, cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::gpu::GpuMat&)' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:357: undefined reference to
cv::gpu::GpuMat::download(cv::Mat&) const' /home/mzy/zero-shot4video/gpu_flow/compute_flow.cpp:348: undefined reference to
cv::gpu::GpuMat::upload(cv::Mat const&)' CMakeFiles/compute_flow.dir/compute_flow.o: In function
cv::gpu::Stream::Null()' CMakeFiles/compute_flow.dir/compute_flow.o: In function
cv::gpu::BroxOpticalFlow::operator()(cv::gpu::GpuMat const&, cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::gpu::GpuMat&, cv::gpu::Stream&)' CMakeFiles/compute_flow.dir/compute_flow.o: In function
cv::gpu::GpuMat::release()' CMakeFiles/compute_flow.dir/compute_flow.o:/usr/local/include/opencv2/core/gpumat.hpp:374: more undefined references to
__cxa_throw_bad_array_new_length@CXXABI_1.3.8' /home/mzy/anaconda3/lib/libQt5Core.so.5.9.5: undefined reference to
Any solution for this issue?
The text was updated successfully, but these errors were encountered:
Do you have a solution now?I am also facing this problem.
Sorry, something went wrong.
No branches or pull requests
Here is the log:
Any solution for this issue?
The text was updated successfully, but these errors were encountered: