First time here? Check out the FAQ!
I had this problem on Android and putting void dummy_func() { cvLog(NULL, NULL); } in the code solved it. - a linker bug?some