{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/695","repository_url":"https://api.github.com/repos/platformio/platformio","labels_url":"https://api.github.com/repos/platformio/platformio/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/695/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/695/events","html_url":"https://github.com/platformio/platformio/issues/695","id":160051517,"number":695,"title":"Building not possible, because constants like PI or OUTPUT can't be found","user":{"login":"tennismichel","id":19916778,"avatar_url":"https://avatars.githubusercontent.com/u/19916778?v=3","gravatar_id":"","url":"https://api.github.com/users/tennismichel","html_url":"https://github.com/tennismichel","followers_url":"https://api.github.com/users/tennismichel/followers","following_url":"https://api.github.com/users/tennismichel/following{/other_user}","gists_url":"https://api.github.com/users/tennismichel/gists{/gist_id}","starred_url":"https://api.github.com/users/tennismichel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennismichel/subscriptions","organizations_url":"https://api.github.com/users/tennismichel/orgs","repos_url":"https://api.github.com/users/tennismichel/repos","events_url":"https://api.github.com/users/tennismichel/events{/privacy}","received_events_url":"https://api.github.com/users/tennismichel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platformio/labels/help%20wanted","name":"help wanted","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2016-06-13T21:41:01Z","updated_at":"2016-06-14T18:10:57Z","closed_at":null,"body":"\r\n------------------------------------------------------------------\r\n\r\n### Configuration\r\n\r\n**Operating system**: OSX 10.11.4\r\n\r\n**PlatformIO Version** (`platformio --version`): latest\r\n\r\n### Description of problem\r\nWhen I want to build my project or any other project that worked previously, I get a lot of errors that all look kind of like the following..\r\n\r\n.pioenvs/genuino101/FrameworkArduino/WCharacter.h:43:8: error: 'boolean' does not name a type\r\ninline boolean isHexadecimalDigit(int c) attribute((always_inline));\r\n\r\n.pioenvs/genuino101/FrameworkArduino/WCharacter.h:135:8: error: 'boolean' does not name a type\r\ninline boolean isUpperCase(int c)\r\n\r\nAdditionally I can see that constants like PI or OUTPUT for the PIN Mode are not found or recognized.\r\n\r\nThe code shouldn't be the problem. It's working on other Mac's with Platformio and it has been working with mine earlier, too. Tried to reinstall the whole IDE, but it's still not working. \r\n\r\n\r\n\r\n### If problems with PlatformIO Build System:\r\n\r\n**The content of `platformio.ini`:** \r\n```\r\n[env:genuino101]\r\nplatform = intel_arc32\r\nframework = arduino\r\nboard = genuino101\r\n```\r\n\r\n**Source file to reproduce issue:**\r\n-main:\r\n[Quadro_main.txt](https://github.com/platformio/platformio/files/312768/Quadro_main.txt)\r\n-one of  the header files:\r\n[RotorControl.txt](https://github.com/platformio/platformio/files/312769/RotorControl.txt)\r\n\r\n-main again:\r\n```cpp\r\n#include \"Arduino.h\"\r\n#include <Timer.h>\r\n#include \"sensorfuse.h\"\r\n#include \"PIDControl.h\"\r\n#include \"RotorControl.h\"\r\n#include \"HeightControl.h\"\r\n#include \"ConstantData.h\"\r\n\r\n//declare Timer object\r\nTimer t;\r\nIMU imu;\r\nPIDControl pidController;\r\nRotorControl rotors;\r\n\r\n//declare necessary Variabels\r\nfloat targetPosition[3] = {0,0,0}; //reference_angle\r\nfloat targetHeight;\r\n\r\nvoid timerUpdate(){\r\n  imu.update(SAMPLE_RATE);\r\n  pidController.update(rotors.RotorSignal, imu.rot, imu.rot_vel, targetPosition, SAMPLE_RATE);\r\n  rotors.update();\r\n}\r\nvoid updateSerial(){\r\n}\r\n\r\nvoid setup(){\r\n  //Start Serial and wait for connection\r\n  Serial.begin(38400);\r\n  while(!Serial);\r\n\r\n   //calibrate sensors\r\n  imu.startAndCalibrate();\r\n  pidController.set(); //calibrate PID_Regler to forget integrated sum (I)\r\n  pidController.initializeSerialConnection();\r\n  rotors.initialize(); //set Rotors and ESCs to PINs and initialize\r\n  rotors.start();\r\n\r\n  //Set timer event, that calls updateIMU every SAMPLE_RATE milliseconds\r\n  t.every(SAMPLE_RATE,timerUpdate);\r\n}\r\n\r\nvoid loop(){\r\n  t.update();\r\n}\r\n\r\nvoid serialEvent(){\r\n  pidController.setConstantsViaSerial();\r\n}\r\n```\r\n### Additional info\r\n"},"comment":{"url":"https://api.github.com/repos/platformio/platformio/issues/comments/225967386","html_url":"https://github.com/platformio/platformio/issues/695#issuecomment-225967386","issue_url":"https://api.github.com/repos/platformio/platformio/issues/695","id":225967386,"user":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T18:10:57Z","updated_at":"2016-06-14T18:10:57Z","body":"Hmm... Please open PlatformIO IDE and PlatformIO IDE Terminal and run this \r\n```\r\npio serialports list\r\n```\r\n\r\nThanks."}}
{"actor":{"display_login":"ivankravets"}}