Crates.io | picotcp-sys |
lib.rs | picotcp-sys |
version | 0.2.1 |
source | src |
created_at | 2017-01-02 22:13:49.908072 |
updated_at | 2017-01-04 16:54:15.685447 |
description | Rust binding of picoTCP |
homepage | |
repository | https://github.com/ProgVal/picotcp-sys |
max_upload_size | |
id | 7893 |
size | 8,211,950 |
Rust binding for picotcp
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 <libvdeplug.h>
^
1 error generated.