|
"Germán Rojas" <ge-rojas@uniandes.edu.co> wrote in message
news:H3Mp27.CBz@lugnet.com...
> I install legOS in the follow directory:
<snip>
>
> When i try to compile from C:\legos-0.2.6\demo (first erasing the *.o and
> *.lx files) appear the same message!! What i can do?
<snip>
You should add 'mycode' to the list of directories found in Makefile, just
after demo. Then always run make from the legOS root directory
C:\legos-0.2.6 The Makefile will "enter" each directory, compile then
"exit" each directory. The Makefile in demo (and now your mycode folder) is
setup to run this way. It is possible to modify the Makefile so you can run
it from within the mycode folder, but I can't currently tell you how. 8-)
// Joe
|
|
Message has 1 Reply: | | Re: legOS library path
|
| (...) To make it so that your code can live anywhere (i.e., not necessarily beneath the cygwin and/or BrickOS root directory you should make the following changes to your Makefile. 1. replace any relative paths (i.e., ../ or ../../ etc.) with (...) (22 years ago, 8-Oct-02, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Re: legOS library path
|
| I install legOS in the follow directory: C:\cygwin\legos-0.2.6 (the same like the windows instructions) Create the follow directory: C:\legos-0.2.6\mycode Copy the *.c and Makefile files in C:\legos-0.2.6\mycode In the Makefile default file i think (...) (22 years ago, 7-Oct-02, to lugnet.robotics.rcx.legos)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|