{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/767","repository_url":"https://api.github.com/repos/intel-iot-devkit/mraa","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/767/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/767/events","html_url":"https://github.com/intel-iot-devkit/mraa/issues/767","id":237032807,"number":767,"title":"Building mraa on yocto","user":{"login":"Respekt1","id":12272957,"avatar_url":"https://avatars3.githubusercontent.com/u/12272957?v=4","gravatar_id":"","url":"https://api.github.com/users/Respekt1","html_url":"https://github.com/Respekt1","followers_url":"https://api.github.com/users/Respekt1/followers","following_url":"https://api.github.com/users/Respekt1/following{/other_user}","gists_url":"https://api.github.com/users/Respekt1/gists{/gist_id}","starred_url":"https://api.github.com/users/Respekt1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Respekt1/subscriptions","organizations_url":"https://api.github.com/users/Respekt1/orgs","repos_url":"https://api.github.com/users/Respekt1/repos","events_url":"https://api.github.com/users/Respekt1/events{/privacy}","received_events_url":"https://api.github.com/users/Respekt1/received_events","type":"User","site_admin":false},"labels":[{"id":102845454,"url":"https://api.github.com/repos/intel-iot-devkit/mraa/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-19T21:43:36Z","updated_at":"2017-08-10T18:00:16Z","closed_at":null,"body":"Hello Community,\r\n\r\nI 'am trying to build mraa for a custom yocto build. The processor is the same as beaglebone black. On \r\ntarget and crosscompilation I get the error:\r\n\r\n```bash\r\n/opt/poky/2.1.3/mraa/build⟫ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake ..             \r\n-- INFO - libmraa Version v1.7.0-40-ge0052ac\r\n-- INFO - cmake Version 3.5.1\r\n-- INFO - Target arch is armv7\r\n-- INFO - Adding onewire backend support\r\n-- INFO - Adding support for platform ALL\r\n-- INFO - Adding support for all platforms\r\nINFO - Adding ARM platforms\r\nCMake Warning at src/CMakeLists.txt:186 (message):\r\n  Enabled JSONPLAT but JSON-C library not found: Ignoring JSONPLAT\r\n\r\n\r\nPYTHON2 attempting to build!\r\nERROR - node.h not found\r\nERROR - v8.h not found\r\nERROR - uv.h not found\r\nCMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):\r\n  Could NOT find Nodejs (missing: NODEJS_INCLUDE_DIRS)\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)\r\n  cmake/modules/FindNodejs.cmake:55 (find_package_handle_standard_args)\r\n  src/javascript/CMakeLists.txt:1 (find_package)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/opt/poky/2.1.3/mraa/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/opt/poky/2.1.3/mraa/build/CMakeFiles/CMakeError.log\".\r\n```\r\n\r\nHow can I solve the NODEJS_INCLUDE_DIRS? \r\n\r\nThanks for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments/321627856","html_url":"https://github.com/intel-iot-devkit/mraa/issues/767#issuecomment-321627856","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/767","id":321627856,"user":{"login":"alext-mkrs","id":6135723,"avatar_url":"https://avatars2.githubusercontent.com/u/6135723?v=4","gravatar_id":"","url":"https://api.github.com/users/alext-mkrs","html_url":"https://github.com/alext-mkrs","followers_url":"https://api.github.com/users/alext-mkrs/followers","following_url":"https://api.github.com/users/alext-mkrs/following{/other_user}","gists_url":"https://api.github.com/users/alext-mkrs/gists{/gist_id}","starred_url":"https://api.github.com/users/alext-mkrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alext-mkrs/subscriptions","organizations_url":"https://api.github.com/users/alext-mkrs/orgs","repos_url":"https://api.github.com/users/alext-mkrs/repos","events_url":"https://api.github.com/users/alext-mkrs/events{/privacy}","received_events_url":"https://api.github.com/users/alext-mkrs/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T18:00:16Z","updated_at":"2017-08-10T18:00:16Z","body":"@Respekt1, is this still actual?"}}
{"actor":{"display_login":"alext-mkrs"}}