AG Algorithmic Adventurer

This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use our website. Read all about our Privacy Policy / GDPR here.

I agree

Software Development

macOS Mojave missing C++ headers

I ran into some issues in compiling vcpkg on macOS 10.14.6 (Mojave). First one was that I needed to use gcc instead of Apple Clang Compiler. brew fixed that problem. But then the compiler sends the following build failures: [6/66] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/archives.cpp.o FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/arch... Read more

Embedding Python3 into Qt5 C++ project with pybind11

The project I am working on right now requires an embedded python interpreter where you can load python scripts and the software reacts to it. The software is developed in C++11 with the Qt5 framework. To make the python interpreter available in my application I use the pybind11 library. Dev Environment My working environment is macOS 10.14, ... Read more

Qt 5.13 MySql connection on macOS Mojave and MAMP

Today I went crazy because I tried to connect to a mysql server, running inside a MAMP session, using Qt 5.13 on macOS Mojave. This is what I did. First I created a demo project with Qt Creator. A console program. Very basic. // Filename main.cpp #include <QCoreApplication> #include <QtSql> #include <QDebug> int main(int arg... Read more