GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-Feb-2006, 17:10
PeteGallo PeteGallo is offline
New Member
 
Join Date: Aug 2005
Posts: 20
PeteGallo is on a distinguished road

Cannot open include file ? 'can.h'


Hello Members,

I receive this build error when compiling:

c:\Program Files\CAN\samples\canopen\slave\asyncio.c(9) : fatal error C1083: Cannot open include file: 'can.h': No such file or directory

The API that I am using explains:

" In order to access the CAN from own projects by means of the API functions described in chapter 3,
the header file can.h has only to be included into the source texts and the file calcan32.lib has to be
linked with the project. "

I have added the can.h in my source and linked the calcan32.lib but still I receive this error.

Please Help
Pete Gallo
  #2  
Old 26-Feb-2006, 19:34
PeteGallo PeteGallo is offline
New Member
 
Join Date: Aug 2005
Posts: 20
PeteGallo is on a distinguished road

Re: Cannot open include file ? 'can.h'


Hello,

Can anyone give me some direction on this, I am stuck. Maybe if somone could give me a breif discription on how to properly link header files with MS Visual C++ .net 2003.

Thank You,
Pete gallo
  #3  
Old 26-Feb-2006, 22:19
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,245
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: Cannot open include file ? 'can.h'


Quote:
Originally Posted by PeteGallo
I receive this build error when compiling:

c:\Program Files\CAN\samples\canopen\slave\asyncio.c(9) : fatal error C1083: Cannot open include file: 'can.h': No such file or directory
You have to specify the location of the can.h file as well, or add it to the list of directories the compiler searches for system headers.
__________________

Age is unimportant -- except in cheese
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 4) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Airport Log program using 3D linked List : problem reading from file batrsau C Programming Language 11 29-Feb-2008 07:44
fltk-2.0 cvs Plumb FLTK Forum 20 13-Nov-2004 07:10
help with classes bucho MS Visual C++ / MFC Forum 3 20-Oct-2004 06:16
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.