-
Notifications
You must be signed in to change notification settings - Fork 49
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
Building error #289
Comments
You can deactivate the build of the test with CMake as follows: |
Thank you for your response, i use the proxsuite\include\proxsuite header files in extrernal library of my project ,
|
Could you provide a reproducible set of commands to execute to test on our side? |
@jorisv Could you follow this issue? |
C:\Users\mesmaeil\Downloads\proxsuite\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1): error C3546: '...': C:\Users\mesmaeil\Downloads\proxsuite\include\proxsuite\linalg\veg\type_traits\invocable.hpp(28,1): error C3546: '...': C:\Users\mesmaeil\Downloads\proxsuite\include\proxsuite\linalg\veg\type_traits\invocable.hpp(30,1): error C3546: '...': |
Also In Proxsuite when i try to compile and build with cmake .. -DBUILD_BENCHMARK=ON i get the same template error C:\Users\mesmaeil\Documents\proxsuit-m\proxsuite\include\proxsuite\linalg\veg\type_traits\invocable.hpp(24,1): error C3 |
Hello @mahdad-es, I'm able to reproduce your issue on Windows. I will try to understand the problem. |
Hello @mahdad-es, #290 should fix your problem. |
Hello @jorisv |
Hello @mahdad-es, Sorry, I can't reproduce this error. Can you try to build the standalone proxsuite project ? (no the proxsuite header inside your project) |
|
Hello @mahdad-es, It's strange that proxsuite is building as a standalone project but not inside your project. |
Hello @jorisv |
Hello @mahdad-es, I tried to use same compile flags than you when building proxsuite but I still can't reproduce the issue. Can you provide me a minimal CMake project with some code that will allow me to reproduce your issue ? Thank you |
Thank you for your reply. |
Hello |
Hello @mahdad-es, Thank for the code. I was able to reproduce the issue and I find the error. You need to give the /fpermissive- compiler option when building proxsuite on Windows . I strongly recommend you to not embed the proxsuite source in your project. Instead, install it, find the target with find_package and link your project with it. All the defines needed to build are defined in this target, so you wouldn't have had this problem. |
I will close this issue as it seems to be solved thanks to the recommendations provided by @jorisv. |
|
I am using Visual Studio 17 2022, when i try to build the proxsuite, i get template error , the configeration of project for MSVC is as follows "PS C:\Users\mesmaeil\Documents\proxsuit-m\proxsuite\build> cmake ..
-- Building for: Visual Studio 17 2022
-- Configuring "proxsuite" (http://github.com/Simple-Robotics/proxsuite)
-- Package version (ROS package.xml): 0.6.1
-- The CXX compiler identification is MSVC 19.38.33133.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: C:/cygwin64/bin/pkg-config.exe (found version "2.1.0")
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- [Proxsuite] Using C++ standard: 17
-- Found Simde: C:/Users/mesmaeil/Downloads/simde-master/simde-master/simde
-- Found Git: C:/Users/mesmaeil/AppData/Local/Programs/Git/cmd/git.exe (found version "2.43.0.windows.1")
-- Found Matio: C:/Users/mesmaeil/Downloads/vcpkg/packages/matio_x64-windows/lib/libmatio.lib
-- Configuring done (2.8s)
-- Generating done (0.3s)
-- Build files have been written to: C:/Users/mesmaeil/Documents/proxsuit-m/proxsuite/build"
"constructible.hpp(52,1): erro
r C3546: '...': there are no parameter packs available to expand [C:\Users\mesmaeil\Documents\proxsuit-m\proxsuite\buil
d\test\proxsuite-test-util.vcxproj]
(compiling source file '../../test/src/util_f64.cpp')
C:\Users\mesmaeil\Documents\proxsuit-m\proxsuite\include\proxsuite\linalg\veg\type_traits\constructible.hpp(52,1):
the template instantiation context (the oldest one first) is
C:\Users\mesmaeil\Documents\proxsuit-m\proxsuite\include\proxsuite\linalg\veg\type_traits\constructible.hpp(56,
1):
see reference to class template instantiation 'proxsuite::linalg::veg::concepts::_veg_detail::test_sfinae_inpla
ce_constructible<void,T,Ts...>' being compiled"
The text was updated successfully, but these errors were encountered: