eclipse-paho / paho.mqtt.cpp

Other
1.03k stars 438 forks source link

build cpp on windows x64 vs2019 #492

Closed stan1334 closed 6 months ago

stan1334 commented 6 months ago

d/code/mqtt-benchmark/src/paho.mqtt.cpp (master) $ cmake -Bbuild -H. -DCMAKE_INSTALL_PREFIX=C:\mqtt\paho-cpp -DPAHO_BUILD_SAMPLES=ON -DPAHO_WITH_SSL=OFF -DCMAKE_PREFIX_PATH=C:\mqttpaho-c CMake Error at CMakeLists.txt:27 (project): Generator

Visual Studio 17 2022

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!

mqttpaho-c already build&&install image

guid Visual Studio 2015 or newer how to build paho.mqtt.cpp source on Visual Studio 16 2019