Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[paho-mqttpp3] paho-mqtt with feature ssl #39960

Closed
Manfred-O opened this issue Jul 17, 2024 · 4 comments
Closed

[paho-mqttpp3] paho-mqtt with feature ssl #39960

Manfred-O opened this issue Jul 17, 2024 · 4 comments
Assignees
Labels
requires:repro The issue is not currently repro-able Stale

Comments

@Manfred-O
Copy link

Is your feature request related to a problem? Please describe.

I wanted to use the paho c++ sync client together with ssl support, but it tells me "Error: MQTT error [-13]: SSL is not supported [0]" when running the programm. Now i'm getting a little bit confused because while downloading and compiling with vcpkg i see that there are dependencies to openssl. So can't figure out what went wrong. I went thru the "vcpkg\ports\paho-mqttpp3\profile.cmake" paho port and i'm recognizing that it is compiled against.
set(PAHO_C_LIBNAME paho-mqtt3as)
which is the async secure one. Does that get me the error.

Proposed solution

How can i get that to work.

Describe alternatives you've considered

No response

Additional context

I posted also to the github paho repository.
"eclipse-paho/paho.mqtt.cpp#506"

@Manfred-O Manfred-O added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jul 17, 2024
@WangWeiLin-MV WangWeiLin-MV changed the title paho-mqtt with feature ssl [paho-mqtt] paho-mqtt with feature ssl Jul 18, 2024
@WangWeiLin-MV WangWeiLin-MV changed the title [paho-mqtt] paho-mqtt with feature ssl [paho-mqttpp3] paho-mqtt with feature ssl Jul 18, 2024
@WangWeiLin-MV
Copy link
Contributor

Could you help provide a minimal CMake example?

@WangWeiLin-MV WangWeiLin-MV added requires:repro The issue is not currently repro-able and removed category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Jul 18, 2024
@Manfred-O
Copy link
Author

I'm not an expert in cmake. I tried to build paho statically and with ssl support by downloading those two repositories and build them but no luck in my project. I try to use the vcpkg for paho as an dll now. This do work, but i have some other libs like json c++ build as static. How can in setup visualstudio to use both
static and shared vcpkg.

@dg0yt
Copy link
Contributor

dg0yt commented Jul 18, 2024

I don't know enough about the specific problem, and I do not have MSVS. But port paho-mqttpp3 doesn't look healthy...

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Aug 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able Stale
Projects
None yet
Development

No branches or pull requests

3 participants