Log in

View Full Version : user_Serialdrv.h


team 803
21-02-2006, 09:12
C:\mcc18\New Folder\user_routines.c:20:Error [1027] unable to locate 'user_Serialdrv.h'
Halting build on first failure as requested.
BUILD FAILED: Tue Feb 21 08:37:32 2006

I have searched around my computer and cannot find this file.

team 803
21-02-2006, 09:35
Anyone have an idea where I can get it.

team 803
21-02-2006, 09:46
Nevermind, friend had it on a floppy, now, another error came up.

MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'Serial_Driver_Initialize' in file 'C:\mcc18\New Folder\user_routines.o'.
Errors : 1

Keith Watson
21-02-2006, 12:44
When I search the default code I find 'Serial_Driver_Initialize' declared in user_serialdrv.h and defined in user_serialdrv.c. When you copied the .h file did you also copy the .c file?

team 803
21-02-2006, 12:56
yes

steven114
21-02-2006, 15:06
Remove the offending .o file (or do a clean) and rebuild - sometimes the dependency tracker doesn't work right, I've found.

Keith Watson
21-02-2006, 23:50
Do that .c and .h show in the workspace window? If not then the .c won't be built.