projectm-visualizer / projectm-sys Goto Github PK
View Code? Open in Web Editor NEWRust FFI for projectM
License: GNU Lesser General Public License v2.1
Rust FFI for projectM
License: GNU Lesser General Public License v2.1
Lines 87 to 93 in af62b14
Based on the context and the consistent usage of projectM-4
in the rest of the file, it appears that the equal sign (=) is a typo and should be replaced with a hyphen-minus (-). Current naming of the dynamic lib causes link failure when building on Linux with release profile.
Also, the prefix of libprojectM=4
was causing errors, as on Linux systems the convention is to use the library name without the lib prefix.
So the 89'th line should look like: println!("cargo:rustc-link-lib=dylib=projectM-4")
.
While trying to build https://github.com/projectM-visualizer/frontend-sdl2-rust on macos I came across this issue:
error[E0425]: cannot find value `dst` in this scope
--> /Users/hehe/.cargo/registry/src/github.com-1ecc6299db9ec823/projectm-sys-1.0.4/build.rs:50:53
|
50 | println!("cargo:rustc-link-search=native={}/lib", dst.display());
| ^^^ not found in this scope
it appears that dst
is undefined, as there is no macos
listed in target_os conditional compilation macros listed here
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.