Error:Command /bin/sh failed with exit code 1

Hi guys.

I am getting the following error when I try to build my application:

"_cvFindHomography", referenced from:  
Calibration::computeCalibrationMatrix()       in Calibration.o  
ld: symbol(s) not found  
collect2: ld returned 1 exit status  
install_name_tool: can't open file: /Users/csly08/UNI/Dropbox/RepositoryMED8/CV_Aphasia/apps/examples/movieGrabberExample/bin// (No such file or directory)  
Command /bin/sh failed with exit code 1  

So far all my app does is that it generates a grayScale image and performs a threshold filter, and this process is working fine.

The error appears when I want to do some calibration. When I call cvFindHomography(src_points, dst_points, homography); it gives me the above error. As soon as I uncomment it, everything works perfectly.

What am I doing wrong?