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

Make Error when building project and Python API #35

Open
TNemes-3141 opened this issue Jan 10, 2020 · 0 comments
Open

Make Error when building project and Python API #35

TNemes-3141 opened this issue Jan 10, 2020 · 0 comments

Comments

@TNemes-3141
Copy link

Hello,

I follow the instructions on the main site trying to use the Python demo. These are the commads I have entered so far:

~/git clone --recursive https://github.com/andrewssobral/simple_vehicle_counting.git
~/cd simple_vehicle_counting
~/simple_vehicle_counting/cd build
~/simple_vehicle_counting/build/ cmake ..
~/simple_vehicle_counting/build/make -j 8

However, when running the 'make' command (and when trying to build the normal C version, the same error shows up), it fails with Error 2. Here is the end of the output:

...
/home/tamas/simple_vehicle_counting/package_tracking/cvblob/cvcontour.cpp:378:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
/home/tamas/simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp: In function ‘cvb::CvLabel cvb::cvGetLabel(const IplImage*, unsigned int, unsigned int)’:
/home/tamas/simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp:442:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
CMakeFiles/simple_vehicle_counting.dir/build.make:230: recipe for target 'CMakeFiles/simple_vehicle_counting.dir/package_tracking/cvblob/cvlabel.cpp.o' failed
make[2]: *** [CMakeFiles/simple_vehicle_counting.dir/package_tracking/cvblob/cvlabel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/simple_vehicle_counting.dir/all' failed
make[1]: *** [CMakeFiles/simple_vehicle_counting.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

What is the problem and how can I fix it? Or how can I modify the Python code so that I don't have to actually build the project?

Thanks for the answers in advance!

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

1 participant