A question about linking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

A question about linking

1,651件の閲覧回数
ykf23
Contributor I
Hi, I use FuzzyTech to design a fuzzy controller.I followed the steps mentioned in the FuzzyTech manual,but when I using Freescale CodeWarrior(CW for HC12 V4.6) to debug, a link error message come out saying " cannot open FTC16.lib",which is the library I generate using GNU. What should I do to solve this problem? I am a student with with just some basic C language training so if these question seem stupid, show some sympathy ! Thank you very much!
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

799件の閲覧回数
CrasyCat
Specialist III

Hello

 

I am not an expert in FuzzyTech, but it looks like you are missing a library file FTC16.lib.

This is probably delivered by FuzzyTech.

 

On a side note I would not recommend linking an library file generated by GNU compiler with object files generated by CodeWarrior compiler.

Here I would recommend you to build the whole application (including library) with one set of compiler/assembler/linker (either GNU or CodeWarrior).

 

You should be able to debug code generated by GNU compiler/linker in CodeWarrior (provided GNU tool generate ELF DWARF executable file).

 

If you wish to build everything with CodeWarrior, I would suggest you to ask People at FuzzyTech what is their recommendations.

 

I hope this helps. 

CrasyCat

0 件の賞賛
返信

799件の閲覧回数
ykf23
Contributor I
Thank you very much. I have solved this problem.
0 件の賞賛
返信