To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2971
2970  |  2972
Subject: 
Re: C Compiler for Windows 98
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 24 Nov 2002 21:49:13 GMT
Viewed: 
3009 times
  
I don't know if this will help you at all, but, I found that C progams need
all the variables declared at the beggining of the program, and this became
quite annoying because of my experence with C++. So I asked someone who
might know... In BrickOS at least, there is a sub directory of demo named
"C++" in this directory C++ programs can be compiled..... I could be totally
wrong about this, but this has been my experence.

Let me know if this helps

Timothy

In lugnet.robotics.rcx.legos, Richard Gildersleeve writes:
I have been using NQC for some time now and would like to move up to C++
programing with LegOS or BrickOS.  I have spent many hours following the
instructions on http://brickos.sourceforge.net/docs/INSTALL-cygwin.html
without success in getting a working system.

I have decided to try WinLegOS as suggested in the instructions as an
alternative.  I have been able to load and run the program including being
able to download working demo programs to my RCX.

My problem now is that I don't seem to have a Complier to compile my C++
programs.  I write a program and save it as myProgram.c then when I run
"make myProgram.lx" I get a myProgram.o file but no .lx file.

Reading the instructions at www.noga.de/LegOS it appears that I need a
special Compiler for Windows.  When I click on the link to apparently
download the compiler with instructions I get nothing.  Apparently the link
is broken.

Could someone direct me to somwhere that I might get a C++ compiler for
Windows that would work with LegOS.

Thanks much

Richard



Message is in Reply To:
  C Compiler for Windows 98
 
I have been using NQC for some time now and would like to move up to C++ programing with LegOS or BrickOS. I have spent many hours following the instructions on (URL) success in getting a working system. I have decided to try WinLegOS as suggested (...) (22 years ago, 24-Nov-02, to lugnet.robotics.rcx.legos)

5 Messages in This Thread:



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

Custom Search

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