|
I can't seem to get SetUserDisplay to compile. When I compile my program, it
gets "Error: undefined function 'SetUserDisplay'".
I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but same
error.
Seems strange because SelectDisplay works fine, but I want to display a
variable.
Any ideas?
ROSCO
|
|
|
In article <I6DH4L.1zwI@lugnet.com>,
"Ross Crawford" <rosscraw@bigpond.net.au> wrote:
> I can't seem to get SetUserDisplay to compile. When I compile my program, it
> gets "Error: undefined function 'SetUserDisplay'".
>
> I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but
> same
> error.
>
> Seems strange because SelectDisplay works fine, but I want to display a
> variable.
>
> Any ideas?
>
> ROSCO
My guess is that NQC hasn't been told to target the 2.0 api, so it is
defaulting to 1.0 which does not have SetUserDisplay(). See
http://bricxcc.sourceforge.net/nqc/doc/faq.html#-Trcx2 for a more
detailed explanation.
Dave
|
|
|
In lugnet.robotics.rcx.nqc, Dave Baum wrote:
> In article <I6DH4L.1zwI@lugnet.com>,
> "Ross Crawford" <rosscraw@bigpond.net.au> wrote:
>
> > I can't seem to get SetUserDisplay to compile. When I compile my program, it
> > gets "Error: undefined function 'SetUserDisplay'".
> >
> > I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but
> > same
> > error.
> >
> > Seems strange because SelectDisplay works fine, but I want to display a
> > variable.
> >
> > Any ideas?
> >
> > ROSCO
>
> My guess is that NQC hasn't been told to target the 2.0 api, so it is
> defaulting to 1.0 which does not have SetUserDisplay(). See
> http://bricxcc.sourceforge.net/nqc/doc/faq.html#-Trcx2 for a more
> detailed explanation.
Thanks Dave. I didn't notice the RCX2 option in Bricxcc, works great now! Just
to clarify, the only difference between RCX 1 & 2 (from the compile target POV)
is the firmware it's running?
ROSCO
|
|
|
In lugnet.robotics.rcx.nqc, Ross Crawford wrote:
> Thanks Dave. I didn't notice the RCX2 option in Bricxcc, works great now! Just
> to clarify, the only difference between RCX 1 & 2 (from the compile target POV)
> is the firmware it's running?
>
> ROSCO
correct.
Kevin
|
|
|
In lugnet.robotics.rcx.nqc, Ross Crawford wrote:
> In lugnet.robotics.rcx.nqc, Dave Baum wrote:
> > In article <I6DH4L.1zwI@lugnet.com>,
> > "Ross Crawford" <rosscraw@bigpond.net.au> wrote:
> >
> > > I can't seem to get SetUserDisplay to compile. When I compile my program, it
> > > gets "Error: undefined function 'SetUserDisplay'".
> > >
> > > I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but
> > > same
> > > error.
> > >
> > > Seems strange because SelectDisplay works fine, but I want to display a
> > > variable.
> > >
> > > Any ideas?
> > >
> > > ROSCO
> >
> > My guess is that NQC hasn't been told to target the 2.0 api, so it is
> > defaulting to 1.0 which does not have SetUserDisplay(). See
> > http://bricxcc.sourceforge.net/nqc/doc/faq.html#-Trcx2 for a more
> > detailed explanation.
>
> Thanks Dave. I didn't notice the RCX2 option in Bricxcc, works great now! Just
> to clarify, the only difference between RCX 1 & 2 (from the compile target POV)
> is the firmware it's running?
>
> ROSCO
????
Still a bit confused on this?
I am running WinXP and not sure where to use the SET command?
Opening up a DOS windows via CMD does show that I have this:
NQC_OPTIONS=-Trcx2
along with a lot of other windows variables but when I go and compile I still
get the error the OP was getting.
=(
-AHui
|
|
|