| |||||
Technical Support Support Resources
Product Information | µVISION: SOURCE BROWSER PROBLEMS WITH OBJECT DIRECTORYInformation in this article applies to:
SYMPTOMSI am using µVision and trying to use the source browser. The source browser works OK when I select the Browse Information check box in the Output tab of the Project Options. However, when I select a directory to use for my object files AND when I enable Browse Information, µVision responds with the following error message... Can't open file 'C:\KEIL\C51\EXAMPLES\TEST\TESTCODE' What's wrong? CAUSEWhen you select a directory for your object files, µVision puts the OBJ files as well as the absolute object file created by the linker in that directory. The problem here is that the source browser is not looking in that directory. This is a problem that will be corrected in a subsequent release. Check http://www.keil.com/update/ for the latest updates. RESOLUTIONOne work-around for this problem is to specify the path for the executable that is generated. If you place the executable file (the output from the linker) in the project path, the source browser will be able to find it. If your project path is: C:\KEIL\C51\EXAMPLES\TEST\ And, if your obj file path is: C:\KEIL\C51\EXAMPLES\TEST\OBJ\ Then, enter the following path for the Name of Executable in the Output tab of the Project Options: ..\TESTCODE This assumes that your output file is named TESTCODE. SEE ALSOLast Reviewed: Tuesday, June 29, 2004 | ||||
| |||||