cancel
Showing results for 
Search instead for 
Did you mean: 

Linker errors while compiling any of sample project in STVD

kamil23
Associate II
Posted on January 15, 2010 at 19:09

Linker errors while compiling any of sample project in STVD

5 REPLIES 5
kamil23
Associate II
Posted on May 17, 2011 at 15:06

Hello,

I am looking for some help with the following issue:

Running Linker

clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\discover.sm8 -mDebug\discover.map Debug\discover.lkf

#error clnk Debug\discover.lkf:27 can't open file crtsi0.sm8

#error clnk Debug\discover.lkf:47 can't open file libis0.sm8

#error clnk Debug\discover.lkf:48 can't open file libm0.sm8

The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\discover.sm8 -mDebug\discover.map Debug\discover.lkf '' has failed, the returned value is: 1

exit code=1.

discover.elf - 5 error(s), 0 warning(s)

Same thing while trying to build ADC sample.

Help much appreciated.

Thank you!

kamil23
Associate II
Posted on May 17, 2011 at 15:06

Thank you mozra,

It appears that for some reason all of my tool paths contained a series of non alfanumeric characters at the end.

I was able to copy the setting from my colleague.

Many thanks!

Kamil

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

Well, whenever something says that it ''can't open'' a file, you have to ask yourself why - don't you?

Have you checked that these files exist on your PC?

If they do exist, have you checked that the tools are correctly configured to find them?

mozra27
Associate II
Posted on May 17, 2011 at 15:06

Hi,

you can update your cosmic path(Tools>Options>Toolset>Root path) as following C:\Program Files\COSMIC\CXSTM8_16K (remove Lib directory from the path)

Regards

mozra

brazov2
Associate II
Posted on May 17, 2011 at 15:06

Hi mozra27,

it seems this is a bug of latest STVD version:

STVD MainFrame Version 3.6.4.2 - Build Dec 17 2009

stvabbld.dll, Version: 1.3.3.0

stv7abbld.dll, Version: 1.4.3.0

STVD_TxtEditor.dll, Version: 1.0.2.5

addonide.ini, Version: Rel 4.0, Date: 19 February 2008

ProgrammerAddOn.dll, Version: 1.3.0.1

st7expor.dll, Version: 3.3.4.0

when migrating on this new version I had the same problem: I had to specify manually root path for Cosmic, and it was not the case before.

brazov2