cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error 2 on building project

MVerm.2
Associate III

0693W000007DKiWQAW.jpgHi,

I created a new project using the GUI and after pressing the Build button, I always get below information on the Console window.

The development board I'm using is STM32F407VET6 Black Board.

20:47:42 **** Incremental Build of configuration Debug for project ProjectOne ****

make -j2 all 

arm-none-eabi-gcc -o "ProjectOne.elf" @"objects.list"  -mcpu=cortex-m4 -T"E:\antiQue`s Stuff\Projects\STMicro Cube\ProjectOne\STM32F407VETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="ProjectOne.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

c:/st/stm32cubeide_1.5.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_1.5.0.202011040924/tools/bin/sh: syntax error: EOF in backquote substitution

make: *** [makefile:59: ProjectOne.elf] Error 2

"make -j2 all" terminated with exit code 2. Build might be incomplete.

20:47:43 Build Failed. 1 errors, 0 warnings. (took 796ms)

Please help me with this. It has been happening since I installed the IDE to get started. Not able to even try LED blinking.

1 ACCEPTED SOLUTION

Accepted Solutions
Emin Yagmahan
Associate II

Possibly, the error could be caused by your project path. Your path contains special characters (`).

"E:\antiQue`s Stuff\Projects\STMicro Cube\ProjectOne\STM32F407VETX_FLASH.ld"

Renaming the folder might be helpful.

View solution in original post

3 REPLIES 3
Emin Yagmahan
Associate II

Possibly, the error could be caused by your project path. Your path contains special characters (`).

"E:\antiQue`s Stuff\Projects\STMicro Cube\ProjectOne\STM32F407VETX_FLASH.ld"

Renaming the folder might be helpful.

Pavel A.
Evangelist III

> -T"E:\antiQue`s Stuff\Projects

Your path contains backquote and spaces. Who actively looks for problems, gets them.

-- pa

This resolved the issue.

Thank you So much @Community member​