Closed euwern closed 8 years ago
Please try using OpenCV 2.X to compile it.
I realise that opencv changes their GPU module in 3.0.
I have uninstall opencv 3.0 and download the source code of opencv.2.4.11 http://opencv.org/downloads.html.
can you share your opencv installation cmake flag so that I can replicate your environment?
I cannot find it right now, but I used the default CMake file included in the opencv package with minor changes, like enabling ffmpeg etc. As long as the opencv can read videos and images, the flags should not matter.
hi jimmie33,
I managed to install opencv2.4.11, the compile fails at the following: Can you tell me what causes munkres.h.o file not recognized?? how can i fix it?
[ 82%] Building CXX object CMakeFiles/Hierarchy_Ensemble.dir/tracker.cpp.o
[ 88%] Building CXX object CMakeFiles/Hierarchy_Ensemble.dir/appTemplate.cpp.o
[ 94%] Building CXX object CMakeFiles/Hierarchy_Ensemble.dir/multiTrackAssociation.cpp.o
[100%] Building CXX object CMakeFiles/Hierarchy_Ensemble.dir/main.cpp.o
Linking CXX executable Hierarchy_Ensemble
CMakeFiles/Hierarchy_Ensemble.dir/munkres.h.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [Hierarchy_Ensemble] Error 1
make[1]: *** [CMakeFiles/Hierarchy_Ensemble.dir/all] Error 2
make: *** [all] Error 2
The linking should not involve munkre.h.o. Can you past the MakeFile generated using CMake?
Here's the generated makefile. (I just renamed the filename extension so that I could upload to this comment). Makefile.txt
I updated the CMakeList.txt file. It should work now.
Thank you. with the new CMakeLists.txt file I am able to compile and run the program successfully.
I tried to compile the program using Opencv 3.0 and I get a bunch of template argument deduction/substitution failed error. (see one of the error below)
Can you shed some light on how to fix the error?