OCCRA
Go to Post I'll try to sum up the icon and compile thing quickly so as not to interrupt the design of SkyNet. - Greg McKaskle [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-10-2006, 07:09 AM
Joshua Lynn Joshua Lynn is offline
Registered User
FRC #0423 (SEC Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Elkins Park, PA
Posts: 16
Joshua Lynn is on a distinguished road
File inclusion issue:

Add a .h file in the File Inclusion dialog does not seem to make the file appear in the code window as a #include

using a .h seems to be the only way to easily include structures and external functions that aren't in a .lib

How do you link other .c files for functions written elsewhere
Reply With Quote
  #2   Spotlight this post!  
Unread 02-10-2006, 07:34 AM
koenig3456 koenig3456 is offline
Programming Coach
None #0681 (EARTH Squad)
Team Role: Coach
 
Join Date: Jan 2006
Location: Pennsylvania
Posts: 16
koenig3456 is an unknown quantity at this point
Re: File inclusion issue:

The header files that you add to the file inclusion dialog are put into main.h.

You can link other .o files (.o files are what you get after compiling .c files) by adding them to the linker script used by EasyC. Just add FILES commands into the script following the existing ones. If you installed EasyC in the default location, the linker script for the 2006 RC is Crogram FilesIntelitekeasyC for FRCFrc18f872218f8722.lkr.
Reply With Quote
Reply


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
.hex file too large for 2004 controller? AL_E Programming 6 01-21-2006 09:54 PM
C HELP PLEASE sglegend11 Programming 4 11-14-2005 08:35 PM
heres the code. y this not working omega Programming 16 03-31-2004 02:18 PM
Dashv2.ocx dependency file now available archiver 2000 0 06-23-2002 09:00 PM
A file size issue Funkymunkey90 3D Animation and Competition 2 02-05-2002 01:50 PM


All times are GMT -5. The time now is 05:12 AM.

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


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