|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 C rogram FilesIntelitekeasyC for FRCFrc18f872218f8722.lkr. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .hex file too large for 2004 controller? | AL_E | Programming | 6 | 21-01-2006 22:54 |
| C HELP PLEASE | sglegend11 | Programming | 4 | 14-11-2005 21:35 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| Dashv2.ocx dependency file now available | archiver | 2000 | 0 | 23-06-2002 22:00 |
| A file size issue | Funkymunkey90 | 3D Animation and Competition | 2 | 05-02-2002 14:50 |