AC6 + CubeMX include problems
I don’t know if CubeMX generate correct initialization code under Linux. Maybe you can ask ST support for this.
Checking the release notes for STM32CubeMX v4.10.0 only Windows is listed as supported OS
Supported operating systems and architectures
Windows® XP: 32-bit (x86)
Windows® 7: 32-bit (x86), 64-bit (x64)
Windows® 8: 32-bit (x86), 64-bit (x64)
Software requirements
The Java Run Time Environment 1.7 (version 1.7_45 or newer) must be installed. More
information on installation requirements and procedure can be found in the STM32CubeMX
User Manual (UM1718).
For Eclipse plug-in installation only, install one of the following IDE (on Windows OS):
Eclipse IDE Juno (4.2)
Eclipse IDE Luna (4.4)
Eclipse IDE Kepler (4.3)
here is the link http://www.st.com/st-web-ui/static/active/en/resource/technical/document/release_note/DM00107607.pdf
If this helps, RCC_OscInitTypeDef is defined in file stm32f4xx_hal_rcc.h This file is located where CubeMX downloaded the HAL libraries, e.g:
..\STM32Cube_FW_F4_V1.8.0\Drivers\STM32F4xx_HAL_Driver\Inc
From what I know CubeMX will copy those files in the same directory where .ioc project is located (from what I remeber).
I looked on the make files from one project but this was not generated using CubeMX. On the files I check all paths use “/” except the linker script that use “" (-T”..\STM32F401VEHx_FLASH.ld”)
In Debug directory you have one general makefile then in each subdirectory another makefile. You can take a look inside of this makefiles how the paths looks like.