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
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?
Posted on May 17, 2011 at 15:07what 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
;) 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