{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/434","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/434/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/434/events","html_url":"https://github.com/espressif/arduino-esp32/issues/434","id":235100289,"number":434,"title":"Odd problem with eclipse","user":{"login":"NickWaterton","id":11572327,"avatar_url":"https://avatars1.githubusercontent.com/u/11572327?v=4","gravatar_id":"","url":"https://api.github.com/users/NickWaterton","html_url":"https://github.com/NickWaterton","followers_url":"https://api.github.com/users/NickWaterton/followers","following_url":"https://api.github.com/users/NickWaterton/following{/other_user}","gists_url":"https://api.github.com/users/NickWaterton/gists{/gist_id}","starred_url":"https://api.github.com/users/NickWaterton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickWaterton/subscriptions","organizations_url":"https://api.github.com/users/NickWaterton/orgs","repos_url":"https://api.github.com/users/NickWaterton/repos","events_url":"https://api.github.com/users/NickWaterton/events{/privacy}","received_events_url":"https://api.github.com/users/NickWaterton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-11T23:49:42Z","updated_at":"2017-10-03T09:07:34Z","closed_at":null,"author_association":"NONE","body":"I'm using Arduino-esp32 as a component in eclipse. I know this isn't really an issue here, but was hoping for some pointers.\r\n\r\nIf I run make from the mingGW command line, all builds correctly, if I run it from eclipse, everything compiles, but the linker complains about an undefined reference to setup() and loop() - which are defined in my program (a .cpp file). The make being run from eclipse is exactly the same make as is run from the command line (as far as I can tell) - they both run the same makefile.\r\n\r\nOnce I've built from the command line, I can build/flash from eclipse (unless I make clean).\r\n\r\nI'm missing something here, there are many tutorials on how to get esp32 to build in eclipse, and they are all out of date or different. Has anyone seen this before?\r\n\r\nI notice that setup() and loop() are defined as extern \"C\", and I'm defining them in a .cpp file - is that a factor? Do I need some preprocessor's or something?\r\n\r\nIf I disable the Arduino configuration in menuconfig, I get the same problem with loopTask(), even though I have defined loopTask() (I comment it out normally, and use the built in). This all compiles/links/flashes properly from the command line, it's just eclipse that has the problem.\r\n\r\nAny suggestions as to where the problem is? I'm using the Arduino version of eclipse (and if I set up a project as an Arduino type, it works just fine, this is only a problem if I use Arduino-esp32 as an esp32-Idf component).\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/comments/333783767","html_url":"https://github.com/espressif/arduino-esp32/issues/434#issuecomment-333783767","issue_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/434","id":333783767,"user":{"login":"far5893","id":6616232,"avatar_url":"https://avatars0.githubusercontent.com/u/6616232?v=4","gravatar_id":"","url":"https://api.github.com/users/far5893","html_url":"https://github.com/far5893","followers_url":"https://api.github.com/users/far5893/followers","following_url":"https://api.github.com/users/far5893/following{/other_user}","gists_url":"https://api.github.com/users/far5893/gists{/gist_id}","starred_url":"https://api.github.com/users/far5893/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/far5893/subscriptions","organizations_url":"https://api.github.com/users/far5893/orgs","repos_url":"https://api.github.com/users/far5893/repos","events_url":"https://api.github.com/users/far5893/events{/privacy}","received_events_url":"https://api.github.com/users/far5893/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T09:07:34Z","updated_at":"2017-10-03T09:07:34Z","author_association":"NONE","body":"Hi can you explai how to install esp32 to slober eclipse ?\r\nI'm using esp8266 and all work right but with esp8266 i have json link  esp32 require git clone? "}}
{"actor":{"display_login":"far5893"}}