{"action":"created","issue":{"url":"https://api.github.com/repos/going-digital/Talkie/issues/9","labels_url":"https://api.github.com/repos/going-digital/Talkie/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/going-digital/Talkie/issues/9/comments","events_url":"https://api.github.com/repos/going-digital/Talkie/issues/9/events","html_url":"https://github.com/going-digital/Talkie/issues/9","id":60187483,"number":9,"title":"Error compiling ","user":{"login":"Dsk128","id":11359421,"avatar_url":"https://avatars.githubusercontent.com/u/11359421?v=3","gravatar_id":"","url":"https://api.github.com/users/Dsk128","html_url":"https://github.com/Dsk128","followers_url":"https://api.github.com/users/Dsk128/followers","following_url":"https://api.github.com/users/Dsk128/following{/other_user}","gists_url":"https://api.github.com/users/Dsk128/gists{/gist_id}","starred_url":"https://api.github.com/users/Dsk128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dsk128/subscriptions","organizations_url":"https://api.github.com/users/Dsk128/orgs","repos_url":"https://api.github.com/users/Dsk128/repos","events_url":"https://api.github.com/users/Dsk128/events{/privacy}","received_events_url":"https://api.github.com/users/Dsk128/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-07T03:09:22Z","updated_at":"2015-04-06T16:14:25Z","closed_at":null,"body":"Hi, I'm having problems when I tried to compile the examples codes. \r\n\r\nBuild options changed, rebuilding all\r\nIn file included from /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0,\r\n                 from Vocab_US_TI99.ino:19:\r\nVocab_US_TI99.ino:32:31: error: variable 'spARE' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nVocab_US_TI99.ino:138:31: error: variable 'spHELLO' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nVocab_US_TI99.ino:299:31: error: variable 'spTEXAS_INSTRUMENTS' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nVocab_US_TI99.ino:304:31: error: variable 'spTHE' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nVocab_US_TI99.ino:309:31: error: variable 'spTHESE' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nVocab_US_TI99.ino:367:31: error: variable 'spWORDS' must be const in order to be put into read-only section by means of '__attribute__((progmem))'\r\nError compiling.\r\n\r\nIs this issue related to my Arduino version (1.60). I'm on OSX 10.9.5. I hope you can help me, thanks."},"comment":{"url":"https://api.github.com/repos/going-digital/Talkie/issues/comments/90128136","html_url":"https://github.com/going-digital/Talkie/issues/9#issuecomment-90128136","issue_url":"https://api.github.com/repos/going-digital/Talkie/issues/9","id":90128136,"user":{"login":"assadollahi","id":8688758,"avatar_url":"https://avatars.githubusercontent.com/u/8688758?v=3","gravatar_id":"","url":"https://api.github.com/users/assadollahi","html_url":"https://github.com/assadollahi","followers_url":"https://api.github.com/users/assadollahi/followers","following_url":"https://api.github.com/users/assadollahi/following{/other_user}","gists_url":"https://api.github.com/users/assadollahi/gists{/gist_id}","starred_url":"https://api.github.com/users/assadollahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assadollahi/subscriptions","organizations_url":"https://api.github.com/users/assadollahi/orgs","repos_url":"https://api.github.com/users/assadollahi/repos","events_url":"https://api.github.com/users/assadollahi/events{/privacy}","received_events_url":"https://api.github.com/users/assadollahi/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T16:14:25Z","updated_at":"2015-04-06T16:14:25Z","body":"hi sylvainf,\r\n\r\ni tried your fix, changed this in the \"getting started\" example:\r\n\"const uint8_t spDANGER[] PROGMEM = {0x2D, 0xBF, 0x21, 0x92, 0x59,...\"\r\nand tried to change in the talkie.cpp, but in line 91 there is no such line. \r\nthus, i changed the one in 97 from\r\n\"setPtr(addr);\"\r\nto\r\n\"setPtr((uint8_t*) addr);\"\r\nin the talkie::say routine\r\n\r\nhowever, then i get this error:\r\n\r\nerror: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]\r\nIn file included from talkie_demo1.ino:14:0:\r\n\\Arduino\\libraries\\Talkie/talkie.h:15:8: error:   initializing argument 1 of 'void Talkie::say(uint8_t*)' [-fpermissive]\r\n   void say(uint8_t* address);\r\n\r\n\r\ndon't know what to do now. any ideas?"}}