Software Archive
Read-only legacy content
17061 Discussions

Creating or duplicating Eclipse Project

Anonymous
Not applicable
3,934 Views

Hi everyone. I have spent 7 hours trying to get a simple copy or new IoT project working, i have followed the info in the code examples, the documentation in the tutorial and nothing works. Does anyone have an real tutorial on how to do this please I am almost ready to give up with the Eclipse IDE, how can something as simple as creating or copying a project be so hard ?

0 Kudos
24 Replies
NagaVenkat_K_Intel
620 Views

Sorry about that Adam. The link might got updated.

0 Kudos
Bradford_N_Intel
Employee
620 Views

I'm seeing similar problems: The Eclipse that I get when I run the launcher.bat file doesn't match the screen shots in the Getting Started Guide.

I'm running Windows 8.1

  1. Starting at the Feb 2015 announcement of IoT Dev Kit v1.0: https://software.intel.com/en-us/blogs/2015/02/20/intel-iot-developer-kit-v10-is-here
  2. I browsed to https://software.intel.com/en-us/iot   By the way, the link in the annoucement took me to an empty page at software.intel.com/en-us/blogs/2015/02/20/software.intel.com/iot
  3. At https://software.intel.com/en-us/iot, I clicked on "Download The Software", which took me to https://software.intel.com/en-us/iot/downloads
  4. From there I scrolled down to the "Dev Environment Download Options for Intel® Galileo and Intel® Edison" "C/C++ (Eclipse)" section, and clicked the button labeled "Download Windows (401MB)"
  5. That downloaded iotdk-ide-win.7z
  6. When I unzipped that file with 7-zip, it resulted in a tree that contained devkit-launcher.bat, and devkit-x86, eclipse-win, and iot-devkit folders.
  7. I went back to https://software.intel.com/en-us/iot and clicked the link labeled "Getting Started Guides >"
  8. On the resulting page, under Step 4: Try it out, I clicked on "Eclipse* (C/C++)", which took me to https://software.intel.com/en-us/articles/getting-started-with-eclipse-on-intel-iot-platforms#launch
  9. As instructed on that page, I double-clicked by devkit-launcher.bat
  10. From that point on, the screen shots in the guide don't look anything like my launched Eclipse. The code samples and setup are there, but the Eclipse Help menu doesn't have an entry labeled anything like "Intel® IoT Developer Kit". When I try to create a new project, there are no templates for remote IoT projects.

Following other instructions I found elsewhere, on debugging embedded Linux apps using Eclipse and the Remote System Explorer, I was able to successfully run the C++ onboard Blink example. Now I'm a bit stumped as to how to create my own project without a template.

By the way, Help->About Eclipse reports the following: Eclipse IDE for C/C++ Developers    Version: Kepler Service Release 2    Build id: 20140224-0627. Searching the Plugins in that dialog shows nothing by Intel or named anything like IoT.

I suspect the Windows Eclipse IoT download isn't correct.

Any help would be wonderful.

Thanks,

Brad Needham

 

0 Kudos
NagaVenkat_K_Intel
620 Views

Hi Bradford,

You need to download the Windows 64-bit installation program for the Intel Edison development board. Please do follow the latest getting started which will get you the guided windows installer. 

The new Intel Edison Windows* Installer:

  • Installs Intel® Edison drivers
  • Downloads and installs the Intel Edison firmware
  • Downloads and installs IDEs such as Arduino*, Eclipse* and Intel® XDK IoT Edition

Else if you would like to download the installer please click the button Windows* 64-bit (21 MB) in yellow.

IoT_Install.png

Regards,

Raghu Kona

0 Kudos
Bradford_N_Intel
Employee
620 Views

Rahgu,

Your note and screenshot were lifesavers! I've now successfully downloaded the right Eclipse combined installer for Edison, used it to build a new app based on the Onboard Blink C++ template, and downloaded and ran that app on my Edison from Eclipse. I was so excited to see the light blink!

A few notes for those who follow on:

  1. Browse to the IoT Developer Kit home page: https://software.intel.com/en-us/iot
  2. Ignore for now the link labeled "Getting Started Guides >". As of March 16, 2015, that pointed to obsolete guides.
  3. Instead, click "Download the Software" (lower-left part of the screen). 
  4. On the resulting page, ignore for now the section marked "Dev Environment Download Options for Intel® Galileo and Intel® Edison". As of March 16, 2015, that pointed to obsolete instructions/downloads.
  5. Instead, in the section marked Intel® Edison Updates, click on the link marked Windows* 64-bit (21MB) >
  6. A file named iotdk_win_installer.exe will be downloaded. That is the combined installer for all the Edison support (drivers, Arduino IDE, and Eclipse for IoT Dev Kit).
  7. Run the downloaded installer, which will guide you through the installation of the Intel Arduino IDE, the Edison Drivers, and Eclipse for IoT Dev Kit.
    1. When the components list appears, check the Eclipse and IoTDK components (which weren't checked by default)
    2. There's a bit-confusing simultaneous install that occurs, uninstalling the Edison driver if you have one. Just follow the extra installer/uninstaller's prompts and you'll be ok.
  8. I got an error about not being able to detect the Edison drive. I power-cycled the Edison and the drive appeared. Unfortunately, the install didn't offer to retry, so it didn't reinitialize my Edison installation - not a problem.  I imagine this happened because I'd done some configuration of my Edison before the install, and the install is designed for a clean, out-of-the-box Edison.
  9. Once the install is stopped at "Next Steps" you can safely exit the installer.

Thanks again for your pointers,
Brad
(I happen to work at Intel, but not in the groups developing the Edison/Galileo/IoT products. My notes are those of a user; not of an Intel representative.)

0 Kudos
Reply