difference between std::string and std::string_view
I’m a little familiar with the std type std::string but I never see std::string_view before. std::string_view is brought by c++17. Now, I see it and wonder if there is some […]
I’m a little familiar with the std type std::string but I never see std::string_view before. std::string_view is brought by c++17. Now, I see it and wonder if there is some […]
What is the difference between Developer Command Prompt and x64 Native Tools Command Prompt of Visual Studio in 64bit Windows? The important environment variables set in x64 Native Tools Command […]
You may have installed multiple versions of Visual Studio on your computer. How to get the information of all the installed instances of Visual Studio? You can run the following […]
I recall there was an option under the Debug menu of Visual Studio to let you debug an existing program, but I cannot find the option now. Click the Debug […]
Download podofo source code from https://github.com/podofo/podofo/tree/master and unzip the source into c:\podofo Open a Developer Command Prompt for VS xxxx create a build directory podofobuild and cd to that directory […]
If you ever built a program using CMake, you must have encountered errors like: Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Could NOT find Libidn (missing: LIBIDN_LIBRARY LIBIDN_INCLUDE_DIR) Could NOT […]
I followed this article to learn how to use vcpkg and got this error: C:\vcpkg\helloworld>cmake –preset=default Preset CMake variables: CMAKE_TOOLCHAIN_FILE=””C:\vcpkg”/scripts/buildsystems/vcpkg.cmake” CMake Error at C:/CMake/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:130 (message): Could not find toolchain file: […]
I used to work with Qt5/Qt4, where you can open a project by clicking the .pro file in the folder of the project. But today after downloading a QT6 project, […]
I once built Qt from source but forget now which version of compilers I used to build it. In the config.summary, I found the following string: Building for: win32-msvc (x86_64, […]
After installing Visual Studio, you may find programs with the same name appear in different folders such as the program cl.exe. There are several cl.exe’s: C:\Microsoft Visual Studio\xxxx\Community\VC\Tools\MSVC\xx.xx.xx.xx\bin\HostX86\x86\cl.exe C:\Microsoft Visual […]