Go to Post I just want to see Aerial Assist again. Played on Lunacy regolith. With minibot poles. Which are on coopertition bridges. Is that too much to ask for? ;) - M. Lillis [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-01-2008, 20:42
ebowla's Avatar
ebowla ebowla is offline
The Overmind
FRC #2016
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Ewing High School
Posts: 15
ebowla is on a distinguished road
That darned clib.lib

After poring over numerous errors... NOT EVEN CODE ERRORS! I'm using default 2007 code trying to get it to compile, but I had a large number of problems. After fixing many of them, I have narrowed it down to 1. I get the stupid error that MPLAB couldnt find clib.lib. I have MPLAB 7.20 and C18 2.40. I did a search on my entire computer for all *.lib files. Only 12 hits thankfully, but I did not have the clib.lib anywhere.

Could someone direct me to where I can get this clib.lib? where to put it? Or anything that might fix my problem that I wasn't thinking of.

Thanks.
__________________
Progamming Master
Disclaimer: May not be actually as good as claimed, not reliable for advice, and shirks away any real work.
  #2   Spotlight this post!  
Unread 13-01-2008, 21:27
Richard McClellan's Avatar
Richard McClellan Richard McClellan is offline
Engineering Mentor
FRC #0254 (Cheesy Poofs)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 322
Richard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud of
Send a message via AIM to Richard McClellan
Re: That darned clib.lib

I had that same problem about a month ago. It has to do with MPLab not recognizing the compiler. I was getting the message because I installed MPLab after the C18 compiler, and you really need to do it in the other order.

There might be a way to fix it by changing something in your build options or something, but I don't know what exactly, so I uninstalled the C18 compiler, and reinstall it, and it worked.
__________________
~ Richard McClellan ~
Former Student on 1477 | Northside Roboteers | 2004-2005
Former Lead Mentor for 2158 | ausTIN CANs | 2007-2010
Current Mentor for 254 | Cheesy Poofs | 2013
  #3   Spotlight this post!  
Unread 13-01-2008, 21:31
baop858 baop858 is offline
Registered User
FRC #0069 (Hyper)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Quincy, MA
Posts: 25
baop858 will become famous soon enough
Send a message via AIM to baop858
Re: That darned clib.lib

By default it's C:\mcc18\lib if it isn't there, I would suggest reinstalling the c18 complier.
  #4   Spotlight this post!  
Unread 13-01-2008, 22:04
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: That darned clib.lib

You usually get this error if your MPLAP project doesn't have the right library path set.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
  #5   Spotlight this post!  
Unread 13-01-2008, 22:11
comphappy comphappy is offline
Registered User
AKA: Brennan Ashton
FRC #2605 (A2D_16)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Bellingham, WA
Posts: 157
comphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to behold
Send a message via AIM to comphappy
Re: That darned clib.lib

Quote:
Originally Posted by baop858 View Post
By default it's C:\mcc18\lib if it isn't there, I would suggest reinstalling the c18 complier.
You need to go to the project menu then build options then project
On the directory tab select Library Search Path, create a new one that points to the mcc18\lib folder where ever that may be, it might be in C:\Program Files\ or just under C:\
  #6   Spotlight this post!  
Unread 14-01-2008, 18:31
ebowla's Avatar
ebowla ebowla is offline
The Overmind
FRC #2016
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Ewing High School
Posts: 15
ebowla is on a distinguished road
Re: That darned clib.lib

I uninstalled it and reinstalled it and finally I have clib.lib. I checked before I uninstalled and I DID NOT have a lib folder in my mcc18 folder which was under C:\Program files\Microchip\mcc18\....and then nothing useful.

I dont know how it happened but fixed now.
__________________
Progamming Master
Disclaimer: May not be actually as good as claimed, not reliable for advice, and shirks away any real work.
  #7   Spotlight this post!  
Unread 17-01-2008, 11:30
John Hooper John Hooper is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Here
Posts: 14
John Hooper can only hope to improve
Re: That darned clib.lib

Quote:
Originally Posted by comphappy View Post
You need to go to the project menu then build options then project
On the directory tab select Library Search Path, create a new one that points to the mcc18\lib folder where ever that may be, it might be in C:\Program Files\ or just under C:\
You, my friend, have just saved me an enormous amount of time and aggravation! Works perfectly now. Thanks.
  #8   Spotlight this post!  
Unread 20-01-2008, 20:07
rpgcubed's Avatar
rpgcubed rpgcubed is offline
Registered User
AKA: Nick
FRC #2456 (Recycle-It!)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Marin
Posts: 4
rpgcubed is an unknown quantity at this point
Re: That darned clib.lib

Thank you so much! I wasted three hours working on this.
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
FIRST Inventor lib? Tottanka Inventor 17 26-09-2007 20:55
help with clib.lib nirvanapunk1015 Programming 1 10-02-2007 10:46
WHERE IS ifi_library.lib ?? LieAfterLie Programming 0 02-02-2007 17:53
That darned Rule DQ11 archiver 2000 5 23-06-2002 22:28


All times are GMT -5. The time now is 18:43.

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