Ask Your Question
0

Undefined symbols x86_64 error XCode

asked 2013-02-03 01:54:46 -0500

Hi,

I've been trying to compile a hand detection example I found and I have been getting the following error:

Undefined symbols for architecture x86_64:
   "_cvCvtColor referenced from:
       _main in main.o

The weird thing is, when I comment out the cvCvtColor() member, the code successfully compiles! I'm using XCode 4.6 on Mac OSX10.8 (Mountain Lion)

Any insight is really appreciated!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-08 02:38:34 -0500

I figured it out finally! I just wasn't including the libopencv_improc library.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-03 01:54:46 -0500

Seen: 1,284 times

Last updated: Feb 08 '13