Go to Post ... six weeks, it's too long, but not long enough. - Stillen [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2005, 14:15
hawk_11's Avatar
hawk_11 hawk_11 is offline
FIRST Survivor
None #9999
 
Join Date: Jan 2005
Rookie Year: 2000
Location: USA
Posts: 18
hawk_11 is an unknown quantity at this point
clib.lib not being read

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?

Last edited by hawk_11 : 13-02-2005 at 14:52.
  #2   Spotlight this post!  
Unread 13-02-2005, 15:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: clib.lib not being read

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
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 13-02-2005, 15:57
hawk_11's Avatar
hawk_11 hawk_11 is offline
FIRST Survivor
None #9999
 
Join Date: Jan 2005
Rookie Year: 2000
Location: USA
Posts: 18
hawk_11 is an unknown quantity at this point
Re: clib.lib not being read

Quote:
Originally Posted by Mark McLeod
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
MPLink Error cloudago Programming 2 01-02-2005 23:00
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
programming error agenova Programming 1 20-02-2002 13:00
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46


All times are GMT -5. The time now is 03:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi