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 / 2888
2887  |  2889
Subject: 
Re: legOS library path
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 7 Oct 2002 20:32:31 GMT
Viewed: 
2348 times
  
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 that the paths are correct (mycode
direcory are in the same directory that demo):

KERNEL=../boot/legOS

include ../Makefile.common

include ../Makefile.user


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?

German@PORTATIL /legos-0.2.6/mycode

$ make helloworld.lx

h8300-hitachi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legos/i
nclu de -I/legos/include/lnp -I. -I../boot/ -c helloworld.c -o helloworld.o

helloworld.c:1: conio.h: No such file or directory

helloworld.c:2: unistd.h: No such file or directory

make: *** [helloworld.o] Error 1



Message has 2 Replies:
  Re: legOS library path
 
(...) Ok. So for cygwin, the path is /legos-0.2.6 (...) Is that right? I think it must read c:\cygwin\legos-0.2.6\mycode. (...) Ok. (...) That is ok. (...) First the good news: Makefile.common and Makefile.user are correctly included. Otherwise, the (...) (22 years ago, 7-Oct-02, to lugnet.robotics.rcx.legos)
  Re: legOS library path
 
"Germán Rojas" <ge-rojas@uniandes.edu.co> wrote in message news:H3Mp27.CBz@lugnet.com... (...) <snip> (...) <snip> You should add 'mycode' to the list of directories found in Makefile, just after demo. Then always run make from the legOS root (...) (22 years ago, 7-Oct-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: legOS library path
 
(...) You have to look where you are and where the makefile searches for other needed files. In the moment, you makefile hopes to find the include files under /legos/include. Is that ok? If you installed legos into your home directory, the path must (...) (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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR