| | Re: Unable to compile helloworld.c
|
|
Ok let me explain the whole process that I did.I downloaded the .rpm files for legOS,binutils and egcs and installed them.After that according to the HowTo documentation I wanted to test the compiler by compiling a simple program.I looked into the (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Unable to compile helloworld.c
|
|
What do you mean Project directory? there is no this directory if I remember! Zhengrong (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Unable to compile helloworld.c
|
|
I compiled in the Project directory. -Rajendra (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Unable to compile helloworld.c
|
|
did you compile in demo directory? Zhengrong -------- (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
|
| | Unable to compile helloworld.c
|
|
Hi! I was trying to compile the helloworld.c program by using "make helloworld.lx" but I get an error "make:*** No rule to make target 'helloworld.lx'.Stop." I had placed helloworld.c file alongwith Makefile.common in /usr/lib/legOS/Project (...) (23 years ago, 4-Nov-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS codeI need example code of rcx2rcx communication.
|
|
(...) Chris, First, I think the code in the main function should be as follows: int main( int argc, char* argv[] ) { char buf[256]; int len; //notice the variable i is missing lnp_address_set_handler( 1, port_handler ); while(1) { len = (...) (23 years ago, 30-Oct-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS codeI need example code of rcx2rcx communication.
|
|
Albert, Thanks for responding to my post! I had trouble compileing the code maybe you could help or e-mail me the original.Thanks here is the error report: brick1.c: In function `read_from_ir': brick1.c:40: warning: passing arg 1 of `memcpy' di rget (...) (23 years ago, 29-Oct-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Couldn't download egcs files
|
|
Quoting Rajendra Kumar Penugonda : (...) How can I get those files?Also I was able to download the binutils (...) "/usr/local/crossgcc...-hms/lib", depending the way you unpacked the archive. Remember that the tar command can not set the first '/' (...) (23 years ago, 28-Oct-01, to lugnet.robotics.rcx.legos)
|
|
| | Adjust Switch Time
|
|
When you made a Motorized Switch Point, if you want to use RCX to control it, this switch time is important value, a suitable time is better to switch point. You can find my AdjustSwitch.c for legOS, that can help you to do this. (URL) (23 years ago, 28-Oct-01, to lugnet.robotics.rcx.legos, lugnet.trains)
|
|
| | Couldn't download egcs files
|
|
Hi! I tried to download the egcs files from the source site but was not able to do so.How can I get those files?Also I was able to download the binutils files.I did according to the Howto document but when I did "make install",I got the following (...) (23 years ago, 27-Oct-01, to lugnet.robotics.rcx.legos)
|