SOLVED:
ill update this or make a fresh tutorial if i get the time and/or understanding enough of what I did to make it work(dont want to spread bad/crappy info)
original post below:
Morning fellas
Using:
TFS SDK 3.2
Boost 160
Ninjas TFS 1.2 for 8.6-client ( https://otland.net/threads/8-60-the-forgotten-server-1-2.236489/ )
Windows 10
Microsoft Visual Studio Express 2015
Following all instructions/tips at: https://otland.net/threads/compilin...s-pics-and-lots-of-explanation.204532/page-12
But still failing.
Error message:
Tried using Boost 159 and 157 aswell without success. Aswell as Mpir2.7 and the "real" Visual Studi but most other stuff than mentioned @top only gives me more errors.
thanks in advance
ill update this or make a fresh tutorial if i get the time and/or understanding enough of what I did to make it work(dont want to spread bad/crappy info)
original post below:
Morning fellas
Using:
TFS SDK 3.2
Boost 160
Ninjas TFS 1.2 for 8.6-client ( https://otland.net/threads/8-60-the-forgotten-server-1-2.236489/ )
Windows 10
Microsoft Visual Studio Express 2015
Following all instructions/tips at: https://otland.net/threads/compilin...s-pics-and-lots-of-explanation.204532/page-12
But still failing.
Error message:
1> player.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(661): error C2338: You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(675): note: see reference to class template instantiation 'std::_Atomic_base<_Ty,4>' being compiled
1> with
1> [
1> _Ty=boost::lockfree::detail::tagged_index
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<boost::lockfree::detail::tagged_index>' being compiled (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist<T,NodeStorage>' being compiled (compiling source file ..\src\outputmessage.cpp)
1> position.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(661): error C2338: You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(675): note: see reference to class template instantiation 'std::_Atomic_base<_Ty,4>' being compiled
1> with
1> [
1> _Ty=boost::lockfree::detail::tagged_index
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<boost::lockfree::detail::tagged_index>' being compiled (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_60_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist<T,NodeStorage>' being compiled (compiling source file ..\src\outputmessage.cpp)
1> position.cpp
Tried using Boost 159 and 157 aswell without success. Aswell as Mpir2.7 and the "real" Visual Studi but most other stuff than mentioned @top only gives me more errors.
thanks in advance
Last edited: