Skip to main content
Visitor II
December 24, 2018
Question

Compiler Error

  • December 24, 2018
  • 4 replies
  • 3189 views

while building the project i'm getting below error, Kindly guide us to solve this issue,..

----------- Project discover - STM8 Cosmic - Configuration Debug -------------

Compiling ..\..\src\stm8s_it.c...

cxstm8 -i..\..\..\..\..\mail_sent +mods0 +debug -pxp -no -pp -l -dSTM8S003 -i..\..\..\..\libraries\stm8s_stdperiph_driver\inc -i..\..\inc -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ ..\..\src\stm8s_it.c

#error cpstm8 C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8\mods0.h:1 FlexLM Feature has expired.

..\..\src\stm8s_it.c:

 The command: "cxstm8 -i..\..\..\..\..\mail_sent +mods0 +debug -pxp -no -pp -l -dSTM8S003 -i..\..\..\..\libraries\stm8s_stdperiph_driver\inc -i..\..\inc -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ ..\..\src\stm8s_it.c" has failed, the returned value is: 1

exit code=1.

discover.elf - 2 error(s), 0 warning(s)

    This topic has been closed for replies.

    4 replies

    Visitor II
    December 24, 2018

    > FlexLM Feature has expired.

    You have Cosmic software registration/licensing issues. FlexLM is the protection software they are using for licensing their product.

    Visitor II
    December 24, 2018

    Thanks for your valuable information,

    Where i will get it and how to update it,

    Visitor II
    December 24, 2018

    I don't really know, never used Cosmic.

    But I think if you don't have a licence and were using the evaluation version then you have two options: either buy the full version or uninstall the evaluation version and download/install the free version at http://cosmicsoftware.com/download_stm8_32k.php

    It seems at some point in 2016 they made the STM8 version of their toolchain completly free, so maybe your version was older.

    Visitor II
    December 24, 2018

    ok thanks sir,