Update on this problem: I can compile any valid C source from the command line with exactly the same command line string as in MPLAB, but only if I include the full path to the source file (obviously!). But I get the same "Unable to open" to message if I omit the path, so it looks to me like CC5X is not searching the MPLAB source path or MPLAB is supposed to add the path to the command line (and obviously doesn't). But I don't see how to fix either problem. -- Don French ----- Original Message ----- From: Don French To: Don French ; piclist@mit.edu Sent: Wednesday, January 17, 2007 9:46 PM Subject: [PIC] CC5X unable to open source file Man, my first post to the list and I screw up! Forgot the [PIC] tag the first time. Sorry! ----- Original Message ----- From: Don French To: piclist@mit.edu Sent: Wednesday, January 17, 2007 9:44 PM Subject: CC5X unable to open source file This has to be something incredibly stupid on my part, but I don't see it. I am using the free version of CC5X in MPLAB for the first time. I followed all the instructions that come with CC5X, or think I did. When I try to compile any program, including any of the included samples, it executes the compiler but says that it is unable to open the source file. I also tried moving the source to C:\ to eliminate any question of spaces in the path. I searched this list and the web for "CC5X Unable open file" but did not find anything relevant. I am running XP, for what it is worth. So, what am I missing? The Build Output: Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\bknd\CC5X\CC5X.EXE" 24g_232demo_V01.c -CC -fINHX8M -p16F88 -I"C:\Program Files\bknd\CC5X" -a -L -Q -V -FM CC5X Version 3.3, Copyright (c) B Knudsen Data, Norway 1992-2006 --> FREE edition, 8-16 bit int, 24 bit float, 1k code, reduced optim. Error : Unable to open file '24g_232demo_V01.c' Error options: -ew: no warning details -ed: no error details -eL: list details BUILD FAILED: Wed Jan 17 21:37:36 2007 -- Don French -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist