-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile inputs or render-input-markdown examples #37
Comments
The problem is probably with the clipboard. A first way to check it would be to remove it from these examples. There's a README for each of those 2 examples hinting at additional dependencies to install. Can you look this way ? I'm sorry, I can't really investigate on mac. |
Sure! Yeah looks like if I exclude the |
Doesn't look like theres a simple way to install those deps on macOS, at least not in a way that would be easily replicable for all users of termimad. Perhaps it could be reworked to rely on this crate https://lib.rs/crates/cli-clipboard which seems to handle cli app clipboards in a cross-platform way? |
I'm happy to take a gander at this for you some night this week - can't during the day unfortunately as I'm using this in a personal project ... |
There's no completely cross-platform rust clipboard crate. Mine (https://docs.rs/terminal-clipboard/latest/terminal_clipboard/) brings most specifically termux compatibility so if you manage to add mac compatibility to it, that would be better. But any POC with mac verification would be already some progress.
Well, we're all there. All those crates and programs are made for free when we find the time... |
Ok sure happy to have a look adding support there!
Haha of course, was just letting you know that I'm happy to get involved |
Description
Received a linker error when attempting to compile
inputs
andrender-input-markdown
examplesSteps to reproduce
v0.20.6
(currentmain
)cargo run --example inputs
System Info
OS: macOS Monteray v12.3
Chipset: Apple Silicon (M1 Pro)
rustc: 1.65.0 (897e37553 2022-11-02)
Expected Result
Should build and run
inputs
exampleActual Result
**Linker Error: **
Attempted Resolutions
The text was updated successfully, but these errors were encountered: