cancel
Showing results for 
Search instead for 
Did you mean: 

STM32373C_Eval - How do I move my program to another folder without errors?

robcrann
Associate II
Posted on September 18, 2013 at 13:49

We have an STM32373C_Eval Evaluation Kit.

We have modified it to add 2 folders to the .CPROJECT folder, 'CraneCppHeader, and

'CraneCppSource'

.

We modified the 'Project, Build Settings, C/C++General, Paths and Symbols' to add:

../../../../Projects/Virtual_COM_Port/TrueSTUDIO/STM32373C-EVAL/CraneCppHeader

../../../../Projects/Virtual_COM_Port/TrueSTUDIO/STM32373C-EVAL/CraneCppSource It ran fine.

Now we changed the initial folder name from 'STM32_USB-FS-Device_Lib_V4.0.0' to

'STM32_USB-FS-Device_Lib_V4.0.0 - CopyUSARTWorking18092013'

Unfortunately the program refused to compile - The message:

'fatal error: 160_globalram_0a.h: No such file or directory usb_desc.c /STM32373C-EVAL/User line 32 C/C++ Problem' appeared.

Why is this, when the Include Directories were correctly added before the folder rename?

Thanks

Rob

 (Code sent if required, too big for Forum)

1 REPLY 1
dibs
Associate II
Posted on September 18, 2013 at 15:10

It sounds like you are trying to access library files in directories above the one that holds your project file. This is normally a natural thing to do. Does your compiler/linker use relative references to search for files?