question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Console window visible in windows target

See original GitHub issue

Thank you implementing support for windows. The fast startup speed of native build is clearly felt. The build process was fairly simple and quick. The timeline in which this feature has been delivered surpasses expectation. To sum up, it was literally a thankless hard-work which the Gluon team has been doing and sharing the fruits of the hard work to the entire java community for free. And this I mean not just for windows support but also for mobile, android, ios everything put together.

Coming to the subject of this ticket, currently how the app is building seems to be as if it is executed using java.exe. In windows we have this java.exe and javaw.exe If we run in java.exe we see both the command window and the UI, whereas javaw,exe suppress the console window. This is fine for debugging but how do we stop the console window from showing? This needs to be fixed, or if there is flag which needs to be set to enable/disable this behavior, that flag needs to be documented, and probably highlighted in bold or something to be easily noticeable in the docs page.

Also I am sure soon other features like setting the icon of the executable will be added in future (if not already there). Even while it is experimental it should be clearly documented otherwise we might not come to know this without asking. Finally I think the client:package feature is pending implementation, which is ok, but I am just mentioning it because I don’t know if it is not implemented yet, or it just didn’t work for me. Probably a single status page (or just a human written page mentioning the status) of what is implemented and what is pending will help. If such a page is already there, it should be linked in the gluon docs. Sure there are tickets which might help in assessing what is done what is pending, but it is split across a projects like substrate and client-plugin etc, it wouldn’t be easy to know.

image

Apart from what is mentioned in the guide https://docs.gluonhq.com/client/ which says

During the installation process, make sure that you select at least the following individual components:
- Choose the English Language Pack
- C++/CLI support for v142 build tools (14.25 or later)
- MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.25 or later)
- Windows Universal CRT SDK
- Windows 10 SDK (10.0.19041.0 or later)

I had to also install Build Tools for Visual Studios 2019 because first it said cannot find cl and then when I added this to the path, it said cannot find stdio.h I am documenting this so that others don’t face the same problem. Probably the documentation could be updated to explain how to fix the cl not found and stdio.h not found error message.

Thank you

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tiainencommented, Jun 2, 2020

You do indeed need to use the snapshot version 0.1.27-SNAPSHOT. To be able to test it, you have to add the oss sonatype snapshots repository to your pom.xml:

<pluginRepositories>
    <pluginRepository>
        <id>oss-sonatype-snapshots</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
   </pluginRepository>
</pluginRepositories>
1reaction
tiainencommented, May 29, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I show a console output/window in a forms application?
Create a Windows Forms Application, and change the output type to Console. ... get a valid stream but it doesn't appear to write...
Read more >
Console Window shown when running GUI on Windows, (0.10 ...
If, however, I build AND run the app on Windows, the console window does not appear as expected. However, it should be possible...
Read more >
Console Class (System) | Microsoft Learn
The console is an operating system window where users interact with the operating system or with a text-based console application by entering text...
Read more >
Sometimes run without debug never displays the console ...
1) Make a console app. 2) Run without debugging 3) Sometimes the window doesn't appear. If it starts to not appear, it never...
Read more >
Console Window - Unity - Manual
B. The Console window menu has options for opening Log files, controlling how much of each message is visible in the list, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found