i downloaded the driver suite and i was going to set it upbut in my ROBOTC directory tab there isn't a user include path option to link my3rd party driver folder

was it moved in ROBOTC version 3.5(i downloaded the update today)

Sun Nov 04, 2012 5:51 pm

rho

Rookie

Joined: Fri Sep 21, 2012 2:28 pmPosts: 1

Re: 3rd party drivers setup

Yes, I'm having the same problem. I was able to install under RobotC 3.52, but I just updated to 3.54 and under "Detailed Preferences", "Directories", there's no longer a window to specify "Directory for user 'include' files for platform 'NXT'.

In fact there are only 4 windows on that preferences page, instead of the 7 depicted in Xander's Driver Suite Tutorial. Is there a way to migrate back to 3.52?

Sun Nov 04, 2012 6:00 pm

Coin3

Rookie

Joined: Fri Nov 04, 2011 10:56 pmPosts: 3

Re: 3rd party drivers setup

I was surprised by this change as well. Xander's blog says that RobotC 3.54 now has version 3.1 of his drivers already installed...?

I got it to work by changing the first window "Directory for Source Files" to the "rdpartyrobotcdr-3.1" folder.

Sun Nov 04, 2012 6:32 pm

ninerNation

Rookie

Joined: Sun Nov 04, 2012 5:30 pmPosts: 6

Re: 3rd party drivers setup

thank you so muchit works

Sun Nov 04, 2012 6:59 pm

maths222

Rookie

Joined: Wed Dec 01, 2010 5:15 pmPosts: 31

Re: 3rd party drivers setup

You need to click "Window->Menu Level->Expert/Super User". Every update resets this preference. This should bring back your missing tabs.

Sun Nov 04, 2012 8:20 pm

JamieD

Rookie

Joined: Fri Mar 11, 2011 9:30 pmPosts: 12

Re: 3rd party drivers setup

They've moved some of the preference settings to new menu locations.

Look under View, Preferences, Detailed Preferences, Compiler, and then on the Include Directories tab

you now have that in addition to the directories set under View, Preferences, Detailed Preferences, General

Would you show us the syntax of your #include lines? Did you enclose your include paths in double quotes (")?

Wed Nov 21, 2012 6:20 pm

sparks4936

Rookie

Joined: Wed Nov 21, 2012 5:46 pmPosts: 6Location: Princeton, NJ

Re: 3rd party drivers setup

Here's the syntax I'm using: #include hitechnic-irseeker-v2.h

I've not enclosed the paths in double quotes. I'll try that and let you know if it works.

Wed Nov 21, 2012 6:30 pm

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1523

Re: 3rd party drivers setup

sparks4936 wrote:

Here's the syntax I'm using: #include hitechnic-irseeker-v2.h

I've not enclosed the paths in double quotes. I'll try that and let you know if it works.

Yes, you need to do this:

Code:

#include "hitechnic-irseeker-v2.h"

Wed Nov 21, 2012 6:32 pm

sparks4936

Rookie

Joined: Wed Nov 21, 2012 5:46 pmPosts: 6Location: Princeton, NJ

Re: 3rd party drivers setup

No luck :(

Wed Nov 21, 2012 6:33 pm

sparks4936

Rookie

Joined: Wed Nov 21, 2012 5:46 pmPosts: 6Location: Princeton, NJ

Re: 3rd party drivers setup

Now I'm getting this error: "Couldn't open '#include' file 'hitechnic-irseeker-v2.h'"

Wed Nov 21, 2012 6:35 pm

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1523

Re: 3rd party drivers setup

Ok, this means you did not set the correct path in the "Preferences->Compiler->Directories". In any case, where exactly is the hitechnic-irseeker-v2.h file relative to your program code? An alternative is to specify the path in the include statement. For example, our code is in desktop\ftc\2013\code\RingItUp and Xander's driver is in desktop\ftc\2013\code\RobotCDrivers\drivers. Then our include line would be something like this:

Who is online

Users browsing this forum: No registered users and 2 guests

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