I have installed C51 V7.00, µVision 2.30 under W98. My problem is: If I try to translate any 'C' file under µVision2 IDE it don't work (no translation is done.) Project Build, re-buld or 'A51' translation works properly. If I try to translate same 'C' files out of IDE, it works OK. Is there anyone who can advice or hint me. TIA Vaclav Korecek
Does anything happen? Do you see any messages? Are your tool paths all correct? Are your file extensions setup correctly? Do the example projects build?
Please send your problem report to support. (for example: support.intl@keil.com). We really need to examine your installation since your problem is not typical.
Andrew, thank you for your reply. "Does anything happen? Do you see any messages?" - No happen, no message. "Are your tool paths all correct?" - It uses default "TOOLS.ini" file and I don't change it. It's OK. "Are your file extensions setup correctly?" - I checked it in µV2 IDE and it's OK, I think. "Do the example projects build? " - Yes. "Build target" works properly and create "EXE" file. In my case: I have imported 4 µVision1 projects to µV2 and µV2 "Build" creates "EXE" file for all projects. One of them I create also as a "New project..." and situation is same. I cannot translate 'C' source under µV2 IDE "only", but it is really problem for me. Regards, Vaclav
"I cannot translate 'C' source under µV2 IDE "only", but it is really problem for me." You do realise that you must add the 'C' file to a Project before you can translate it? You cannot simply load a 'C' source file into uVision and translate it - that's not the way it works!
Andrew, thank you for your reply. "You do realise that you must add the 'C' file to a Project before you can translate it?" It is misunderstanding I think due to my bad English. The 'C' source files which I try to translate are included in a project. It doesn't work with the original Keil example programs like "Hello" as well. Problem is: I can't generate OBJ and LST files under uV2 IDE (Menu: "Project->Translate file.c"). It works if I translate the 'C' source from the command line. I sent the problem to the Keil support and it is in the progress at the moment. Vaclav
"Menu: 'Project->Translate file.c'" In my uVision v2.23, the Project->Translate menu item, and the 'Translate' toolbar button are disabled (greyed-out) unless the current editor window contains a translatable file (.c, .a51, etc) To translate a source file without first opening it in an editor window, right-click it in the Project window, and choose 'Translate' from the pop-up menu. Does that help?
"In my uVision v2.23, the Project->Translate menu item, and the 'Translate' toolbar button are disabled (greyed-out) unless the current editor window contains a translatable file (.c, .a51, etc)" In my uVision v2.30 I have disabled Translate items (Pop-Up menu in the Project window or Main roll-down menu) when all source files are closed. (The IDE editor is without any openned "SRC" file). The translate item is activated if any source file is openned in IDE editor and it display the file name and path. I try to translate a 'C' source file if its window is acivated in the uV2 IDE editor. I am afraid but neither pop-up menu nor roll-down menu translation of a single 'C' source in a project don't work on my PC. Keil Support guess: "there seems to be a problem with this option on some computers only. Please let me know which Operating System you are using." I use Win98SE and I can't change it at the moment. Tahnk you, Vaclav.