{"action":"created","issue":{"url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/4","repository_url":"https://api.github.com/repos/ATLFlight/cmake_hexagon","labels_url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/4/comments","events_url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/4/events","html_url":"https://github.com/ATLFlight/cmake_hexagon/issues/4","id":159437609,"number":4,"title":"Linking .so files","user":{"login":"raunaqbhirangi","id":12254239,"avatar_url":"https://avatars.githubusercontent.com/u/12254239?v=3","gravatar_id":"","url":"https://api.github.com/users/raunaqbhirangi","html_url":"https://github.com/raunaqbhirangi","followers_url":"https://api.github.com/users/raunaqbhirangi/followers","following_url":"https://api.github.com/users/raunaqbhirangi/following{/other_user}","gists_url":"https://api.github.com/users/raunaqbhirangi/gists{/gist_id}","starred_url":"https://api.github.com/users/raunaqbhirangi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raunaqbhirangi/subscriptions","organizations_url":"https://api.github.com/users/raunaqbhirangi/orgs","repos_url":"https://api.github.com/users/raunaqbhirangi/repos","events_url":"https://api.github.com/users/raunaqbhirangi/events{/privacy}","received_events_url":"https://api.github.com/users/raunaqbhirangi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-09T15:29:56Z","updated_at":"2016-06-13T21:55:01Z","closed_at":null,"body":"I'm trying to use the libsensor_imu.so file with my app. My QURT_BUNDLE function looks something like this.\r\n\r\nQURT_BUNDLE(APP_NAME imu_tester\r\n\tIDL_FILE imu_interface.idl\r\n\tDSP_SOURCES\r\n\t\tadsp_proc/libsensor_imu.so\r\n\tAPPS_SOURCES\r\n\t\tapps_proc/imu_tester.cpp\r\n\tAPPS_INCS\r\n\t\t-I../include\r\n\tAPPS_COMPILER arm-linux-gnueabihf-g++\r\n\t)\r\n\r\nIt gives me the following errors\r\nCMake Error: CMake can not determine linker language for target: imu_tester\r\nCMake Error: Cannot determine link language for target \"imu_tester\"."},"comment":{"url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/comments/225720671","html_url":"https://github.com/ATLFlight/cmake_hexagon/issues/4#issuecomment-225720671","issue_url":"https://api.github.com/repos/ATLFlight/cmake_hexagon/issues/4","id":225720671,"user":{"login":"rkintada","id":13911267,"avatar_url":"https://avatars.githubusercontent.com/u/13911267?v=3","gravatar_id":"","url":"https://api.github.com/users/rkintada","html_url":"https://github.com/rkintada","followers_url":"https://api.github.com/users/rkintada/followers","following_url":"https://api.github.com/users/rkintada/following{/other_user}","gists_url":"https://api.github.com/users/rkintada/gists{/gist_id}","starred_url":"https://api.github.com/users/rkintada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkintada/subscriptions","organizations_url":"https://api.github.com/users/rkintada/orgs","repos_url":"https://api.github.com/users/rkintada/repos","events_url":"https://api.github.com/users/rkintada/events{/privacy}","received_events_url":"https://api.github.com/users/rkintada/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T21:55:01Z","updated_at":"2016-06-13T21:55:01Z","body":"@raunaqbhirangi The sensor_imu_tester app is already on the platform and is in the path.  run as follows:\r\n%>sensor_imu_tester 10\r\n\r\nRegarding the usage for the API, there is some documentation in the user guide document at:\r\nhttp://support.intrinsyc.com/documents/124\r\n\r\nIn the particular case, there is not need for the use of QURT bundle as the SensorIMU.hpp/libsensor_imu.so warps all the idl and qurt compilation.  As long you have the arm-cross compilation setup, you should be able to compile the code as follows:\r\n\r\n=========\r\nEAGLE_ADDON_SRC ?= /opt/eagle_addon/flight_controller/\r\nEAGLE_ADDON ?= ${EAGLE_ADDON_SRC}/krait/libs\r\nEAGLE_INCS ?= ${EAGLE_ADDON_SRC}/krait/inc\r\nsensor_imu_test: sensor_imu_test.cpp\r\n${CXX} -o sensor_imu_test -D__STDC_FORMAT_MACROS -I${EAGLE_INCS} -L${EAGLE_ADDON} sensor_imu_test.cpp -lpthread -lrt -lsensor_imu\r\n======="}}
{"actor":{"display_login":"rkintada"}}