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:
Code: Select all
cmake C:\home\sources\wxWidgets3.1.3 -DCMAKE_INSTALL_PREFIX="C:\wxWidgets" -DwxBUILD_DEBUG_LEVEL=0 -DwxUSE_EXCEPTIONS=ON -DwxBUILD_STRIPPED_RELEASE=ON -DwxBUILD_MSVC_MULTIPROC=ON -DwxBUILD_SHARED=OFF -DwxBUILD_MONOLITHIC=ON
cmake --build . --target install --config Release -j 4
Code: Select all
wx-config-win --prefix="C:\wxWidgets" --wxcfg="vc_x64_lib\mswu" --cxxflags
File build.cfg really does not exist anywhere on my machine. As a result, wx-config-win seams to be completely unusable, but I have no idea how to link wxWidgets to my applications without this utility (or have I to type all wx and system libs manually?). The whole situation looks very strange: build.cfg is an important part of wxWidgets installation, but it is not generated by the build system.wx-config Error: No valid configuration of wxWidgets has been found at location: C:\wxWidgets\lib\vc_x64_lib\mswu\build.cfg
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud) or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud) to specify which configuration exactly you want to use.
Any thoughts about this problem, people?