Skip to main content
iangel
Associate
January 7, 2010
Question

compiler error with STVD and Cosmic

  • January 7, 2010
  • 6 replies
  • 4166 views
Posted on January 07, 2010 at 11:01

compiler error with STVD and Cosmic

    This topic has been closed for replies.

    6 replies

    iangel
    iangelAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 15:06

    Hello

    I work with stm8s-discovery evaluation board.

    My Processor: ST8S105.

    Workspace: STVD

    and Cosmic compiler.

    I try to compile my project based on 16499.PDF

    and I Receive the following error:

    ----------- Project movment_watch - STM8 Cosmic - Configuration Debug -------------

    Removing intermediate files ... Done!

    ----------- Project movment_watch - STM8 Cosmic - Configuration Debug -------------

    Compiling main.c...

    cxstm8 -itslib -ifwlib +debug -pxp -no -l +mods0 -pp -i''C:\Program Files\COSMIC\CXSTM8_16K\Hstm8'' -clDebug\ -coDebug\ main.c

    #error cpstm8 C:\Program Files\COSMIC\CXSTM8_16K\Hstm8\mods0.h:0 FlexLM Invalid host

    main.c:

    The command: ''cxstm8 -itslib -ifwlib +debug -pxp -no -l +mods0 -pp -i''C:\Program Files\COSMIC\CXSTM8_16K\Hstm8'' -clDebug\ -coDebug\ main.c '' has failed, the returned value is: 1

    exit code=1.

    movment_watch.elf - 3 error(s), 0 warning(s)

    I would be happy to accept a solution

    iangel
    iangelAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 15:06

    Hi

    Yes, I have the licence.

    but I think I know whay I get ERROR

    it becose I get the licence on my computer and I try to build the project on anather computer.

    Does that make sence?

    st3
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 15:06

    Quote:

    FlexLM Invalid host

    FlexLM is the licence manager - isn't it?

    Are you sure you have properly licensed your Cosmic?

    mozra27
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    ;) you can do it, but you can specify your network path

    run the command regedit and in the HKEY_LOCAL_MACHINE>Software>FLEXlm License Manager folder create new file:

    - Value name: COSMIC_LICENSE_FILE

    - Value data: your server when you have the license

    Regards

    mozra

    iangel
    iangelAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    Thank you everyone

    Help very

    Itzik

    luca239955_st
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    what mozra says is true, but is probably too complex for what you want to do: since the 16k license is free anyway, just request one for every PC you want to work on.

    Regards,

    Luca