Skip to content
Advertisement

Tag: poco-libraries

How to launch the same linux process with different arguments in multiple threads with Poco process

When trying to launch the same C++ Linux program, with different arguments and with Poco::process, I get exit 72 code from my second DummyProcess. This code snippet below is executed in a thread function, which launches every other time, with different task and duration arguments. When task-1 is running and task-2 wants to launch, its PID gets assigned (different then

Building Poco with Custom OpenSSL

I need to build Poco using the OpenSSL that I built from source, rather than the one installed by Ubuntu’s apt. Let’s say my OpenSSL root is in /opt/openssl/1.0.2. Do I need to set environment variables, or pass parameters to the configure or make steps? I’m not finding any info in the docs, or anywhere else, on how to do

Poco C++ Libraries: “Not found: mysql”

I am using poco-1.7.7 with MySQL. I am building with g++ on Ubuntu. Building, linking and running works fine. However, when a Data Session is created, an exception “Not found: mysql” is thrown: The mysql client is installed and is part of $PATH. Additional information: I am running Ubuntu using Docker. See below for Makefile. The same code can connect

Advertisement