Closed NoelJacob closed 3 months ago
main.rs:
// #![windows_subsystem = "windows"]
use fltk::{prelude::*, *};
// use window_vibrancy::{apply_acrylic, apply_blur, apply_mica};
fn main() {
let a = app::App::default().with_scheme(app::Scheme::Gtk);;
let mut w = window::Window::default().with_size(400, 300);
w.end();
w.show();
// apply_acrylic(&w, Some((10, 10, 10, 90))).expect("Unsupported platform! 'apply_acrylic' is only supported on Windows");
a.run().unwrap();
}
Cargo.toml:
[package]
name = "simple-fltk"
license = "AGPL-3"
version = "0.0.1"
edition = "2021"
[dependencies]
fltk = { version = "1.4.26", features = [ "rwh06" ] }
#glow = "0.13.1"
#window-vibrancy = "0.5.0"
There is no support for windows msvc target.
When I compile an simple fltk demo app, I get the following error: