Undefined symbols for architecture x86_64:

René J.V. Bertin rjvbertin at gmail.com
Tue Sep 23 04:56:50 PDT 2014


On Tuesday September 23 2014 06:44:33 Ryan Schmidt wrote:

> MacPorts is already using clang, for most ports, in particular for opencv. You seemed to be talking about manually compiling some other software outside of MacPorts which uses opencv. And you showed the output of "gcc --version" which made me think you were using gcc to do so. If so, you'll need to switch to using clang to compile that other software, to match how MacPorts has compiled opencv.

That's if you're on 10.9 (10.8?) or later... But that just boils down to using the system compiler, which ought to be the case if you don't specify one yourself.

R


More information about the macports-users mailing list