Comments (8)
Created Ubuntu 20.04 VM to determine what package is required to build on docs.rs
from wxrust2.
Installed packages to build (WIP)
- git
- cargo
- rustup snap package didn't work with 20.04
-Z namespaced-features
was required for older cargo version
At this stage, I got same error output as docs.rs
error: failed to run custom build command for `wxrust-base v0.0.1-alpha`
Caused by:
process didn't exit successfully: `/home/kenz/src/wxRust2/target/debug/build/wxrust-base-f22040c3ee87a585/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at 'failed execute wx-config command.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/kenz/.cargo/git/checkouts/wxrust-vendored-config-2459bb25f7f509b9/245f52f/src/lib.rs:28:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
from wxrust2.
These packages seem already installed...
- libwxbase3.0-dev
- libwxgtk3.0-gtk3-dev
kenz@ubuntu2004:~/src/wxRust2$ wx-config
Command 'wx-config' not found, but can be installed with:
sudo apt install libwxbase3.0-dev # version 3.0.4+dfsg-15build1, or
sudo apt install libwxgtk3.0-gtk3-dev # version 3.0.4+dfsg-15build1
from wxrust2.
apt install part of dockerfile of crates-build-env
# Install the packages contained in `packages.txt`
COPY packages.txt /opt/crates-build-env/packages.txt
RUN apt-get update && \
cat /opt/crates-build-env/packages.txt | DEBIAN_FRONTEND=noninteractive xargs apt-get install -y && \
rm -rf /var/lib/apt/lists/*
from wxrust2.
Installed packages to build
- git
- cargo
- libwxgtk3.0-gtk3-dev
error occurred: Failed to find tool. Is `c++` installed?
- clang (is installed as c++ compiler on crates-build-env)
Built successfully after installed above packages.
from wxrust2.
These packages seem already installed...
https://github.com/rust-lang/crates-build-env/blob/master/linux/packages.txt#L902
didn't include -dev package. I'll send PR to add this.
from wxrust2.
I sent PR: rust-lang/crates-build-env#108
from wxrust2.
Fixed!
from wxrust2.
Related Issues (20)
- Handle specially wxSearchCtrl which isn't wxTextCtrl on MSW HOT 2
- Generate rest of wxCore library classes HOT 6
- More automatic codegen
- More builders for easy instantiation of classes with many default arguments in ctor HOT 1
- Document wxCore library coverage (not test coverage, but binding coverage) HOT 1
- Update README for current status (alpha stage)
- Clean up sample code
- Support modern looks on wxMSW by embedding application manifest HOT 2
- Change crate name and versioning HOT 1
- Use examples dir for ported wx samples HOT 1
- Dependency on vendored repo blocks publishing HOT 12
- (First) publish as alpha on crates.io HOT 1
- API shortage found in my dogfooding
- Support wx::EvtHandler.call_after()
- wx::message_box() should return the answer
- Autogen Event type support code
- Rename TypeIsOwned<bool> to TypeInRust<> HOT 1
- Fix CI build errors HOT 4
- Help getting samples going with MSYS2 installation of wxWidgets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxrust2.