|
Page 1 of 1
|
[ 3 posts ] |
|
#include "drivers/hitechnic-irseeker-v2.h" Compile Errors
| Author |
Message |
|
ethanTesla
Rookie
Joined: Wed Oct 05, 2011 2:49 pm Posts: 12
|
 #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 |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2865 Location: Rotterdam, The Netherlands
|
 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
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Tue Feb 12, 2013 1:48 pm |
|
 |
|
ethanTesla
Rookie
Joined: Wed Oct 05, 2011 2:49 pm Posts: 12
|
 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 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 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
|
|