Subject:
|
Re: almost made it, but need help..again :)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 2 Mar 2001 00:40:29 GMT
|
Viewed:
|
1424 times
|
| |
| |
In lugnet.robotics.rcx.legos, Kenneth Johansen writes:
> heh guys, im back..again :)
>
> but i allways get an error when i try to gcc name.c -o name
> "lnptest.c:11: liblnp.h: no such file or directory (that is the default
> test program that comes with lnpd)
Your problem is not the .so file (hasn't got to linking stage yet), but the .h
file. You need to do:
gcc -I/path/of/lnplib/includes name.c -o name
or put the full path to lnplib.h in the include statement in name.c
HTH
ROSCO
|
|
Message has 1 Reply: | | A humble contribution to the community
|
| Having installed legOS on a couple of machines and always having trouble remembering the most basic of command i have made this page (URL) that i (and whoever else might need some help) can easily do it again. Considered that we might be having some (...) (24 years ago, 3-Mar-01, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | almost made it, but need help..again :)
|
| heh guys, im back..again :) have downloaded and installed lnpd. i have: export LD_LIBRARY_PATH=$LD_...lnp/liblnp so that my PC programs in ~/legOS/host/lnpd+li...plications can find the liblnp.so.x file. but i allways get an error when i try to gcc (...) (24 years ago, 2-Mar-01, to lugnet.robotics.rcx.legos)
|
4 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
|
|
|
|