Skip to main content
sathishmnr2010
Associate
Dec 24, 2018 12:06 PM UTC
Question

Compiler Error

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

    After Forever
    Senior III
    Dec 24, 2018 12:28 PM UTC

    > FlexLM Feature has expired.

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

    sathishmnr2010
    Associate
    Dec 24, 2018 12:36 PM UTC

    Thanks for your valuable information,

    Where i will get it and how to update it,

    After Forever
    Senior III
    Dec 24, 2018 12:47 PM UTC

    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.

    sathishmnr2010
    Associate
    Dec 24, 2018 12:49 PM UTC

    ok thanks sir,