Search found 5 matches

by Prime
Fri Jan 31, 2020 3:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem: build.cfg file is missing
Replies: 12
Views: 1835

Re: Compilation problem: build.cfg file is missing

Yes, my initial code was logically wrong. I had added a call to ShowModal method later, but forgot to update the posted example. And thank you for the tip about return value, my program really was a zombie and I didn't know how to fix its behaviour. I am very sorry to hear that no one cares about de...
by Prime
Fri Jan 31, 2020 9:59 am
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem: build.cfg file is missing
Replies: 12
Views: 1835

Re: Compilation problem: build.cfg file is missing

I finally managed to compile this "Hello world" with CMake. All what I needed was /subsystem:windows linker option. But wait, the resulting executable is about 3.5 mb ! Simple message box with tiny text and one button requires 3.5 mb of memory? Looks like the program is 90% dead code. I tried to use...
by Prime
Mon Jan 27, 2020 10:36 am
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem: build.cfg file is missing
Replies: 12
Views: 1835

Re: Compilation problem: build.cfg file is missing

Hi. I have added the suggested command to my CMakeLists.txt: cmake_minimum_required(VERSION 3.15) project(wxtest VERSION 0.0.1 LANGUAGES CXX) add_executable(test hello.cpp) find_package(wxWidgets REQUIRED) include(${wxWidgets_USE_FILE}) target_include_directories(test PUBLIC ${wxWidgets_INCLUDE_DIRS...
by Prime
Sat Jan 25, 2020 3:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem: build.cfg file is missing
Replies: 12
Views: 1835

Re: Compilation problem: build.cfg file is missing

Hi again. Thanks to your answers, I realized that wx-config-win cannot help me, so it's necessary to find another way of building wxWidgets-based applications. I have read the tutorial provided by PB, but that tutorial covers only manipulations inside IDE, which I am not used to. My favourite tool i...
by Prime
Mon Jan 20, 2020 7:57 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem: build.cfg file is missing
Replies: 12
Views: 1835

Compilation problem: build.cfg file is missing

Hi all. I had compiled wxWidgets 3.1.3 on Windows 10 by Visual Studio Community 2019 (16.4.3) from the developer command prompt using the following commands: cmake C:\home\sources\wxWidgets3.1.3 -DCMAKE_INSTALL_PREFIX="C:\wxWidgets" -DwxBUILD_DEBUG_LEVEL=0 -DwxUSE_EXCEPTIONS=ON -DwxBUILD_STRIPPED_RE...