Skip to main content
Visitor II
February 26, 2016
Question

Cannot compile with Cosmic

  • February 26, 2016
  • 1 reply
  • 916 views
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
    This topic has been closed for replies.

    1 reply

    Visitor II
    February 26, 2016
    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