Go to Post We don't do battle bots, but we play hard. - Gdeaver [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 12-02-2008, 10:10
sonnguyen sonnguyen is offline
Registered User
FRC #1405
 
Join Date: Feb 2008
Location: Rochester
Posts: 17
sonnguyen is an unknown quantity at this point
Problem with p18cxxx.h and stdio.h

C:\2008\sensor_30\ifi_frc.h:31:Error [1027] unable to locate 'p18cxxx.h'
C:\2008\sensor_30\serial_ports.h:48:Error [1027] unable to locate 'stdio.h'

I got this problem when I tried to compile the codes. I used the orignial code and there was no such files like those two.

How can I solve this problem ?
  #2   Spotlight this post!  
Unread 12-02-2008, 10:42
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Problem with p18cxxx.h and stdio.h

Check default location of include files in MPLAB.

Project->Build Options->Project, make sure Include Path points to the location of mcc18\h. Of course this assumes that you are using MPLAB - other build environments are probably different.

The mcc18 on my system is located on E:\ drive, but most systems have the compiler suite on C:\ drive. You can use the browse function to locate the mcc18\h directory.
Attached Thumbnails
Click image for larger version

Name:	Project.JPG
Views:	194
Size:	46.3 KB
ID:	6258  
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
Problem with easy c pro and mechanum wheels pbrules15 Programming 9 03-02-2007 20:38
Help! unable to locate 'p18cxxx.h' ducttapehaxor Programming 1 24-01-2006 16:13
stdio.h complilation error reilly Programming 4 01-02-2005 20:49
Problem with reading and writing EEPROM DKolberg Programming 4 16-03-2004 19:29
Problem with communicating with STAMP through serial port Skabana159 Technical Discussion 2 06-02-2003 21:10


All times are GMT -5. The time now is 09:21.

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