C/C++

Installing protobuf for Windows 11, Visual Studio 2022, C++, cmake

These are my notes on using protobuf as part of a recent experiment. For these notes, I an using Microsoft Windows 11, Visual Studio 2017, cmake 3.22.1, and protobuf 3.20.1. Acquire source code Download the version-specific, language-specific distribution file: https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protobuf-cpp-3.20.1.zip (this can be found from the distribution page as newer releases are made available (https://github.com/protocolbuffers/protobuf/releases). …

Installing protobuf for Windows 11, Visual Studio 2022, C++, cmake Read More »

Installing boost on Windows 10

This is for boost 1.75.0. I’m using Visual Studio 2019. Download https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.zip Extract boost_1_75_0.zip to C:\ (adds a folder named boost_1_75_0) Open x64 Native Tools Command Prompt for Visual Studio 2019 and run the following commands… cd boost_1_75_0bootstrap.bat.\b2

Building Qt5 for Windows 10

These notes were originally adapted from the information provided at this link: https://wiki.qt.io/Building_Qt_5_from_Git and focus on Windows 10, Visual Studio 2019 (64 bit), Qt v5.15.X and some nuances and issues encountered. They have also evolved as I’ve needed to come back and refer to them (or have discovered changes in the Qt scripts). Setup build tools …

Building Qt5 for Windows 10 Read More »

Enabling and testing core dumps in RHEL7/CentOS7

Temporarily enable core dumps: Test creation of core dump file: The output of this test should be “Segmentation fault (core dumped)” and you should get a file named something like “core-crash-sig11-user1000-group1000-…” in your /tmp/ directory.