-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[Bug]: unable to build due to Vc on OpenBSD 7.6 #2073
Comments
Likely no. Do you mind providing the whole build log? It contains a lot of useful information and will reduce back-and-forth a lot. |
Where is the build log? |
You included the end of it in the issue. Example of mine-- CMAKE_C_FLAGS: -- CMAKE_CXX_FLAGS: -pthread -- CMAKE_C_FLAGS_DEBUG: -g -- CMAKE_CXX_FLAGS_DEBUG: -O0 -g -- CMAKE_C_FLAGS_MINSIZEREL: -Os -DNDEBUG -- CMAKE_CXX_FLAGS_MINSIZEREL: -Os -DNDEBUG -- CMAKE_C_FLAGS_RELEASE: -O3 -DNDEBUG -- CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG -- CMAKE_C_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG -- CMAKE_BUILD_TYPE: Debug -- Looking for clock_gettime -- Looking for clock_gettime - found -- Found Lua: /usr/lib/liblua5.4.so;/usr/lib/libm.so (found suitable version "5.4.7", minimum required is "5.3") CMake Warning (dev) at 3rdparty/Vc/cmake/VcMacros.cmake:65 (exec_program): Policy CMP0153 is not set: The exec_program command should not be called. Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Except yours ends with the error you already provided. Mine has a different error because I did build conky incorrectly. |
Hmm interestingly enough, OpenBSD does have sincos is math.h (since 2018). |
What happened?
I cloned the latest from github and after extracting it and adding a build directory and cd-ing to that directory, I type cmake ../ and there is scrolling on the erminal and I get the following
-- Build files have been written to: /home/sheldoni/Downloads/conky/build
and it stops. So I see that there is a makefile now in build and I type make and I get the following error
In file included from /home/sheldoni/Downloads/conky/build/3rdparty/Vc/trigonometric_SSE2.cpp:31:
In file included from /home/sheldoni/Downloads/conky/3rdparty/Vc/Vc/vector.h:221:
/home/sheldoni/Downloads/conky/3rdparty/Vc/Vc/scalar/math.h:118:7: error: no member named 'sincos' in the global namespace
::sincos(x.data(), &sin->data(), &cos->data());
~~^
1 error generated.
*** Error 1 in . (3rdparty/Vc/CMakeFiles/Vc.dir/build.make:186 '3rdparty/Vc/CMakeFiles/Vc.dir/trigonometric_SSE2.cpp.o': cd /home/sheldoni/D...)
*** Error 2 in . (CMakeFiles/Makefile2:367 '3rdparty/Vc/CMakeFiles/Vc.dir/all': make -s -f 3rdparty/Vc/CMakeFiles/Vc.dir/build.make 3rdparty...)
*** Error 2 in /home/sheldoni/Downloads/conky/build (Makefile:156 'all': make -s -f CMakeFiles/Makefile2 all)
Am I doing something wrong?
Version
latest cloned version
Which OS/distro are you seeing the problem on?
Linux (other)
Conky config
No response
Stack trace
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: