{"action":"created","issue":{"url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/18","labels_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/18/comments","events_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/18/events","html_url":"https://github.com/mjs513/FreeIMU-Updates/issues/18","id":57767800,"number":18,"title":"compile error for mpu9250","user":{"login":"rs132","id":11024838,"avatar_url":"https://avatars.githubusercontent.com/u/11024838?v=3","gravatar_id":"","url":"https://api.github.com/users/rs132","html_url":"https://github.com/rs132","followers_url":"https://api.github.com/users/rs132/followers","following_url":"https://api.github.com/users/rs132/following{/other_user}","gists_url":"https://api.github.com/users/rs132/gists{/gist_id}","starred_url":"https://api.github.com/users/rs132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs132/subscriptions","organizations_url":"https://api.github.com/users/rs132/orgs","repos_url":"https://api.github.com/users/rs132/repos","events_url":"https://api.github.com/users/rs132/events{/privacy}","received_events_url":"https://api.github.com/users/rs132/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-16T05:57:08Z","updated_at":"2015-02-16T15:15:43Z","closed_at":null,"body":"Hi guys,\r\n\r\nIn the FreeIMU.h file, I uncommented the following line:\r\n #define GEN_MPU9250  // Use for Invensense MPU-9250 breakout board \r\nAll other lines for different IMUs are still commented out.\r\n\r\nHowevre, while trying to compile, I get the following error:\r\nerror: 'mag' was not declared in this scope\r\n   mag.getHeading(&raw_values[6], &raw_values[7], &raw_values[8]);   \r\n   ^\r\n\r\nDoes anyone have any idea why this is happening? I am using arduino version 1.5.7 beta on windows 8.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/comments/74522836","html_url":"https://github.com/mjs513/FreeIMU-Updates/issues/18#issuecomment-74522836","issue_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/18","id":74522836,"user":{"login":"rs132","id":11024838,"avatar_url":"https://avatars.githubusercontent.com/u/11024838?v=3","gravatar_id":"","url":"https://api.github.com/users/rs132","html_url":"https://github.com/rs132","followers_url":"https://api.github.com/users/rs132/followers","following_url":"https://api.github.com/users/rs132/following{/other_user}","gists_url":"https://api.github.com/users/rs132/gists{/gist_id}","starred_url":"https://api.github.com/users/rs132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs132/subscriptions","organizations_url":"https://api.github.com/users/rs132/orgs","repos_url":"https://api.github.com/users/rs132/repos","events_url":"https://api.github.com/users/rs132/events{/privacy}","received_events_url":"https://api.github.com/users/rs132/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T15:15:43Z","updated_at":"2015-02-16T15:15:43Z","body":"I'm using the mega2560. Could it perhaps be how my libraries are configured? So, I presently have Arduino/libraries/... then all the libraries folders copied from the master file from github, specifically from the FreeIMU-Updates-master/libraries folder.\r\n\r\nIs this the same way that you added the libraries?"}}