Hello, I'm new to cmake and I'm having some test failures after compiling the latest version (7.3.5).
I am testing the dll with a series of Delphi unit tests and when I cmake/build the 7.3.5 dll all of my curve encryption tests are failing. I can trace the issue to method zmq_setsockopt in zmq.h (line 250) always returning -1. My parameters are as follows: zmq_setsockopt([some memory location], 47, [some memory location], 4). When I build and test the previous version of libzmq (7.3.4), I do not have this issue.
My instinct is that I'm failing to compile the dll with curve enabled because I am able to set other socket options with the same dll, but every option related to curve encryption fails.
Below is my CMakeLists file for the 7.3.5 version that fails the tests:
CMakeLists.txt_7.3.5
And below is the same for the 7.3.4 version that passes the tests:
CMakeLists_7.3.4.txt
The only changes I've made manually are the changes to the curve encryption options, turning BUILD_STATIC off, and adjusting the cmake_minimum_required version to compile. I'm building via the cmake tools in Visual Studio 26, with cmake version 4.3.0-rc2 installed.
Any help or guidance here would be appreciated. As I said before, this is my first foray into cmake so if there is any other information I can provide please let me know.
Thanks,
Tristan
Hello, I'm new to cmake and I'm having some test failures after compiling the latest version (7.3.5).
I am testing the dll with a series of Delphi unit tests and when I cmake/build the 7.3.5 dll all of my curve encryption tests are failing. I can trace the issue to method zmq_setsockopt in zmq.h (line 250) always returning -1. My parameters are as follows: zmq_setsockopt([some memory location], 47, [some memory location], 4). When I build and test the previous version of libzmq (7.3.4), I do not have this issue.
My instinct is that I'm failing to compile the dll with curve enabled because I am able to set other socket options with the same dll, but every option related to curve encryption fails.
Below is my CMakeLists file for the 7.3.5 version that fails the tests:
CMakeLists.txt_7.3.5
And below is the same for the 7.3.4 version that passes the tests:
CMakeLists_7.3.4.txt
The only changes I've made manually are the changes to the curve encryption options, turning BUILD_STATIC off, and adjusting the cmake_minimum_required version to compile. I'm building via the cmake tools in Visual Studio 26, with cmake version 4.3.0-rc2 installed.
Any help or guidance here would be appreciated. As I said before, this is my first foray into cmake so if there is any other information I can provide please let me know.
Thanks,
Tristan