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
I don't think anybody but the body you got that library from can possibly help you with that, unless you show the line of source referenced by the error message (ftlibc.h, line 190). Is there a particular reason that makes you sure this library can actually work on an 8051?
http://www.keil.com/forum/docs/thread3532.asp
"Is there a particular reason that makes you sure this library can actually work on an 8051?" I can't see one at http://www.fuzzytech.com In fact it says, "fuzzyTECH follows the familiar look&feel of the latest generation of MS Window 2000 and MS Office 2000 software products." http://www.fuzzytech.com/e/ftpo.html Which sounds like a pretty conclusive reason to be quite certain that it will definitely not work on an 8051! (but you knew that already, didn't you...)
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.
"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