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 / Search Results: vector.h
 Results 1 – 15 of 15.
Search took 0.00 CPU seconds. 

Messages:  Full | Brief | Compact
Sort:  Prefer Newer | Prefer Older | Best Match

  Re: LinuxPPC and "No response from RCX" problem
 
(...) vectorh.h is part of the C++ standard library. Apparently some systems don't have it installed by default. There was some discussion on this a while back... (URL) think the conclusion was that with ManDrake 7.1 you need to install the (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.186)

  Re: LinuxPPC and "No response from RCX" problem
 
(...) Thanks, I'll look at that tonight (didn't really get chance yesterday). (...) Unfortunately the versions of gcc on both my Amiga and Thinkpad (running Mandrake 7.1) bomb when trying to compile nqc: both complain that vector.h - in g++-2 on my (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.186)

  Re: Can't get Linux NQC to compile/Run
 
(...) The compiler can't find "vector.h" - which will cause lots of problems because without vector.h, all of the instantiations of the vector template won't make syntactic sense (leading to lots of random syntax errors later on in Scope.h and (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.183)

  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)
 

vector
(score: 0.182)

  Re: Can't get Linux NQC to compile/Run
 
(...) On *my* system (relatively stock Mandrake-7.1), vector.h comes with the libstdc++-devel package. ht@katzenminze%pts/2 (13:01) ~ > locate vector.h /usr/include/g++-3/bvector.h /usr/include/g++-3/vector.h /usr/include/g++-3/s..._bvector.h (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.182)

  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)
 

vector
(score: 0.182)

  Re: Can't get Linux NQC to compile/Run
 
(...) [snipped the rest] All the rest is a follow-up to the fact that vector.h is missing. As root, do "updatedb" followed by "locate vector.h" If it doesn't return anything, you need to install the egcs-c++ rpm, which is under (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.182)

  Re: Can't get Linux NQC to compile/Run
 
(...) Ok, did some poking around. In Red Hat 6.2 and in Mandrake 6.1, vector.h is part of "egcs-c++". With Red Hat 7.0 beta, vector.h is part of "libstdc++-devel". I looked on a Mandrake 7.1 mirror and could find neither package. However, I checked (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.181)

  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)
 

vector
(score: 0.181)

  Re: Can't get Linux NQC to compile/Run
 
(...) *Open mouth* *Insert foot* *Recheck CDs* ht@katzenminze%pts/2 (21:01) ~ > rpm -qf /usr/include/g++-3/vector.h libstdc++-devel-2.95.2-7mdk ht@katzenminze%pts/2 (21:01) ~ > l1 /misc/cd/Mandrake/RPMS/libstd* /misc/cd/Mandrake/RP...k.i586.rpm (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.181)

  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)
 

vector
(score: 0.181)

  Re: Can't get Linux NQC to compile/Run
 
(...) After installing the bison package from the Ret Hat 6.1 CD I now get the following. Even MORE errors then before... [root@linux SPECS]# rpm -bb nqc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26034 + umask 022 + cd /usr/src/RPM/BUILD + (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.181)

  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)
 

vector
(score: 0.181)

  Re: NQC 2.x event processing
 
(...) #3, which was the approach you took. (...) I think what I liked about the approach in pBrick script was that it was fairly like coding a microcontroller in assembler: set up an interrupt vector and then include a label and code for the (...) (24 years ago, 5-Jun-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.172)

  Re: ncq proximity
 
(...) There's a fairly good example of proximity detection on Simen Svale Skogsrud's site. He posted a proximity task in NQC with his vector rover example. The direct link to the code is (URL) Ian Warfield (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.nqc)
 

vector
(score: 0.160)

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