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 / 766 (-20)
  Re: Can't get Linux NQC to compile/Run
 
(...) Try `locate vector.h`. I'm not sure what package vector.h belongs to on Mandrake; on Red Hat 6.x, it's one of the egcs packages, but I know that gcc/egcs is one of the things Mandrake does differently. (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) It couldn't find where vector.h lives. I'll have to hunt. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: newbie questions...
 
(...) Thanks. (...) I see... Anyway, there shouldn't be a great need to monitor the same event in different tasks, so it's not that important... Let's give LEGO the time to add this in the firmware then :) (...) Great! Stelian. (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) You need to compile it as a C++ source file. There are ways to force C++ compilation of .c files, but its probably easier to just save it as test.cpp, then try: g++ test.cpp Assuming that the compiler knows where to find the C++ standard (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) I'm afraid I don't have a clue how to compile that one. I tried make test.c but, of course, that doesn't work. I also tried [tfm@linux tfm]$ gcc ./test.c ./test.c:1: vector.h: No such file or directory but not much luck there either. Dean -- (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) I tried that first. After letting the RPM installer install NQC i386 I get this message when I try to run it. [tfm@linux tfm]$ nqc nqc: error in loading shared libraries: nqc: undefined symbol: _t24__default_alloc_....free_list It's a standard (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Dean -- have you tried my prebuilt RPMs? They should run on Mandrake with no problem. I know that doesn't solve the actual build issue (Dave's suggestion sounds good) but it should get you a working NQC. (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't get Linux NQC to compile/Run
 
(...) Sounds like part of the g++ library is missing....or perhaps an incompatability between the installed library and the g++ header files. I'm not quite sure how to unmangle that name, but my first guess would be the default allocator used in (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: newbie questions...
 
(...) yes (...) That's pretty tough to implement. Code in the tasks is easy...the task number is a constant. Same for subs that are only called from one task. Inline functions are also easy...provided they are called from one of the above. The (...) (24 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Can't get Linux NQC to compile/Run
 
I'm sort of new to Linux (mandrake 7.1) and I've been trying to get NQC to work but keep getting odd errors. "./nqc: error in loading shared libraries: ./nqc: undefined symbol: _t24__default_alloc_...free_list" comes up when I try to run the (...) (24 years ago, 11-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Creating sight for RIS/No Vision Command
 
Tough, I think that in order to do this you would need to do some very complicated electronics and programming of a computer that could all be carried on the rcx and use little power. This would probably involve lots of expensive stuff. Although (...) (24 years ago, 11-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: newbie questions...
 
(...) Ok, so the 'if ( ActiveEvents(10) & EVENT_MASK(0) )' is the correct syntax to check if event 0 was triggered ? (...) Or a function that returns the current task number ? Thanks for your advices and keep up the good work ! Stelian. (24 years ago, 11-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: newbie questions...
 
(...) Both versions should work ok. Personally I prefer something like the following code because its less code overall and the "modality" of the program is apparent from the listing. But its really a matter of personal style. #define TOUCH SENSOR_1 (...) (24 years ago, 9-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Creating sight for RIS/No Vision Command
 
Hello Does anybody have any experience in adapting a small color video camera so that it will either send messages to the RCX via the IR port or connect to the RCX's sensor inputs ? I realize that at the very least I am going to have to create some (...) (24 years ago, 8-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Thoughts & Issues w/ Vision Command
 
(...) It MUST be used with a PC. The camera has no special programs or anything like that. It's the PC that is the link between the Camera and the RCX... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 9-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Thoughts & Issues w/ Vision Command
 
Hello Does the Vision Command camera send messages to the RCX via the IR port ? I would assume this would be the case but I just wanted to make sure. Also, does Vision Command come pre-configured with a default program or do you have to configure it (...) (24 years ago, 8-Sep-00, to lugnet.robotics.rcx.nqc)
 
  newbie questions...
 
Hi everybody, I recently acquired a RIS 1.5 box and started playing with nqc (great program btw)... Still, I have some questions... Let's take a simple example: I have 1 touch sensor and I want to do a SOUND_UP when the touch is pressed and a (...) (24 years ago, 6-Sep-00, to lugnet.robotics.rcx.nqc)
 
  Re: Using NQC with iBook
 
(...) No extra cables needed. The PDA adapter's DB9 is a configured as a standard serial port. (...) Yep. Under MacOS, this is all you do. Lon (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Using NQC with iBook
 
I use the Keyspan TWIN adapter (USB to serial port) along with a simple mac-to-pc style serial adapter (I think it came with a Pilot 1000 many years ago). The TWIN adapter is a bit pricey, but I bought it because it also works with externally synced (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.nqc)
 
  Re: Using NQC with iBook
 
Okay, but don't I have to buy a second adapter so that the IR cable can fit in the Keyspan PDA adapter? Or like cut up and change positions of the IR-cable inputs? Or do I just have to buy an adapter, connect it, connect the IR tower, download NQC (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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