Setting up IDE environment for SDK


I am trying to set up the environment for c/c++ projects in HOST and then copy them to target.

I followed this link, and I could compile a simple hello world program by sourcing the environment file as indicated in the procedure.

  1. CC, CXX, etc, only works from CLI if shell is bash, it doesn’t work with zsh.

        zsh: no such file or directory: arm-fslc-linux-gnueabi-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/fslc-framebuffer/2.6.2/sysroots/armv7at2hf-neon-fslc-linux-gnueabi

  1. If I use Eclipse, the latest version (2019-03+) is not compatible with Yocto Project Plugin.

  1. If I download Eclipse Helios, as it says here, when I try to run it, I get the following error:

    !SESSION 2019-08-27 15:39:46.727 -----------------------------------------------
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.linuxtools.product
    Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.linuxtools.product
    !ENTRY org.eclipse.osgi 4 0 2019-08-27 15:39:47.173
    !MESSAGE Application error
    !STACK 1
    java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
            at java.base/java.lang.reflect.Method.invoke(
            at org.eclipse.equinox.launcher.Main.invokeFramework(
            at org.eclipse.equinox.launcher.Main.basicRun(
            at org.eclipse.equinox.launcher.Main.main(
  1. If I use Netbeans (which is my preferred IDE) I cannot make it work.

The Toradex SDK is designed to work with the bash shell, and we provide support for the Eclipse IDE, as described here -

Most likely, you can make it work with other shells or IDEs, however this is beyond the scope of Toradex support.