Advertisement
Guest User

ardrone api error

a guest
Dec 26th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 KB | None | 0 0
  1. 01:26:28 **** Incremental Build of configuration Debug for project arDroneAPI ****
  2. make all
  3. Building file: ../src/ARDrone.cpp
  4. Invoking: GCC C++ Compiler
  5. g++ -I/Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib -I/Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib/commonc++ -include/Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib/DatagramSocket.c++ -O0 -g3 -Wall -c -fmessage-length=0 -v -MMD -MP -MF"src/ARDrone.d" -MT"src/ARDrone.d" -o "src/ARDrone.o" "../src/ARDrone.cpp"
  6. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  7. Target: x86_64-apple-darwin13.0.0
  8. Thread model: posix
  9. "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name ARDrone.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 224.1 -v -g -coverage-file /Users/joseph/Documents/workspace/arDroneAPI/Debug/src/ARDrone.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0 -dependency-file src/ARDrone.d -MP -MT src/ARDrone.d -include /Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib/DatagramSocket.c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -I /Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib -I /Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib/commonc++ -stdlib=libc++ -O0 -Wall -fdeprecated-macro -fdebug-compilation-dir /Users/joseph/Documents/workspace/arDroneAPI/Debug -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o src/ARDrone.o -x c++ ../src/ARDrone.cpp
  10. clang -cc1 version 5.0 based upon LLVM 3.3svn default target x86_64-apple-darwin13.0.0
  11. ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/v1"
  12. ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/local/include"
  13. ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/Library/Frameworks"
  14. #include "..." search starts here:
  15. #include <...> search starts here:
  16. /Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib
  17. /Users/joseph/UAV/api/libcommon/libcommonc++-0.6.6/lib/commonc++
  18. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1
  19. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include
  20. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
  21. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
  22. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)
  23. End of search list.
  24. In file included from ../src/ARDrone.cpp:25:
  25. ../src/ARDrone.h:27:13: error: cannot define or redeclare 'DatagramSocket' here because namespace 'ARDrone' does not enclose namespace 'ccxx'
  26. class ccxx::DatagramSocket;
  27. ~~~~~~^
  28. ../src/ARDrone.h:28:13: error: cannot define or redeclare 'Mutex' here because namespace 'ARDrone' does not enclose namespace 'ccxx'
  29. class ccxx::Mutex;
  30. ~~~~~~^
  31. ../src/ARDrone.h:29:13: error: cannot define or redeclare 'Thread' here because namespace 'ARDrone' does not enclose namespace 'ccxx'
  32. class ccxx::Thread;
  33. ~~~~~~^
  34. ../src/ARDrone.cpp:530:60: warning: '/*' within block comment [-Wcomment]
  35. static final int MYKONOS_TRIM_COMMAND_MASK = 1 << 7; /*!< Trim command ACK : (0) None, (1) one received
  36. ^
  37. ../src/ARDrone.cpp:531:59: warning: '/*' within block comment [-Wcomment]
  38. static final int MYKONOS_TRIM_RUNNING_MASK = 1 << 8; /*!< Trim running : (0) none, (1) running
  39. ^
  40. ../src/ARDrone.cpp:532:59: warning: '/*' within block comment [-Wcomment]
  41. static final int MYKONOS_TRIM_RESULT_MASK = 1 << 9; /*!< Trim result : (0) failed, (1) succeeded
  42. ^
  43. ../src/ARDrone.cpp:533:59: warning: '/*' within block comment [-Wcomment]
  44. static final int MYKONOS_ANGLES_OUT_OF_RANGE = 1 << 19; /*!< Angles : (0) Ok, (1) out of range
  45. ^
  46. ../src/ARDrone.cpp:534:59: warning: '/*' within block comment [-Wcomment]
  47. static final int MYKONOS_WIND_MASK = 1 << 20; /*!< Wind : (0) Ok, (1) too much to fly
  48. ^
  49. ../src/ARDrone.cpp:535:59: warning: '/*' within block comment [-Wcomment]
  50. static final int MYKONOS_ULTRASOUND_MASK = 1 << 21; /*!< Ultrasonic sensor : (0) Ok, (1) deaf
  51. ^
  52. ../src/ARDrone.cpp:536:59: warning: '/*' within block comment [-Wcomment]
  53. static final int MYKONOS_CUTOUT_MASK = 1 << 22; /*!< Cutout system detection : (0) Not detected, (1) detected
  54. ^
  55. ../src/ARDrone.cpp:537:59: warning: '/*' within block comment [-Wcomment]
  56. static final int MYKONOS_COM_WATCHDOG_MASK = 1 << 30; /*!< Communication Watchdog : (1) com problem, (0) Com is ok
  57. ^
  58. ../src/ARDrone.cpp:538:59: warning: '/*' within block comment [-Wcomment]
  59. static final int MYKONOS_EMERGENCY_MASK = 1 << 31; /*!< Emergency landing : (0) no emergency, (1) emergency
  60. ^
  61. ../src/ARDrone.cpp:1555:54: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
  62. Width = CONST_WidthCif << Resolution - 1;
  63. ~~ ~~~~~~~~~~~^~~
  64. ../src/ARDrone.cpp:1555:54: note: place parentheses around the '-' expression to silence this warning
  65. Width = CONST_WidthCif << Resolution - 1;
  66. ^
  67. ( )
  68. ../src/ARDrone.cpp:1556:56: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
  69. Height = CONST_HeightCif << Resolution - 1;
  70. ~~ ~~~~~~~~~~~^~~
  71. ../src/ARDrone.cpp:1556:56: note: place parentheses around the '-' expression to silence this warning
  72. Height = CONST_HeightCif << Resolution - 1;
  73. ^
  74. ( )
  75. ../src/ARDrone.cpp:1559:54: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
  76. Width = CONST_WidthVga << Resolution - 1;
  77. ~~ ~~~~~~~~~~~^~~
  78. ../src/ARDrone.cpp:1559:54: note: place parentheses around the '-' expression to silence this warning
  79. Width = CONST_WidthVga << Resolution - 1;
  80. ^
  81. ( )
  82. ../src/ARDrone.cpp:1560:56: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
  83. Height = CONST_HeightVga << Resolution - 1;
  84. ~~ ~~~~~~~~~~~^~~
  85. ../src/ARDrone.cpp:1560:56: note: place parentheses around the '-' expression to silence this warning
  86. Height = CONST_HeightVga << Resolution - 1;
  87. ^
  88. ( )
  89. ../src/ARDrone.cpp:1690:26: warning: unused variable 'w' [-Wunused-variable]
  90. unsigned short w = PixelData[i];
  91. ^
  92. 14 warnings and 3 errors generated.
  93. make: *** [src/ARDrone.o] Error 1
  94.  
  95. 01:26:29 Build Finished (took 670ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement