Dear Dealii_group,

I am currently learning Dealii and have successfully compiled dealii-9.6.0 
using Visual Studio 2019 with the default settings, without encountering 
any issues.
 However, after creating a blank C++ project in Visual Studio 2019 and 
copying the code from the step-1 tutorial into the project, I encountered 
the following errors during debugging:


Error C2995: “T desul::Impl::atomic_oper_fetch(const Oper &,T *const 
,dont_deduce_this_parameter<const T>::type,MemoryOrder,MemoryScope)”: 
function template already defined step1 
C:\dealii-9.6.0\deal.II\bundled\kokkos-3.7.00\tpls\desul\include\desul\atomics\Generic.hpp
 
326

Error C2995: “T desul::Impl::atomic_fetch_oper(const Oper &,T *const 
,dont_deduce_this_parameter<const T>::type,MemoryOrder,MemoryScope)”: 
function template already defined step1 
C:\dealii-9.6.0\deal.II\bundled\kokkos-3.7.00\tpls\desul\include\desul\atomics\Generic.hpp
 
247

Error C2572: “desul::Impl::atomic_oper_fetch”: redefinition of default 
argument: parameter 5 step1 
C:\dealii-9.6.0\deal.II\bundled\kokkos-3.7.00\tpls\desul\include\desul\atomics\Generic.hpp
 
319

Error C2572: “desul::Impl::atomic_fetch_oper”: redefinition of default 
argument: parameter 5 step1 
C:\dealii-9.6.0\deal.II\bundled\kokkos-3.7.00\tpls\desul\include\desul\atomics\Generic.hpp
 
240
Despite multiple attempts, I have not been able to resolve the issue. Could 
you please advise me on how to fix this?

Thank you in advance.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/80d9b6c3-3771-47d2-9d60-a96244f2c04fn%40googlegroups.com.

Reply via email to