View unanswered posts | View active topics It is currently Tue Sep 02, 2014 7:41 pm






Reply to topic  [ 3 posts ] 
#include "drivers/hitechnic-irseeker-v2.h" Compile Errors 
Author Message
Rookie

Joined: Wed Oct 05, 2011 2:49 pm
Posts: 12
Post #include "drivers/hitechnic-irseeker-v2.h" Compile Errors
Please Help:

I've installed RobotC 3.55 Beta 2
I've installed Driver Suite 3.2.1
I've followed the instructions on Xander's website for modifying compiler include locations and adding.
I am unable to compile my code.
Thanks for any help.
Ethan

Here is the code I tried to compile:

#include "drivers/hitechnic-irseeker-v2.h"

task main()
{
// do nothing really interesting
}

Here are the error messages I receive:
File "Driver_test.c" compiled on Feb 12 2013 08:58:45
**Error**:'*' Indirection levels mismatch. Call to 'sendI2CMsg'. Parameter: 'char * pSendMsg' is 'error_array[0]' of type 'ubyte'.
**Error**:'*' Indirection levels mismatch. Call to 'sendI2CMsg'. Parameter: 'char * pSendMsg' is 'data[0]' of type 'ubyte'.
**Error**:'*' Indirection levels mismatch. Call to 'sendI2CMsg'. Parameter: 'char * pSendMsg' is 'data[0]' of type 'ubyte'.
**Error**:'*' Indirection levels mismatch. Call to 'readI2CReply'. Parameter: 'char * pReplyBytes' is 'data[0]' of type 'ubyte'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Not enough parameters specified. Call to 'writeI2C'. Parameter: 'short replylen' is 'None specified'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'.
**Error**:Array size mismatch. Call to 'writeI2C'. Parameter: 'short replylen' is 'HTIRS2_I2CReply' of type 'tByteArray'


Tue Feb 12, 2013 12:04 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3211
Location: Rotterdam, The Netherlands
Post Re: #include "drivers/hitechnic-irseeker-v2.h" Compile Error
You need to uninstall ROBOTC completely, delete any contents still left in the C:\Program Files(x86)\RoboMatter (or wherever it was installed) directory and reinstall ROBOTC. I've seen this issue before.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Feb 12, 2013 1:48 pm
Profile WWW
Rookie

Joined: Wed Oct 05, 2011 2:49 pm
Posts: 12
Post Re: #include "drivers/hitechnic-irseeker-v2.h" Compile Error
yup. just did that and was going to post that i fixed..
thanks for your timely response, it worked.


Tue Feb 12, 2013 1:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.