'Rust application using GTK3 compiles without errors but run give error msg

I have a small application that if I do a println!("Hello World"); compiles and runs properly. If I change the source to

...
        let app = Application::builder()
        .application_id("com.xyz_Portfolio_Tracker")
        .build();
...

This code in GTK3 will compile but give the following error message when you run the app.

        error: process didn't exit successfully:
        target\debug\xyz_tracker.exe (exit
        code:0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)

Based on research the error message supposedly points to a missing "dll". Anybody have any idea of how to find out what is missing or has solved this before.



Solution 1:[1]

Found out that the RUST compiler searches the windows path for the .lib . I had an application that had the needed .lib but of a lower version higher up in the path. Once i moved the application down in the path structure the application I was building ran.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John