galeru:xplane_plugin_node clayton$ VERBOSE=1 make
/opt/local/bin/cmake -H/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node -B/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/depend
cd /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles/rospack_genmsg_libexe.dir/DependInfo.cmake --color=
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/build
make[2]: Nothing to be done for `CMakeFiles/rospack_genmsg_libexe.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles
[ 0%] Built target rospack_genmsg_libexe
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/depend
cd /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles/rosbuild_precompile.dir/DependInfo.cmake --color=
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/build
make[2]: Nothing to be done for `CMakeFiles/rosbuild_precompile.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles
[ 0%] Built target rosbuild_precompile
make -f CMakeFiles/XP_ROS_Plugin.dir/build.make CMakeFiles/XP_ROS_Plugin.dir/depend
cd /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles/XP_ROS_Plugin.dir/DependInfo.cmake --color=
make -f CMakeFiles/XP_ROS_Plugin.dir/build.make CMakeFiles/XP_ROS_Plugin.dir/build
/opt/local/bin/cmake -E cmake_progress_report /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles 1
[100%] Building CXX object CMakeFiles/XP_ROS_Plugin.dir/src/XP_ROS_Plugin.o
/usr/bin/c++ -DXP_ROS_Plugin_EXPORTS -D APL -m32 -D XPLM200 -D XPLM=1 -O2 -g -fPIC -I/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/include -I/Users/clayton/Documents/repository/ros/ros/core/roscpp/include -I/Users/clayton/Documents/repository/ros/ros/core/roscpp/msg_gen/cpp/include -I/Users/clayton/Documents/repository/ros/ros/core/roscpp/srv_gen/cpp/include -I/Users/clayton/Documents/repository/ros/ros/3rdparty/xmlrpcpp/src -I/Users/clayton/Documents/repository/ros/ros/std_msgs/include -I/Users/clayton/Documents/repository/ros/ros/std_msgs/msg_gen/cpp/include -I/Users/clayton/Documents/repository/ros/ros/core/rosconsole/include -I/Users/clayton/Documents/repository/ros/ros/core/roslib/include -I/Users/clayton/Documents/repository/ros/ros/core/roslib/msg_gen/cpp/include -I/Users/clayton/Documents/repository/ros/ros/tools/rospack -I/Users/clayton/Documents/repository/ros/ros/tools/rospack/include -I/Users/clayton/Documents/repository/ros/ros/3rdparty/gtest/gtest/include -I/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/xplane_sdk/Widgets -I/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/xplane_sdk/XPLM -DROS_PACKAGE_NAME='"xplane_plugin_node"' -W -Wall -Wno-unused-parameter -fno-strict-aliasing -pthread -arch i386 -o CMakeFiles/XP_ROS_Plugin.dir/src/XP_ROS_Plugin.o -c /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp: In function ‘float MyFlightLoopCallback(float, float, int, void*)’:
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp:60: warning: deprecated conversion from string constant to ‘char*’
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp: In function ‘int XPluginStart(char*, char*, char*)’:
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp:76: warning: deprecated conversion from string constant to ‘char*’
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp:78: warning: deprecated conversion from string constant to ‘char*’
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp:80: warning: deprecated conversion from string constant to ‘char*’
/Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/src/XP_ROS_Plugin.cpp:82: warning: deprecated conversion from string constant to ‘char*’
Linking CXX shared library lib/XP_ROS_Plugin.xpl
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/XP_ROS_Plugin.dir/link.txt --verbose=1
/usr/bin/c++ -D APL -m32 -D XPLM200 -D XPLM=1 -O2 -g -dynamiclib -headerpad_max_install_names -Wl,-rpath,/Users/clayton/Documents/repository/ros/ros/core/roscpp/lib -Wl,-rpath,/Users/clayton/Documents/repository/ros/ros/3rdparty/xmlrpcpp/lib -Wl,-rpath,/Users/clayton/Documents/repository/ros/ros/core/rosconsole/lib -Wl,-rpath,/Users/clayton/Documents/repository/ros/ros/core/roslib/lib -Wl,-rpath,/Users/clayton/Documents/repository/ros/ros/tools/rospack/lib -pthread -arch i386 -undefined dynamic_lookup -o lib/XP_ROS_Plugin.xpl -install_name /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/lib/XP_ROS_Plugin.xpl CMakeFiles/XP_ROS_Plugin.dir/src/XP_ROS_Plugin.o -L/Users/clayton/Documents/repository/ros/ros/core/roscpp/lib -L/Users/clayton/Documents/repository/ros/ros/3rdparty/xmlrpcpp/lib -L/Users/clayton/Documents/repository/ros/ros/core/rosconsole/lib -L/Users/clayton/Documents/repository/ros/ros/core/roslib/lib -L/Users/clayton/Documents/repository/ros/ros/tools/rospack/lib -L/Users/clayton/Documents/repository/ros/ros/3rdparty/gtest/gtest/lib -lros -lboost_signals-mt -lXmlRpc -lrosconsole -lboost_thread-mt -llog4cxx -lroslib -lrospack -lrosstack
ld: warning: in /Users/clayton/Documents/repository/ros/ros/core/roscpp/lib/libros.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libboost_signals-mt.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Users/clayton/Documents/repository/ros/ros/3rdparty/xmlrpcpp/lib/libXmlRpc.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Users/clayton/Documents/repository/ros/ros/core/rosconsole/lib/librosconsole.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libboost_thread-mt.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/liblog4cxx.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Users/clayton/Documents/repository/ros/ros/core/roslib/lib/libroslib.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Users/clayton/Documents/repository/ros/ros/tools/rospack/lib/librospack.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Users/clayton/Documents/repository/ros/ros/tools/rospack/lib/librosstack.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
/opt/local/bin/cmake -E cmake_progress_report /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles 1
[100%] Built target XP_ROS_Plugin
/opt/local/bin/cmake -E cmake_progress_start /Users/clayton/Documents/repository/ros/ua-ros-pkg/ua_bootstrapped_learning/xplane_plugin_node/CMakeFiles 0
---------------
CMakeLists.txt:
---------------
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set(XPLANE_SDK_ROOT "${PROJECT_SOURCE_DIR}/src/xplane_sdk")
set(OS_COMPILE_FLAGS "-D APL -m32")
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
include_directories("${XPLANE_SDK_ROOT}/Widgets")
include_directories("${XPLANE_SDK_ROOT}/XPLM")
set(CMAKE_C_FLAGS "${OS_COMPILE_FLAGS} -D XPLM200 -D XPLM=1")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
file(GLOB SRC_FILES "src/*.cpp")
set(ROS_COMPILE_FLAGS "${ROS_COMPILE_FLAGS} -arch i386") # -arch x86_64")
set(ROS_LINK_FLAGS "${ROS_LINK_FLAGS} -arch i386") # -arch x86_64")
rosbuild_add_library(XP_ROS_Plugin ${SRC_FILES})
target_link_libraries(XP_ROS_Plugin ${OSX_LIBRARIES})
set_target_properties(XP_ROS_Plugin PROPERTIES PREFIX "" SUFFIX ".xpl")