Skip to main content
Visitor II
February 26, 2016
Question

Cannot compile with Cosmic

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

    2 replies

    Visitor II
    June 8, 2016
    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 !

    harrisAuthor
    Visitor II
    October 5, 2016
    Posted on October 05, 2016 at 15:05

    Hi Ritesh,

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