white-oak / architect Goto Github PK
View Code? Open in Web Editor NEWJust a simple program to collect some stats on a git repository
Just a simple program to collect some stats on a git repository
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`.
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.
// 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
.
Pinging @riseremi
Doesn't work when installed on system in repos other than architect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.