Skip to content

Compiling the library unsuccesfull #358

Closed Answered by redboltz
mcsmit asked this question in Q&A
Discussion options

You must be logged in to vote

For msvc, I guess that you need to find OpenSSL using cmake.
https://cmake.org/cmake/help/v3.25/module/FindOpenSSL.html

Linux case, for example compiling cl_cpp17_mqtt_pub, memory consumption is about 1.2GB.

/usr/bin/time -v make cl_cpp17_mqtt_pub   
[  0%] Building CXX object example/CMakeFiles/cl_cpp17_mqtt_pub.dir/cl_cpp17_mqtt_pub.cpp.o
[100%] Linking CXX executable cl_cpp17_mqtt_pub
[100%] Built target cl_cpp17_mqtt_pub
        Command being timed: "make cl_cpp17_mqtt_pub"
        User time (seconds): 24.27
        System time (seconds): 1.37
        Percent of CPU this job got: 99%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:25.78
        Average shared text size (kbytes)…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mcsmit
Comment options

@mcsmit
Comment options

@redboltz
Comment options

@mcsmit
Comment options

Answer selected by mcsmit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants