Coder Social home page Coder Social logo

dds_thca's Introduction

How to build and compile

Ensure Cargo and your favorite Rust toolchain is installed properly.

  1. Clone the repository locally
  2. Follow the instructions in https://github.com/Rust-SDL2/rust-sdl2 to build and compile Rust-SDL2 projects.
  • Depending on which Rust toolchain you have installed, follow the instructions in the Readme in the link above.
  • For example, will need to download the necessary SDL libraries and place them in the correct Rust lib folder.
  • The libraries required are listed below. The instructions listed in the link above will only go over the main SDL2 lib/dlls but all the libs below are required to compile and build this SDL2 rust project.
    1. https://www.libsdl.org/download-2.0.php (main SDL2 lib/dll mentioned in the link provided)
    2. https://www.libsdl.org/projects/SDL_image/ (SDL2 image lib/dll)
    3. https://www.libsdl.org/projects/SDL_ttf/ (SDL2 ttf for fonts lib/dll)
  1. Open a command prompt in the folder location of the cloned repository.
  2. In the command prompt window, run the following comand: Cargo run --release
  3. The project will now compile and build. If any errors are observed, ensure Cargo and Rust is installed properly. Also, ensure the libs in step 2 were installed correctly.

dds_thca's People

Contributors

tommygoris avatar

Watchers

 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.