cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot compile with Cosmic

harris
Associate II
Posted on February 26, 2016 at 03:20

Hi,

I'm trying to use the Cosmic 32K compiler in ST Visual develop and having created a completely new project with no additional code in, I can't compile it. I can't compile using Idea either.

My error is:

&sharperror cpstm8 C:\Program Files (x86)\COSMIC\32K_Compilers\CXSTM8\Hstm8\mods0.h:1 FlexLM No such feature exists.

main.c:

 The command: ''cxstm8 +debug -pxp -no -l +mods0 -pp -i''C:\Program Files (x86)\COSMIC\32K_Compilers\CXSTM8\Hstm8''  -clDebug\ -coDebug\ main.c '' has failed, the returned value is: 1

exit code=1.

Could anybody advise me on how to solve this?

Thanks,

#stvd-cosmic-compiler-stm8l
2 REPLIES 2
Mehta.Ritesh
Associate II
Posted on June 08, 2016 at 08:44

Did you set the toolset root path in the STVP project?

You can find this in the Project Settings -> General tab -> Toolset info -> Tick the checkbox for ''Project specific toolset path''. Then in the box below will be activated where you can provide the path for installation folder of Cosmic compiler.

Good luck !

harris
Associate II
Posted on October 05, 2016 at 15:05

Hi Ritesh,

After re-requesting the license, all is well now! Thank you for your response.