Code Monkey home page Code Monkey logo

c-usb-module's Introduction

Getting Started

This project uses cmake to do multi-platform builds. Each platform will have slightly different instructions.

Getting Started on Windows

To build this, you'll need Visual Studio 2013 Community (free!) and CMake (also free!).

git clone [email protected]:peachyprinter/c-usb-module.git
cd c-usb-module
mkdir _build
cd _build
cmake .. -G 'Visual Studio 12 2013'
cmake --build . --config Release

You'll now have a copy of the DLL built as src/Release/PeachyUSB.dll

You want to make sure to do a Release build instead of a Debug build; if you do a debug build, people that don't have Visual Studio installed will not be able to load your DLL.

If you need a 64-bit binary, try 'Visual Studio 12 2013 Win64'

Getting Started on Linux

This should work with a standard toolchain on Ubuntu 14.04. You'll need to make sure that libusb-1.0-0-dev and cmake are installed.

git clone [email protected]:peachyprinter/c-usb-module.git
cd c-usb-module
mkdir _build
cd _build
cmake ..
make

This should result in a library built as src/libPeachyUSB.so.

c-usb-module's People

Contributors

tonyarkles avatar

Watchers

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.