Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problem compiling Kevin Watson's code (http://www.chiefdelphi.com/forums/showthread.php?t=60896)

Spencer E. 06-01-2008 22:34

Problem compiling Kevin Watson's code
 
I have updated my IDE and C18 compiler to 3.10 but when I go to compiler I get this error:

Code:

MPLINK 4.1, Linker
Copyright (c) 2006 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors    : 1

The clib.lib file is located in C:\mcc18\lib which is the folder of libraries my IDE is pointing to. Does anyone have any idea what's wrong? I just tried to compile the code without editing it yet.

Spencer E. 06-01-2008 23:11

Re: Problem compiling Kevin Watson's code
 
Quote:

Originally Posted by Spencer E. (Post 670578)
I have updated my IDE and C18 compiler to 3.10 but when I go to compiler I get this error:

Code:

MPLINK 4.1, Linker
Copyright (c) 2006 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors    : 1

The clib.lib file is located in C:\mcc18\lib which is the folder of libraries my IDE is pointing to. Does anyone have any idea what's wrong? I just tried to compile the code without editing it yet.

Nevermind, I fixed the problem, sorry about that guys. You can delete this thread.

Kevin Watson 07-01-2008 00:34

Re: Problem compiling Kevin Watson's code
 
Quote:

Originally Posted by Spencer E. (Post 670616)
Nevermind, I fixed the problem, sorry about that guys. You can delete this thread.

To fix this problem you need to tell MPLAB where your C libraries are installed (mine are at c:\program files\microchip\mcc18\lib, but yours may be at c:\mcc18\lib). To specify the location select Project > Build Options... > Project > Directories tab > Select Library Search Path> enter the path.

-Kevin


All times are GMT -5. The time now is 23:19.

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