Skip to content

Build error in windows #48

@fpawel

Description

@fpawel

I downloaded iup-3.14_Win64_dllw4_lib.zip, copied its contents in \Rust\bin\ and \Rust\lib\rustlib\x86_64-pc-windows-msvc\lib\. then I ceated a hello-world project with

[dependencies.kiss-ui]
git = "https://github.com/cybergeek94/kiss-ui"

and

#[macro_use]
extern crate kiss_ui;

use kiss_ui::container::Horizontal;
use kiss_ui::dialog::Dialog;
use kiss_ui::text::Label;


fn main() {
    kiss_ui::show_gui(|| {
        Dialog::new(
            Horizontal::new(
                children![
                    Label::new("Hello, world!"),
                ]
            )
        )
        .set_title("Hello, world!")
        .set_size_pixels(640, 480)
    });
}

Next I got this build error:

error: linking with `link.exe` failed: exit code: 1181
...
note: Non-UTF-8 output: LINK : fatal error LNK1181: \xed\xe5 \xf3\xe4\xe0\xe5\xf2\xf1\xff \xee\xf2\xea\xf0\xfb\xf2\xfc \xe2\xf5\xee\xe4\xed\xee\xe9 \x
f4\xe0\xe9\xeb \"iup.lib\"\r\n
error: aborting due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions