https://github.com/progval/picotcp-sys
Rust binding for picotcp
https://github.com/progval/picotcp-sys
Last synced: 9 months ago
JSON representation
Rust binding for picotcp
- Host: GitHub
- URL: https://github.com/progval/picotcp-sys
- Owner: progval
- License: gpl-2.0
- Created: 2017-01-02T21:24:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T16:54:22.000Z (almost 9 years ago)
- Last Synced: 2025-03-12T05:36:12.474Z (9 months ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# picotcp-sys
Rust binding for picotcp
## How to compile
```
sudo aptitude install libvdeplug-dev
cargo build
```
If you have an error similar to this:
```
thread 'main' panicked at 'Failed to generate bindings for /home/user/picotcp-sys/target/debug/build/picotcp-sys-cd06b602a1ad2b2a/out/picotcp/include/pico_dev_vde.h: ()', src/
libcore/result.rs:799
```
Try compiling the file with `clang`, you will get a nicer error:
```
$ clang build/include/pico_dev_vde.h
build/include/pico_dev_vde.h:11:10: fatal error: 'libvdeplug.h' file not found
#include
^
1 error generated.
```