cancel
Showing results for 
Search instead for 
Did you mean: 

compiler error with STVD and Cosmic

iangel
Associate II
Posted on January 07, 2010 at 11:01

compiler error with STVD and Cosmic

6 REPLIES 6
iangel
Associate II
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

st3
Associate II
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?

iangel
Associate II
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?

luca239955_st
Associate III
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

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

Thank you everyone

Help very

Itzik

mozra27
Associate II
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