| | Re: NQC release Rich Thompson
|
| | Hi John! Thanks for the new release. On my Linux box I get a compile error. uname -a: Linux aluminum 2.6.10-1.770_FC3smp #1 SMP Thu Feb 24 14:20:06 EST 2005 i686 athlon i386 GNU/Linux [root@aluminum nqc-3.1.r1]# make g++ -o bin/mkdata -Inqc/ (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | |
| | | | Re: NQC release John Hansen
|
| | | | (...) Can you try adding "private:" directly above the declaration of the nested type Chunk in RCX_Image.h? I'd like to confirm that that change fixes the problem. If any more compile errors (or warnings) show up let me know here or via email. (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release Rich Thompson
|
| | | | Making progress: I changed the public: to private: in RCX_Image.h and here was the output after I did a `make clean`: [root@aluminum nqc-3.1.r1]# make g++ -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp bin/mkdata (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release John Hansen
|
| | | | (...) I was not sufficiently clear. My apologies. Line 56 needs to remain unchanged: public: Comments, by the way, in C++ are specified by '//' rather than '#'. I say that because it looks like your compiler is complaining about a line (56) that (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release Rich Thompson
|
| | | | Ahh...I shouldn't add comments to anything before my first green tea of the morning. I moved line 56 back to public: and went to line 81 and found private: was already there... 81 private: 82 class Chunk 83 { 84 public: 85 86 const UByte* GetData() (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release John Hansen
|
| | | | (...) I'm apparently very confused. I could have sworn I checked the code here and there wasn't a "private:" before the class Chunk definition starting at line 81. But after double checking just now indeed there is one there. That's what had me (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release John Hansen
|
| | | | (...) It turns out one of the steps in the process I used to generate the .tgz source code archive not only got the wrong version from CVS but it changed all my unix-style line endings back to windows-style line endings. I've replaced the latest (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release Rich Thompson
|
| | | | | And that was the fix. Thanks for maintaining this code! (...) (20 years ago, 16-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | | |
| | | | | | Re: NQC release Michael Obenland
|
| | | | Hi John, (...) YES, this version compiles fine under my Linux system with gcc 3.3.3. You do a real great job, thank you for all your work! Regards, Michael (20 years ago, 17-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |
| | | | | | Re: NQC release John Hansen
|
| | | | (...) I've just uploaded a .tgz containing a Mac OSX version of NQC (provided by Rob Bates, the MacNQC developer). You can get it from the NQC website: (URL) also have replaced (again) the source code .tgz. It should work as well as the previous (...) (20 years ago, 22-Mar-05, to lugnet.robotics.rcx.nqc)
|
| | | | |