BUILDING OPENCV 2.4.8 APPLICATION ERROR IN MAC MAVERICK OS [closed]

asked 2014-01-22 06:50:38 -0600

I am trying to build an OpenCV application In Maverick and I am get the following errors: CompileC /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/Objects-normal/x86_64/main.o trataYUV/main.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/marcio/Desenv/trataYUV setenv LANG en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.9 -g -Wno-sign-conversion -iquote /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/trataYUV-generated-files.hmap -I/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/trataYUV-own-target-headers.hmap -I/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/trataYUV-all-target-headers.hmap -iquote /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/trataYUV-project-headers.hmap -I/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/DerivedSources/x86_64 -I/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/DerivedSources -F/Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Products/Debug -F/Users/marcio/Desenv -I /opt/local/include/opencv -MMD -MT dependencies -MF /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/Objects-normal/x86_64/main.dia -c /Users/marcio/Desenv/trataYUV/trataYUV/main.c -o /Users/marcio/Library/Developer/Xcode/DerivedData/trataYUV-ethoygtaaembbncqmfxdxvctotyp/Build/Intermediates/trataYUV.build/Debug/trataYUV.build/Objects-normal/x86_64/main.o

/Users/marcio/Desenv/trataYUV/trataYUV/main.c:146:32: warning: format specifies type 'unsigned long' but the argument has type 'off_t' (aka 'long long') [-Wformat] argv[0],width,height,isize,st.st_size); ^~~~~~~~~~ /Users/marcio/Desenv/trataYUV/trataYUV/main.c:150:32: warning: format specifies type 'unsigned long' but the argument has type 'off_t' (aka 'long long') [-Wformat] argv[0],width,height,isize,st.st_size); ^~~~~~~~~~ /Users/marcio/Desenv/trataYUV/trataYUV/main.c:226:9: warning: assigning to 'uint8_t ' (aka 'unsigned char *') from 'int8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] p_yuv = in_data; ^ ~~~~~~~ /Users/marcio/Desenv/trataYUV/trataYUV/main.c:251:12: warning: unused variable 'owidth' [-Wunused-variable] unsigned owidth; uint8_t *p_yuv; ^ /Users/marcio/Desenv/trataYUV/trataYUV/main.c:251:29: warning: unused variable 'p_yuv' [-Wunused-variable] unsigned owidth; uint8_t *p_yuv; ^ In file included from /Users/marcio/Desenv/trataYUV/trataYUV/main.c:25: In file included from /opt/local/include ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by StevenPuttemans
close date 2014-01-22 07:14:03.060912

Comments

Please read FAQ and put some effort in the future into your problem description. Topic closed!

StevenPuttemans gravatar imageStevenPuttemans ( 2014-01-22 07:13:31 -0600 )edit