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:
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|