Skip to main content
Visitor II
August 20, 2020
Question

How to fix Cosmic Compile Error(FlexLM No such feature exists)

  • August 20, 2020
  • 2 replies
  • 1613 views

I want to develop an STM8 device using STVD + Cosmic Compiler.

Compiler was installed with the license received by Cosmic, and the license was copied to the License folder in the Cosmic Compiler installation path (C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\License).

When creating the STVD project, the Compile Tool (STM8 Cosmic) and path were set as follows.

Toolchain-STM8 Cosmic

Toolchan root-C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8

It doesn't seem to be a problem in the setting part, but if you compile after creating the project, the following error occurs.

Compiling main.c...

cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ main.c

#error cpstm8 C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8\mods0.h:1 FlexLM No such feature exists.

main.c:

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

exit code=1.

If anyone has solved such a problem, please help.

    This topic has been closed for replies.

    2 replies

    Graduate II
    August 21, 2020

    I've had same problem. I've wrote mail to Cosmic and they answer that i'am using old version of compiler. I've download latest version and install it. At the end of process, instalator gives me option to register compiler by web. After that i've received licence file, copy that into Licence folder and everything runs.

    Visitor II
    April 24, 2021

    Hello,

    I have the same problem. Has anyone solved this? I also reinstalled cosmic but i get the same error.

    I appreciate any help.

    Best regards,

    Vouria