To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1880
1879  |  1881
Subject: 
Re: nqc compilation errors
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sun, 14 Jan 2007 16:43:15 GMT
Viewed: 
11253 times
  
In lugnet.robotics.rcx.nqc, Theo Epstein wrote:

both support for indirect variables and arrays is specified in
http://bricxcc.sourceforge.net/nqc/doc/NQC_Guide.pdf page 11 and 15

so.. whats the problem?

Only the RCX2 firmware supports these features.  If you set the target to RCX2
then it will compile.

Gus



Message has 2 Replies:
  Re: nqc compilation errors
 
(...) thank you. specific sulution: 'nqc -Trcx2 error.nqc' instead of 'nqc error.nqc' (18 years ago, 14-Jan-07, to lugnet.robotics.rcx.nqc)
  Re: nqc compilation errors
 
(...) Gus is correct, although there are other targets which support arrays and indirect variables. NQC defaults to RCX as the target. You need to use the -TRCX2 switch if you are running the 2.0 firmware on your RCX and you want to use arrays and (...) (18 years ago, 14-Jan-07, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  nqc compilation errors
 
Background: (...) nqc version 3.1 r4 (built Jan 12 2007, 19:11:18) Copyright (C) 2005 John Hansen. All Rights Reserved. Usage error: try 'nqc -help' to display options (...) Linux eip 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686 GNU/Linux (...) (18 years ago, 14-Jan-07, to lugnet.robotics.rcx.nqc)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR