thp / psmoveapi

Cross-platform library for 6DoF tracking of the PS Move Motion Controller. Sensor fusion, computer vision, ambient display (LED orb).
https://thp.io/2010/psmove/
Other
465 stars 160 forks source link

No orientation in Processing binding #72

Closed SableRaf closed 10 years ago

SableRaf commented 11 years ago

With the latest codebase, move.get_orientation in Processing returns the following values 1.0, 0.0, 0.0, 0.0 regardless of wether reset_orientation is called or not (which should not be necessary anyway since it's called by enable_orientation).

I tested this with the orientation.pde example and all orientation based examples with the same results. With an earlier version of the library, the same code works fine.

Is it possible that, when the AHRS algorithm was made optional at the build phase, it was removed from the bindings?

Macbook Pro with MacOS X 10.8.2

thp commented 11 years ago

When the AHRS algorithm is not built-in, the orientation functions will not work - this affects bindings as well as the C API. The decision whether or not to include the AHRS algorithm is done at compile-time, and the relevant parts of the code in the C library are not built when this is disabled.

It has recently become necessary to explicitly enable the AHRS algorithm in cmake, because I want users of the library to explicitly make the decision to turn their build into one that falls under the GPL (if the AHRS algorithm is not included, the build falls under the BSD license).

SableRaf commented 11 years ago

Ok, that answers https://github.com/thp/psmoveapi/issues/70 but I actually enabled the AHRS algorithm in cmake and still don't get the readings in Processing.

edit: thanks for your quick answer by the way!

SableRaf commented 11 years ago

Ok, wait, I might have messed up with the build. I'll try some stuff and come back to this issue.

SableRaf commented 11 years ago

Well, I still have the same issue.

Appart from some OpenCV 64 / 32 bit madness, it looks like AHRS is compiled.

[ 14%] Building C object CMakeFiles/psmoveapi_static.dir/external/MadgwickAHRS/MadgwickAHRS.c.o

Here is my full compilation log:

Build configuration
    Debug build:      No
    Tracker library:  Yes (with local OpenCV)
    AHRS algorithm:   Madgwick AHRS
    Library license:  GPL (see README for details)

  Language bindings
    Python:           Yes
    Java:             Yes
    C#:               No (disabled)
    Processing:       Yes
    Qt:               No (disabled)

  Tracker
    PS Eye support:   Yes
    HTML tracing:     No
    Use CL Eye SDK:   No (Windows only)

  Additional targets
    C example apps:   Yes
    OpenGL examples:  No
    C test programs:  Yes
    C++ TUIO server:  No

-- Configuring done
-- Generating done
-- Build files have been written to: /Developer/MyLibraries/psmoveapi_build_27jun2013/build
Monsieur-Macbook:build raphael$ make
Scanning dependencies of target psmoveapi_static
[  1%] Building C object CMakeFiles/psmoveapi_static.dir/external/hidapi/mac/hid.c.o
[  3%] Building C object CMakeFiles/psmoveapi_static.dir/src/psmove.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow
      [-Wstrncat-size]
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: note: change the argument to be the free space in the destination buffer minus the terminating null
      byte
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
                                            sizeof(dir) - strlen(dir) - 1
1 warning generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow
      [-Wstrncat-size]
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: note: change the argument to be the free space in the destination buffer minus the terminating null
      byte
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
                                            sizeof(dir) - strlen(dir) - 1
1 warning generated.
[  5%] Building C object CMakeFiles/psmoveapi_static.dir/src/psmove_calibration.c.o
[  7%] Building C object CMakeFiles/psmoveapi_static.dir/src/psmove_orientation.c.o
[  9%] Building C object CMakeFiles/psmoveapi_static.dir/src/daemon/moved_client.c.o
[ 10%] Building C object CMakeFiles/psmoveapi_static.dir/src/daemon/moved_monitor.c.o
[ 12%] Building CXX object CMakeFiles/psmoveapi_static.dir/src/platform/psmove_osxsupport.m.o
[ 14%] Building C object CMakeFiles/psmoveapi_static.dir/external/MadgwickAHRS/MadgwickAHRS.c.o
Linking CXX static library libpsmoveapi_static.a
/usr/bin/ranlib: for architecture: i386 file: libpsmoveapi_static.a(moved_monitor.c.o) has no symbols
/usr/bin/ranlib: for architecture: x86_64 file: libpsmoveapi_static.a(moved_monitor.c.o) has no symbols
[ 14%] Built target psmoveapi_static
Scanning dependencies of target psmoveapi_tracker_static
[ 16%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/camera_control.c.o
[ 18%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/psmove_tracker.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/tracker/psmove_tracker.c:487:9: warning: implicit declaration of function 'camera_control_initialize' is invalid in C99
      [-Wimplicit-function-declaration]
        camera_control_initialize();
        ^
1 warning generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/tracker/psmove_tracker.c:487:9: warning: implicit declaration of function 'camera_control_initialize' is invalid in C99
      [-Wimplicit-function-declaration]
        camera_control_initialize();
        ^
1 warning generated.
[ 20%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/tracker_helpers.c.o
[ 21%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/tracker_trace.c.o
[ 23%] Building CXX object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/psmove_fusion.cpp.o
[ 25%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/external/iniparser/dictionary.c.o
[ 27%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/external/iniparser/iniparser.c.o
[ 29%] Building CXX object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/platform/psmove_osxsupport.m.o
[ 30%] Building C object CMakeFiles/psmoveapi_tracker_static.dir/src/tracker/platform/camera_control_macosx.c.o
Linking CXX static library libpsmoveapi_tracker_static.a
/usr/bin/ranlib: for architecture: i386 file: libpsmoveapi_tracker_static.a(tracker_trace.c.o) has no symbols
/usr/bin/ranlib: for architecture: x86_64 file: libpsmoveapi_tracker_static.a(tracker_trace.c.o) has no symbols
[ 30%] Built target psmoveapi_tracker_static
[ 32%] Swig source
Scanning dependencies of target _psmove
[ 34%] Building C object CMakeFiles/_psmove.dir/bindings/swig/psmovePYTHON_wrap.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/build/bindings/swig/psmovePYTHON_wrap.c:2362:23: warning: explicitly assigning a variable of type 'int' to itself
      [-Wself-assign]
                  res = SWIG_AddCast(res);
                  ~~~ ^              ~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/build/bindings/swig/psmovePYTHON_wrap.c:2365:23: warning: explicitly assigning a variable of type 'int' to itself
      [-Wself-assign]
                  res = SWIG_AddCast(res);                  
                  ~~~ ^              ~~~
2 warnings generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/build/bindings/swig/psmovePYTHON_wrap.c:2362:23: warning: explicitly assigning a variable of type 'int' to itself
      [-Wself-assign]
                  res = SWIG_AddCast(res);
                  ~~~ ^              ~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/build/bindings/swig/psmovePYTHON_wrap.c:2365:23: warning: explicitly assigning a variable of type 'int' to itself
      [-Wself-assign]
                  res = SWIG_AddCast(res);                  
                  ~~~ ^              ~~~
2 warnings generated.
Linking CXX shared module _psmove.so
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylibld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylibignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib

ld: warning: 
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylibignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylibld: warning: 

ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylibld: warning: ld: warning: ld: warning: 
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylibignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylibignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylibignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib

ld: warning: 
ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 34%] Built target _psmove
Scanning dependencies of target psmoveapi
[ 36%] Building C object CMakeFiles/psmoveapi.dir/external/hidapi/mac/hid.c.o
[ 38%] Building C object CMakeFiles/psmoveapi.dir/src/psmove.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow
      [-Wstrncat-size]
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: note: change the argument to be the free space in the destination buffer minus the terminating null
      byte
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
                                            sizeof(dir) - strlen(dir) - 1
1 warning generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow
      [-Wstrncat-size]
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/psmove.c:1783:45: note: change the argument to be the free space in the destination buffer minus the terminating null
      byte
        strncat(dir, PATH_SEP ".psmoveapi", sizeof(dir));
                                            ^~~~~~~~~~~
                                            sizeof(dir) - strlen(dir) - 1
1 warning generated.
[ 40%] Building C object CMakeFiles/psmoveapi.dir/src/psmove_calibration.c.o
[ 41%] Building C object CMakeFiles/psmoveapi.dir/src/psmove_orientation.c.o
[ 43%] Building C object CMakeFiles/psmoveapi.dir/src/daemon/moved_client.c.o
[ 45%] Building C object CMakeFiles/psmoveapi.dir/src/daemon/moved_monitor.c.o
[ 47%] Building CXX object CMakeFiles/psmoveapi.dir/src/platform/psmove_osxsupport.m.o
[ 49%] Building C object CMakeFiles/psmoveapi.dir/external/MadgwickAHRS/MadgwickAHRS.c.o
Linking CXX shared library libpsmoveapi.dylib
[ 49%] Built target psmoveapi
Scanning dependencies of target psmoveapi_tracker
[ 50%] Building C object CMakeFiles/psmoveapi_tracker.dir/src/tracker/camera_control.c.o
[ 52%] Building C object CMakeFiles/psmoveapi_tracker.dir/src/tracker/psmove_tracker.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/tracker/psmove_tracker.c:487:9: warning: implicit declaration of function 'camera_control_initialize' is invalid in C99
      [-Wimplicit-function-declaration]
        camera_control_initialize();
        ^
1 warning generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/tracker/psmove_tracker.c:487:9: warning: implicit declaration of function 'camera_control_initialize' is invalid in C99
      [-Wimplicit-function-declaration]
        camera_control_initialize();
        ^
1 warning generated.
[ 54%] Building C object CMakeFiles/psmoveapi_tracker.dir/src/tracker/tracker_helpers.c.o
[ 56%] Building C object CMakeFiles/psmoveapi_tracker.dir/src/tracker/tracker_trace.c.o
[ 58%] Building CXX object CMakeFiles/psmoveapi_tracker.dir/src/tracker/psmove_fusion.cpp.o
[ 60%] Building C object CMakeFiles/psmoveapi_tracker.dir/external/iniparser/dictionary.c.o
[ 61%] Building C object CMakeFiles/psmoveapi_tracker.dir/external/iniparser/iniparser.c.o
[ 63%] Building CXX object CMakeFiles/psmoveapi_tracker.dir/src/tracker/platform/psmove_osxsupport.m.o
[ 65%] Building C object CMakeFiles/psmoveapi_tracker.dir/src/tracker/platform/camera_control_macosx.c.o
Linking CXX shared library libpsmoveapi_tracker.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylibignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib

ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 65%] Built target psmoveapi_tracker
Scanning dependencies of target distance_calibration
[ 67%] Building C object CMakeFiles/distance_calibration.dir/examples/c/distance_calibration.c.o
Linking C executable distance_calibration
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 67%] Built target distance_calibration
Scanning dependencies of target dump_calibration
[ 69%] Building C object CMakeFiles/dump_calibration.dir/examples/c/dump_calibration.c.o
Linking C executable dump_calibration
[ 69%] Built target dump_calibration
Scanning dependencies of target example
[ 70%] Building C object CMakeFiles/example.dir/examples/c/example.c.o
Linking C executable example
[ 70%] Built target example
Scanning dependencies of target magnetometer_calibration
[ 72%] Building C object CMakeFiles/magnetometer_calibration.dir/src/utils/magnetometer_calibration.c.o
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/utils/magnetometer_calibration.c:54:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between
      pointers to integer types with different sign [-Wpointer-sign]
                    psmove_get_button_events(move, &pressed, &released);
                                                   ^~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/include/psmove.h:544:62: note: passing argument to parameter 'pressed' here
ADDCALL psmove_get_button_events(PSMove *move, unsigned int *pressed,
                                                             ^
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/utils/magnetometer_calibration.c:54:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between
      pointers to integer types with different sign [-Wpointer-sign]
                    psmove_get_button_events(move, &pressed, &released);
                                                             ^~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/include/psmove.h:545:23: note: passing argument to parameter 'released' here
        unsigned int *released);
                      ^
2 warnings generated.
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/utils/magnetometer_calibration.c:54:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between
      pointers to integer types with different sign [-Wpointer-sign]
                    psmove_get_button_events(move, &pressed, &released);
                                                   ^~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/include/psmove.h:544:62: note: passing argument to parameter 'pressed' here
ADDCALL psmove_get_button_events(PSMove *move, unsigned int *pressed,
                                                             ^
/Developer/MyLibraries/psmoveapi_build_27jun2013/src/utils/magnetometer_calibration.c:54:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between
      pointers to integer types with different sign [-Wpointer-sign]
                    psmove_get_button_events(move, &pressed, &released);
                                                             ^~~~~~~~~
/Developer/MyLibraries/psmoveapi_build_27jun2013/include/psmove.h:545:23: note: passing argument to parameter 'released' here
        unsigned int *released);
                      ^
2 warnings generated.
Linking CXX executable magnetometer_calibration
[ 72%] Built target magnetometer_calibration
Scanning dependencies of target moved
[ 74%] Building C object CMakeFiles/moved.dir/src/utils/moved.c.o
Linking CXX executable moved
[ 74%] Built target moved
Scanning dependencies of target multiple
[ 76%] Building C object CMakeFiles/multiple.dir/examples/c/multiple.c.o
Linking C executable multiple
[ 76%] Built target multiple
[ 78%] Swig source
Scanning dependencies of target psmove_java
[ 80%] Building C object CMakeFiles/psmove_java.dir/bindings/swig/psmoveJAVA_wrap.c.o
Linking CXX shared module libpsmove_java.jnilib
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylibignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylibld: warning: 

ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 80%] Built target psmove_java
Scanning dependencies of target psmoveapi.jar
[ 81%] Java bindings JAR archive
[ 81%] Built target psmoveapi.jar
Scanning dependencies of target psmovepair
[ 83%] Building C object CMakeFiles/psmovepair.dir/src/utils/psmovepair.c.o
Linking CXX executable psmovepair
[ 83%] Built target psmovepair
Scanning dependencies of target processing_lib
[ 85%] Building and packaging Processing library
[ 85%] Built target processing_lib
Scanning dependencies of target test_calibration
[ 87%] Building C object CMakeFiles/test_calibration.dir/examples/c/test_calibration.c.o
Linking C executable test_calibration
[ 87%] Built target test_calibration
Scanning dependencies of target test_capture_performance
[ 89%] Building C object CMakeFiles/test_capture_performance.dir/examples/c/test_capture_performance.c.o
Linking C executable test_capture_performance
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 89%] Built target test_capture_performance
Scanning dependencies of target test_end2end_latency
[ 90%] Building C object CMakeFiles/test_end2end_latency.dir/examples/c/test_end2end_latency.c.o
Linking C executable test_end2end_latency
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 90%] Built target test_end2end_latency
Scanning dependencies of target test_led_update
[ 92%] Building C object CMakeFiles/test_led_update.dir/examples/c/test_led_update.c.o
Linking C executable test_led_update
[ 92%] Built target test_led_update
Scanning dependencies of target test_read_performance
[ 94%] Building C object CMakeFiles/test_read_performance.dir/examples/c/test_read_performance.c.o
Linking C executable test_read_performance
[ 94%] Built target test_read_performance
Scanning dependencies of target test_record_video
[ 96%] Building C object CMakeFiles/test_record_video.dir/examples/c/test_record_video.c.o
Linking C executable test_record_video
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib
ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylibignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib

[ 96%] Built target test_record_video
Scanning dependencies of target test_roi_size
[ 98%] Building C object CMakeFiles/test_roi_size.dir/examples/c/test_roi_size.c.o
Linking C executable test_roi_size
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylibignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib

ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[ 98%] Built target test_roi_size
Scanning dependencies of target test_tracker
[100%] Building C object CMakeFiles/test_tracker.dir/examples/c/test_tracker.c.o
Linking C executable test_tracker
ld: warning: ignoring file /usr/local/lib/libopencv_calib3d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_calib3d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_contrib.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_contrib.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_core.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_core.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_features2d.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_features2d.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_flann.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_flann.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_gpu.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_gpu.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_highgui.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_highgui.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_imgproc.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_imgproc.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_legacy.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_legacy.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_ml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ml.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_nonfree.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_nonfree.dylibld: warning: 
ignoring file /usr/local/lib/libopencv_objdetect.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_objdetect.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_photo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_photo.dylib
ld: warning: ld: warning: ignoring file /usr/local/lib/libopencv_ts.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_ts.dylibignoring file /usr/local/lib/libopencv_stitching.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_stitching.dylib

ld: warning: ignoring file /usr/local/lib/libopencv_video.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_video.dylib
ld: warning: ignoring file /usr/local/lib/libopencv_videostab.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libopencv_videostab.dylib
[100%] Built target test_tracker
SableRaf commented 11 years ago

Pulled and built the latest source but this is still not resolved. Any clues?

SableRaf commented 10 years ago

Ok this last problem (the build one) seems to be related to build-osx-snapshot building for both 32 and 64 bits architectures. I'll file another issue and propose a fix.