You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i was unable to build the projcect when doing make.
The error was the following:
[ 61%] Building CXX object CMakeFiles/simple_vehicle_counting.dir/package_tracking/cvblob/cvlabel.cpp.o
In file included from /home/pi/CV/simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp:30:0:
/home/pi/CV/simple_vehicle_counting/package_tracking/cvblob/cvblob.h:433:4: warning: extra ‘;’ [-Wpedantic]
};
^
/home/pi/CV/simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp:38:3: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
};
^
/home/pi/CV/simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp:38:3: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing
The text was updated successfully, but these errors were encountered:
change the following in the file "simple_vehicle_counting/package_tracking/cvblob/cvlabel.cpp":
"const char" to "const signed char"
in both the lines 34 and 40.
do "make" again in "simple_vehicle_counting/build/". It worked for me.
Hello i was unable to build the projcect when doing
make
.The error was the following:
The text was updated successfully, but these errors were encountered: