Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

problem with C++ and Roboard include files

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
3 postsPage 1 of 1
3 postsPage 1 of 1

problem with C++ and Roboard include files

Post by copperclad » Sat Jan 09, 2010 7:48 pm

Post by copperclad
Sat Jan 09, 2010 7:48 pm

Hi
i have my Roboard up and running with DOS 4.1 , and i have Borland C++ ver 4.51 running on my desktop

i can build EXE programs for DOS that run on my Roboard as long as i stick with the Borland C++ include files

i down loaded the Roboard include files for DOS and moved them into the include folder that Borland looks in , but i get errors when the compiler sees a line with the term "bool" in it , the roboard include files are peppered with the line "RBAPI(bool)...." , and the Borland compiler doesn't like it

if the Roboard include file does not have this "bool" call in it , then it loads fine

does anyone have any ideas as to what i am doing wrong ?

i downloaded the file Roboio.lib and moved it into the LIB folder , but i am wondering if i am still missing something like linking the library

any help would be great , thank you :D


.
Hi
i have my Roboard up and running with DOS 4.1 , and i have Borland C++ ver 4.51 running on my desktop

i can build EXE programs for DOS that run on my Roboard as long as i stick with the Borland C++ include files

i down loaded the Roboard include files for DOS and moved them into the include folder that Borland looks in , but i get errors when the compiler sees a line with the term "bool" in it , the roboard include files are peppered with the line "RBAPI(bool)...." , and the Borland compiler doesn't like it

if the Roboard include file does not have this "bool" call in it , then it loads fine

does anyone have any ideas as to what i am doing wrong ?

i downloaded the file Roboio.lib and moved it into the LIB folder , but i am wondering if i am still missing something like linking the library

any help would be great , thank you :D


.
copperclad
Robot Builder
Robot Builder
Posts: 11
Joined: Tue Dec 08, 2009 2:06 pm

Re: problem with C++ and Roboard include files

Post by roboard » Sun Jan 10, 2010 4:51 am

Post by roboard
Sun Jan 10, 2010 4:51 am

copperclad wrote:
i down loaded the Roboard include files for DOS and moved them into the include folder that Borland looks in , but i get errors.


Hi,

you can change the following line in "defines.h":

#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0410)

to

#if defined(__BORLANDC__)

and try it again.
copperclad wrote:
i down loaded the Roboard include files for DOS and moved them into the include folder that Borland looks in , but i get errors.


Hi,

you can change the following line in "defines.h":

#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0410)

to

#if defined(__BORLANDC__)

and try it again.
roboard
Savvy Roboteer
Savvy Roboteer
Posts: 302
Joined: Fri Jul 03, 2009 4:44 am

Post by copperclad » Sun Jan 10, 2010 2:00 pm

Post by copperclad
Sun Jan 10, 2010 2:00 pm

you can change the following line in "defines.h":

#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0410)

to

#if defined(__BORLANDC__)



good work!
thank you very much , that works perfectly , i had tried everything i could think of , and had gone online looking around and reading , and had just run out of ideas , i am really liking the Roboard on DOS , it is a great little system , thanks again :D


.
you can change the following line in "defines.h":

#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0410)

to

#if defined(__BORLANDC__)



good work!
thank you very much , that works perfectly , i had tried everything i could think of , and had gone online looking around and reading , and had just run out of ideas , i am really liking the Roboard on DOS , it is a great little system , thanks again :D


.
copperclad
Robot Builder
Robot Builder
Posts: 11
Joined: Tue Dec 08, 2009 2:06 pm


3 postsPage 1 of 1
3 postsPage 1 of 1