This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I Need help for build a C runtime library

Hello,

At my school I perform a fuzzy logic systeme on AT89S8252 microcontroller.

I need help for build a library with fuzzytech C source files.

All C source files have one fonction

All C source files start with line: #include "ftlibc.h"

For each C source files I have this following error when I try to build my
library projet:

Build target 'Target 1'
assembling STARTUP.A51...
compiling HCOM.C...
C:\KEIL\C51\INC\FTLIBC.H(190): error C129: missing ';' before '*'
Target not created

Please help me

You can answer me to: holy_spirit_knight@yahoo.ca

Parents
  • The Keil compiler doesn't run on an 8051, either, but instead has the look and feel of a Windows app. That doesn't mean that the output it produces won't run on an 8051.

    Same with the fuzzyTECH stuff. The design tools run on Windows. They spit out code that you then build for your target platform, which need not be capable of running Windows or the design and analysis routines.

    If their library code doesn't build with Keil, then it's probably a question best directed to fuzzyTECH's tech support. A quick glance at their header file might give you a clue as to what's going wrong; you might beat their tech support to an answer.

Reply
  • The Keil compiler doesn't run on an 8051, either, but instead has the look and feel of a Windows app. That doesn't mean that the output it produces won't run on an 8051.

    Same with the fuzzyTECH stuff. The design tools run on Windows. They spit out code that you then build for your target platform, which need not be capable of running Windows or the design and analysis routines.

    If their library code doesn't build with Keil, then it's probably a question best directed to fuzzyTECH's tech support. A quick glance at their header file might give you a clue as to what's going wrong; you might beat their tech support to an answer.

Children
  • "That doesn't mean that the output it produces won't run on an 8051."

    Yep - missed that completely!

    So, probably the first question for the original poster to answer is: are you sure that you have correctly configured the stuff to generate 8051 code at all, and Keil C51 code in particular?

  • C:\KEIL\C51\INC\FTLIBC.H(190): error C129: missing ';' before '*'

    My psychic abilities lead me to believe the problem may be located on or before line 190 somewhere prior to a * character. I get the feeling that a semicolon character needs to be added there. I can't explain where I get that "vibe". It just came to me. :-)

    Jon