Thanks for the clarification and for creating the ticket—sounds good for now!
On Tue, 29 Apr 2025 at 19:29, Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de> wrote: > > This should work for our GUI applications like MitkWorkbench. However, I > double-checked and noticed that the setting influences our console > applications as well, which can be considered a bug as-is. For now I advice > to live with the console window until we fix it. I'll create an issue ticket > for the topic. Thanks for reporting! > > Best, > Stefan > ________________________________________ > Von: Mujassim Jamal <mujassimjama...@gmail.com> > Gesendet: Dienstag, 29. April 2025 08:11 > An: Dinkelacker, Stefan > Cc: mitk-users@lists.sourceforge.net > Betreff: Re: [Extern] - [mitk-users] How to hide or disable the console > window at startup > > Thanks for pointing that out. I tried changing it, and now it does > show "Windows (/SUBSYSTEM:WINDOWS)" in the SubSystem property. > However, I'm now getting another error: > > unresolved external symbol WinMain referenced in function "int __cdecl > __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ). > > On Tue, 29 Apr 2025 at 10:21, Dinkelacker, Stefan > <s.dinkelac...@dkfz-heidelberg.de> wrote: > > > > It is an MITK-build setting, not a superbuild setting. Make sure to set it > > while the MITK-build subfolder is selected as build folder in CMake GUI. > > Hence, you do not need to rebuild anything on superbuild level. > > > > ________________________________ > > From: Mujassim Jamal <mujassimjama...@gmail.com> > > Sent: Monday, April 28, 2025 11:12:20 AM > > To: Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de> > > Cc: mitk-users@lists.sourceforge.net <mitk-users@lists.sourceforge.net> > > Subject: Re: [Extern] - [mitk-users] How to hide or disable the console > > window at startup > > > > Hi Stefan, > > > > I have built MITK on Windows 10. Here are the steps I followed, but > > the console window still appears: > > 1. In the Visual Studio IDE, under the MITK-build project's > > CMakeLists.txt, I turned OFF MITK_SHOW_CONSOLE_WINDOW. > > 2. Opened CMake-GUI and regenerated the CMake files by clicking the > > Generate button. > > 3. Opened the MITK-superbuild.sln from CMake-GUI itself by clicking > > the Open Project button. > > 4. Rebuilt the solution, then opened MITK.sln and ran the Workbench, > > but the console window still appears. > > > > The SubSystem property still shows Console (/SUBSYSTEM:CONSOLE). When > > I explicitly printed the value of MITK_SHOW_CONSOLE_WINDOW, it shows > > ON even though it is set to OFF. Maybe it is related to a CMake cache > > issue? > > > > Best, > > Mujassim > > > > On Mon, 28 Apr 2025 at 00:47, Dinkelacker, Stefan > > <s.dinkelac...@dkfz-heidelberg.de> wrote: > > > > > > Hi, > > > > > > I just switched off MITK_SHOW_CONSOLE_WINDOW to OFF in my develop branch > > > MITK-build and the console window disappeared. Which OS and version are > > > you using? Did you regenerate the CMake files after switching it off? > > > > > > It is supposed to influence the "Linker > System > SubSystem" project > > > property of the MitkWorkbench project in the MITK solution. Instead of > > > "Console (/SUBSYSTEM:CONSOLE)" it should display "Windows > > > (/SUBSYSTEM:WINDOWS)". > > > > > > Best, > > > Stefan > > > ________________________________________ > > > Von: Mujassim Jamal <mujassimjama...@gmail.com> > > > Gesendet: Sonntag, 27. April 2025 06:19 > > > An: mitk-users@lists.sourceforge.net > > > Betreff: [Extern] - [mitk-users] How to hide or disable the console > > > window at startup > > > > > > Hi again, > > > > > > I want to hide or disable the console window that appears at the > > > startup of MitkWorkbench. I tried building MITK by setting > > > MITK_SHOW_CONSOLE_WINDOW to OFF in CMake-GUI. However, the console > > > window still appears. > > > > > > I would appreciate any help. > > > > > > Best, > > > Mujassim > > > > > > > > > _______________________________________________ > > > mitk-users mailing list > > > mitk-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/mitk-users _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users