Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

compile modified opencv source code

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 ?

compile Build modified opencv source code

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";
Code"<<std::endl;

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 ?