Coder Social home page Coder Social logo

netmap_sys's Introduction

netmap_sys

Rust bindings to netmap, currently at version 3.17 (Linux).

Usage

To use within your own project, add:

[dependencies.netmap_sys]
version = "0.1.3"
# Uncomment this line where you wish to use features guarded by the
# NETMAP_WITH_LIBS macro in C.
#features = "netmap_with_libs"

To your Cargo.toml.

Troubleshooting

missing rust_netmap_user

If you get an error containing the message:

error: could not find native static library `rust_netmap_user`, perhaps an -L flag is missing?

You should check the following things:

  1. You have gcc / clang installed
  2. Make sure that /usr/include/net/netmap.h and /usr/include/net/netmap_user.h both exist. If they do not, you should check your netmap installation. You can either manually add these files or symlinks to the, or change the paths searched in build.rs.
  3. If you still have issues, please file an issue in the bug tracker, along with the output of cargo build -v, your operating system and distribution, how you installed netmap, and the output of clang -DNETMAP_WITH_LIBS -Dstatic= -Dinline= -x c -fPIC -O2 -c /usr/include/net/netmap_user.h -o $(mktemp).

netmap_sys's People

Contributors

mrmonday avatar polachok avatar

Watchers

Sayan Chowdhury avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.