A question about linking

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

A question about linking

1,134 Views
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!
Labels (1)
0 Kudos
2 Replies

282 Views
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 Kudos

282 Views
ykf23
Contributor I
Thank you very much. I have solved this problem.
0 Kudos