Log in

View Full Version : yet another programming error


hawk_11
13-02-2005, 14:15
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mplink.exe" "18f8520user.lkr" "C:\2005 Files\main.o" "C:\2005 Files\ifi_utilities.o" "C:\2005 Files\ifi_startup.o" "C:\2005 Files\printf_lib.o" "C:\2005 Files\user_routines_fast.o" "C:\2005 Files\user_routines.o" "C:\2005 Files\ifi_library.lib" "C:\mcc18\lib\clib.lib" /o"default code.cof"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors : 1

BUILD FAILED: Sun Feb 13 14:10:14 2005


clib.lib is not being found when it is right in the project. I compiled clib.lib and it says it is a syntax error. Fixing this syntax error leads to another, then another, and so on. Is this program defective?

Mark McLeod
13-02-2005, 15:08
clib.lib should NOT be in the project folder. If it is you are not using the compiler correctly.

The MPLAB library path may not be set correctly.

Under Project -> Build Options -> Project
make sure the Library Path is set to where you have the compiler installed, e.g., c:\mcc18\lib

hawk_11
13-02-2005, 15:57
clib.lib should NOT be in the project folder. If it is you are not using the compiler correctly.

The MPLAB library path may not be set correctly.

Under Project -> Build Options -> Project
make sure the Library Path is set to where you have the compiler installed, e.g., c:\mcc18\lib


thanks, everything's up and running again