We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi. I am getting the C129 error. It is a bit odd b/c it is telling me that i need a ";" before the class name i declared "class Sched {". There is no code before this class declaration; it is at the top of the file. What may help is that i recently installed the CEIBO EC++ patch to the uVision C51 evaluation software. Thanks in Advance.
Sure seems that way (see relevant section of the readme below). You can find out more by going to http://www.ceibo.com and hunt around there. They have a 8051 C++ compiler for Keil there. Using Keil uVision2 Demo Version as an IDE/Debugger for Ceibo EC++ ================================================================== 1. Activate Keil uVision2. Open one of the sample projects located in the folder %KEIL%\C51\EXAMPLES\ECPP. %KEIL% is an installation folder of Keil uVision2 (by default it is C:\KEIL). Try first with the project "DynAlloc". 2. Build a sample project you have opened. 3. Select Debug->Start Debug Session. To build your own C++ project from within Keil uVision2 follow these steps: =========================================================================== 1. Select Project->New Project from the main menu. In the dialog "Select Device for Target" mark the checkbox "Use Extended Linker (LX51) instead of BL51" and choose some device for your target. 2. Enter Project->File Extensions, Books and Environment->File Extensions. The textbox "C Source File" should contain the value *.c;*.cpp (by default it contains only *.c). 3. Add the non-existing file "project_lnk.obj" to your project. It will be generated further during the compilation stage. If your target file is not an absolute but a library, add the non-existing file LIBRARYNAME_lnk.obj instead of the "project_lnk.obj". LIBRARYNAME is your real library name. 4. Add any amount of C++, C and assembly files to your project. Each C++ file should have the extension ".cpp". 5. If you are going to use any standard include file(s) from one or more of your source C++ files: Enter Project->File Extensions, Books and Environment->Environment Setup. In the opened dialog unmark the checkbox "Use Settings from TOOLS.INI". In the textbox "INC Folder" choose the folder %CEIBOC++%\INC. 6. If you have included any standard C++ library to your project: Enter Project->File Extensions, Books and Environment->Environment Setup. In the opened dialog unmark the checkbox "Use Settings from TOOLS.INI". In the textbox "LIB Folder" choose the folder %KEIL%\C51\LIB\ECPP. These libraries are designated for the linker LX51, while the libraries located in %CEIBOC++%\LIB should be used by the linker BL51. 7. Save the project. 8. Build the project and start a debug session.