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 / 3925
3924  |  3926
Subject: 
error in using brickOS under Bricx Command Center
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 17 Sep 2005 03:43:50 GMT
Viewed: 
8229 times
  
Dear all,
I am new to Lego Mindstorms programming.
Recently I installed Bricx Command Center in Windows XP Home
following the instructions in http://bricxcc.sourceforge.net/
Now I am able to use NQC and leJOS but not brickOS
under Bricx Command Center.
(Downloading the brickOS firmware might not work properly.)
But I am able to use (compile and download) brickOS under cygwin.
(I had to run the following commmands in a cygwin window:
    cd /brickOS
    ./configure; make
)

When I try to compile simple demo c files under Bricx Command Center,
I get the following error message
     Compile Failed
     Unknown error code (-126)
Results are the same for both versions 0.2.6 and 0.9.0 for brickos.

In the Edit...Preference...C/C++/Pascal menu of Bricx Command Center
I have the following setting:

Cygwin: c:\cygwin

OS root: /brickos

Makefile template:
ROOT=%os_root%
KERNEL=$(ROOT)/boot/brickOS
PROGRAMS=%project%.lx
DOBJECTS=%project_files%
all:: $(DOBJECTS) $(PROGRAMS)
download:: all
$(ROOT)/util/dll %prog% %tty% %exec% %addr% $(PROGRAMS)
set_addr::
$(ROOT)/util/dll %tty% %addr% %set_addr%
include $(ROOT)/Makefile.common
include $(ROOT)/Makefile.user

I tried to change /brickos (for OS root) into c:/cygwin/brickos
but it didn't work.

Please let me know how to resolve the present error.
Thank you in advance.

Je-Young



Message has 1 Reply:
  Re: error in using brickOS under Bricx Command Center
 
(...) Can you do F12 and post the contents (if any)? Do you have bash installed? While the error message is displayed you can open a command prompt and change directory to the location of your source code file. There you should find a .cmd and a (...) (19 years ago, 29-Sep-05, to lugnet.robotics.rcx.legos)

12 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