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 / 2621
2620  |  2622
Subject: 
Re: problem using emulegos
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 10 Jun 2002 17:01:16 GMT
Viewed: 
2407 times
  
First off what OS are your running on?  I do all emuLegOS development under
Linux
(Mandrake 8.1, not that it should matter), so if you are on any other platform
you may run into issues.
Of course emuLegOS should work on just about any Unix as long as it has gcc and
Tcl/Tk available.  Also emuLegOS works with Windows as long as you have cygwin.
emgLegOS has been tested on 98, and 2000, but not recently.

Anyway onto your specific problem...

I'd imagine you extracted the archive correctly, but just in case here are the
commands I use.

gunzip emuLegOS1.2.5.0.tar.gz
tar -xf emuLegOS1.2.5.0.tar


when i type make in ~/hovedfag/emulegos/examples/rover i get:

makefile:8: :/home/kennethj/hovedfag/emulegos/makefile: No such file or
directory
make: *** No rule to make target `:/home/kennethj/hovedfag/emulegos/makefile'.
Stop.

this looks like a pretty straight forward error, the makefile in the
emulegos/examples/rover directory tries to include the makefile from the
emulegos directory and it can't find it for some reason.

1. make sure that there is a  "makefile" in the emulegos directory, if it's
not there then try redownloading and extracting the archive again.  Or perhaps
for some reason you renamed "Makefile"?

2. make sure that you set EMULEGOS_ROOT correctly, try running the following
command: "ls $EMULEGOS_ROOT/makefile", if it says "no such file or directory"
then you've set the EMULGEOS_ROOT variable incorrectly, perhaps a typo :).
EMULEGOS_ROOT should be set to the absolute path of the "emulegos" top level
directory, so yes something like /home/yourname/emulegos

i have set both these to the right location (i think), in this case they are:
EMULEGOS_ROOT=:/home/kennethj/hovedfag/emulegos
LNPD_ROOT=:/home/kennethj/legOS/host/lnpd+liblnp

This was probably just a typo in your e-mail but it is LNP_ROOT not LNPD_ROOT.
Also I must appologize it looks like the daemon.c.patch was make in reverse,
so when you apply it it will ask "Reversed (or previously applied) patch
detected!  Assume -R? [n]", just say "y".  I'll fix this in the next release.

Ahhhh now I think I see your problem, you have then set to :/home/... what is
that colon there for?  Get rid of the colon I bet that will make it work.

one also needs to do some modification in the *.c files, but i looked in
rover.c (in the example directory in emulegos), and it looks right.

yes the example is already modified to work with emulegos, so it should just
compile.  I'm sure this won't make you feel any better but I just downloaded
the latest release onto a clean machine and it built fine for me without
issues.  Once it builds you should be able to just execute "./rover" and a RCX
looking brick should popup on your screen.

If you have further problems feel free to contact me off list at
falcom@onebox.com.  I hope you enjoy using emuLegOS once you get it going.

mark



Message is in Reply To:
  problem using emulegos
 
hi all, im having problem using emulegos 1.2.5.0 with legOS 0.2.4 i have used legOS 0.2.4 for over 1 year now withouth any problems (including lnp), but for some reason when i type make in ~/hovedfag/emulegos/...ples/rover i get: makefile:8: (...) (22 years ago, 10-Jun-02, to lugnet.robotics.rcx.legos)

6 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