cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot compile with Cosmic

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

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,

#stm8 #stvd #compiler #cosmic
1 REPLY 1
luca239955_stm1_st
Senior II
Posted on February 26, 2016 at 09:57

Hello,

the error message means the compiler cannot find the license it needs.

Possible causes are

- you did not copy to the /lic directory the license file sent by Cosmic

- you have more than one Cosmic stm8 compiler installed on your computer.

Hope it helps.

Regards,

Luca