Giter VIP home page Giter VIP logo

architect's People

Contributors

riseremi avatar white-oak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

semperos

architect's Issues

Unable to infer enough type information about `_` on current rustup nightly

rustup run nightly cargo build --verbose

error[E0282]: unable to infer enough type information about `_`
   --> src/stats.rs:156:45
    |
156 |         let vecs: Vec<Vec<(String, u32)>> = tree.iter()
    |                                             ^ cannot infer type for `_`
    |
    = note: type annotations or generic parameter binding required

error: aborting due to previous error

error: Could not compile `architect`.

Create a release

Hi, I would love to have some kind of release build available, as it's always easier to just download & run to test it out.

How to provide missing build dependencies

// I'd prefer to edit a Wiki page for that but that does not seem to work. Maybe extending README would be an option. So I am documenting it here for now.

During build with QT enabled cargo may complain about Qt modules missing, e.g.:

--- stderr
thread 'main' panicked at 'QT5 was not found using pkg-config: `"pkg-config" "--libs" "--cflags" "Qt5Core Qt5Gui Qt5Qml Qt5Quick Qt5Svg"` did not exit successfully: exit code: 1
--- stderr
Package Qt5Svg was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Svg.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Svg' found
', /home/petr/.cargo/git/checkouts/qml-rust-717654f352823f1d/3316f54/build.rs:119:23
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Here, in Debian-like Linuxes you should install libqt5svg5-dev package.

Generally if you see "Perhaps you should add the directory containing Qt5Svg.pc " you can look up the package containing that file with apt-file like

apt-file search Qt5Svg.pc

And install a package that provides the file. Normally there's only choice and it is one of Qt5's -dev packages.
Note that apt-file is not installed in Ubuntu by default. If you do not have it yet then sudo apt install apt-file; sudo apt update.

This answer on AskUbuntu provided hints on apt-file.

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.