V5 Compiler community license for MDK Community

Hi I have installed the MDK Community edition which has the V6 compiler but I am trying to learn how to run some sample code that was written using v5 to run a10" TFT.

I get:          startup_stm32f429_439xx.s: The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.

This is after downloading and installing the legacy V5 compiler.

If I try to compile using V6 compiler I get: 

Rebuild target 'SOM-STM32F429IG'
compiling AsciiLib.c...
../USER/stm32f4xx_it.c(31): warning: In file included from...
../USER/stm32f4xx_it.h(37): warning: In file included from...
../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(470): warning: In file included from...
../Libraries/CMSIS/Include\core_cm4.h(169): warning: In file included from...
../Libraries/CMSIS/Include\core_cmInstr.h(325): error: unknown type name 'inline'
325 | __attribute__( ( always_inline ) ) __STATIC_INLINE void __NOP(void)
| ^
../Libraries/CMSIS/Include\core_cm4.h(96): note: expanded from macro '__STATIC_INLINE'
96 | #define __STATIC_INLINE static inline
| ^
../USER/stm32f4xx_it.c(31): warning: In file included from...
../USER/stm32f4xx_it.h(37): warning: In file included from...
../Libraries/CMSIS/Device/ST/STM32F4xx/Include\stm32f4xx.h(470): warning: In file included from...
../Libraries/CMSIS/Include\core_cm4.h(169): warning: In file included from...
../Libraries/CMSIS/Include\core_cmInstr.h(336): error: unknown type name 'inline'
336 | __attribute__( ( always_inline ) ) __STATIC_INLINE void __WFI(void)
| ^