| | two task and while true
|
|
Hi I made a small programm task main if IN_3 ==1 start wb else stop wb task sb while (true) if () fwd(Out_a,7); I found out that the prgramms goes into the while loop but it never started the motor if I copied it into the main part it runs fine Is (...) (26 years ago, 2-May-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
(...) Of course, I did not mean to imply she is off course. (...) > > (...) (26 years ago, 29-Apr-99, to lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
Well what do you know...I install gcc 2.8.0 and still no luck. But a clue lurks in the docs....and since I had none (clues that is) I read on. To compile c++ you must install libstdc 2.8.0. I find it and compile into gcc. Just for luck I grab the (...) (26 years ago, 29-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 1.3 has been released
|
|
I just posted NQC 1.3 to the main web site: (URL) an excerpt from the readme... version 1.3 ---...--- Calls to inline function may now be made before their definition. abs() and sign() operators added. SetWatch() added to rcx.nqh. Toggle() added to (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | RE: Compiling NQC
|
|
I will pull gcc down tonight and try a fresh install...the gcc installation that came with openlinux is what I installed, and I am seeing make problems elsewhere now. Rich Thompson rich_thompson@cmcsmart.com (URL) -----Original Message----- (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Compiling NQC
|
|
Rich Thompson <richone@midsouth.rr.com> wrote in message news:FAvu5G.4Hw@lugnet.com... (...) This sounds like gcc isn't installed properly. cc1plus is the first stage of the compiler. Can you compile anything properly? alex (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Compiling NQC
|
|
I am delving into the world of Linux (I have abandoned BSD and Windows but keeping my Mac) and I am having trouble compiling NQC in Caldera's OpenLinux 2.2 for i386. A basic output of the errors I am seeing: gcc -c -O6 -pipe -m486 -Iplatform (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
(...) NQC 1.3 is pretty minor... inline functions can be used before they are defined. I added abs() and sign() support. Technically they are not functions, but are operators with a function syntax (like sizeof in C). A couple new functions (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
Can you give us a "press release" about what's new in 1.3? (...) Joel Shafer joel@connect.net (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Typo
|
|
Thanks - I had already noticed that and fixed it in the upcoming 1.3 release, which has been "ready to go" for about 3 weeks now. I just have to take the time to do all of the platform builds, update the web site, etc. Dave (...) (26 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|