i want to fix a bug in function in imgproc so i try to edit source code in ( opencv/modules/imgproc/src/.. ) i write an output stream at the beginning of this function to check when i run the code if its my modified code or not
std::cout<<"My New Code";
then i rebuild opencv and install it again
make
sudo make install
when i try to use the function again , nothing appear on my screen . so how can i do this ? also if there is a good method that help me to fix any bug and see what have i changed ?