Renesas e2 studio (Eclipse-based IDE) fails to path correct during project compilation

Posted on

QUESTION :

I’ve been trying to use a new install of e2 studio. During compilation, the auto-generated Makefile fails path correctly.

The output of compilation is as follows.

make all 
The system cannot find the path specified.
'Building file: ../src/test.c'
make: *** [src/test.o] Error 1
src/subdir.mk:18: recipe for target 'src/test.o' failed

I believe this to be a problem with the program configuration though I can’t find where, or how.

I have tried to compare the configuration settings against the old install, build a barebones project from scratch (that produced the above error) using the automatically generated Makefile, and compiling programs I had written with the previous version.

Does anyone know what would be causing this and how to fix it?

Edit: This is the default PATH variable

C:Program Files (x86)GCC for Renesas RX 4.8.4.201902-SP1-GNURX-ELFrx-elfrx-elfbin;C:Program Files (x86)GCC for Renesas RX 4.8.4.201902-SP1-GNURX-ELFrx-elfrx-elflibexecgccrx-elf4.8.4.201902-GNURX;C:Renesase2_studioUtilities;C:/Renesas/e2_studio/eclipse//features/com.renesas.jre.win32.win32.x86_1.8.0.181/jre/bin/client;C:/Renesas/e2_studio/eclipse//features/com.renesas.jre.win32.win32.x86_1.8.0.181/jre/bin;C:/Renesas/e2_studio/eclipse//features/com.renesas.jre.win32.win32.x86_1.8.0.181/jre/lib/i386;C:Program Files (x86)GCC for Renesas RL78 4.9.2.201902-GNURL78-ELFrl78-elfrl78-elfbin;C:Program Files (x86)GCC for Renesas RX 4.8.4.201902-SP1-GNURX-ELFrx-elfrx-elfbin;C:Program Files (x86)GCC for Renesas RL78 4.9.2.201801-GNURL78-ELFrl78-elfrl78-elfbin;C:Program Files (x86)GCC for Renesas RX 4.8.4.201801-GNURX-ELFrx-elfrx-elfbin;C:Program Files (x86)GCC for Renesas RX 4.8.4.201803-GNURX-ELFrx-elfrx-elfbin;C:Program Files (x86)Common FilesOracleJavajavapath;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)GNU Tools ARM Embedded8 2019-q3-updatebin;C:Program Files (x86)GNU Tools ARM Embedded7 2017-q4-majorbin;C:Program Files (x86)GNU Tools ARM Embedded6 2017-q2-updatebin;C:Program Files (x86)GNU Tools ARM Embedded4.9 2015q3bin;C:ProgramDataAnaconda3;C:UsersjarneyAppDataLocalMicrosoftWindowsApps;C:Program Files (x86)GCC for Renesas RL78 4.9.2.201801-GNURL78-ELF;C:Program Files (x86)GCC for Renesas RX 4.8.4.201801-GNURX-ELF;C:Program Files (x86)GCC for Renesas RX 4.8.4.201803-GNURX-ELF;C:Program Files (x86)GCC for Renesas RX 4.8.4.201902-SP1-GNURX-ELF;C:Program Files (x86)GCC for Renesas RL78 4.9.2.201902-GNURL78-ELF;;C:Renesase2_studioeclipse

I’m also using ‘GCC for Renesas ***’.

ANSWER :

Following are Step that I use to create bare bone Test Project using E2Studio 7.5 for Renesas RX micro controller.

  1. File > New > C/C+ Project => Selected the following option

  1. Create a Test Project by creating a Project Name Test

  1. Make sure the correct tool chain is selected with the appropriated target device. In this example I selected RX130 80pin form factor. Select the Next option

  1. Make sure Smart Configurator is option is selected

  1. This should create an Empty Test Project as follows

  1. Select Project > C/C++ Project Setting => Then Selected Resources > Linked Resources and review the path variables

  1. Check C/C++ Build > Environment. The entries should look like something below.

  1. Finally select Project > Build All => Look for output similar to the one below

Hopefully this is helpful.