2013-09-18 04:49 AM
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)
2013-09-18 06:10 AM
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?