I am trying to integrate SFS into UE 4.10.1 using the documentation I found in the proof of concept example for 4.7.4. I'm attempting to recreate my own connecting actor by examining the UnrealSfsDemoCharacter provided with the example. For now, all I did was adding the include statements as in the UnrealSfsDemoCharacter.h, only with modified directories. This is what I get when I try to build .
Code: Select all
C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C4003: not enough actual parameters for macro 'check'C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C4003: not enough actual parameters for macro 'check'
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C4003: not enough actual parameters for macro 'CA_ASSUME'C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C4003: not enough actual parameters for macro 'CA_ASSUME'
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C2062: type 'void' unexpectedC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C2062: type 'void' unexpected
1>
1> C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(2122): note: see reference to class template instantiation 'boost::intrusive::slist_impl<ValueTraits,SizeType,BoolFlags,HeaderHolder>' being compiledC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(2122): note: see reference to class template instantiation 'boost::intrusive::slist_impl<ValueTraits,SizeType,BoolFlags,HeaderHolder>' being compiled
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1921): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C2059: syntax error: '{'C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C2059: syntax error: '{'
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C2334: unexpected token(s) preceding '{'; skipping apparent function bodyC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/intrusive/slist.hpp(1922): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/asio/detail/impl/win_iocp_socket_service_base.ipp(211): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'cancel_io_ex_t'
1> Calling this function through the result pointer may cause your program to failC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/asio/detail/impl/win_iocp_socket_service_base.ipp(211): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'cancel_io_ex_t'
1> Calling this function through the result pointer may cause your program to fail
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/asio/detail/impl/win_iocp_handle_service.ipp(244): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'cancel_io_ex_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/asio/detail/impl/win_iocp_handle_service.ipp(244): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'cancel_io_ex_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/thread/win32/thread_primitives.hpp(312): warning C4191: 'type cast': unsafe conversion from 'boost::detail::win32::farproc_t' to 'boost::detail::win32::detail::gettickcount64_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/thread/win32/thread_primitives.hpp(312): warning C4191: 'type cast': unsafe conversion from 'boost::detail::win32::farproc_t' to 'boost::detail::win32::detail::gettickcount64_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1627): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySystemInformation_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1627): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySystemInformation_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1834): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtSetInformationFile_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1836): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQueryObject_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1834): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtSetInformationFile_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1836): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQueryObject_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1908): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtOpenFile_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1909): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtClose_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1908): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtOpenFile_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(1909): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtClose_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2288): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySection_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2301): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySemaphore_t'
1> Calling this function through the result pointer may cause your program to failC:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2288): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySection_t'
1> Calling this function through the result pointer may cause your program to fail
1>
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2312): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQueryTimerResolution_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2319): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtSetTimerResolution_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2326): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::QueryPerformanceCounter_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2301): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQuerySemaphore_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2333): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::QueryPerformanceFrequency_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2312): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtQueryTimerResolution_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2319): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::NtSetTimerResolution_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2326): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::QueryPerformanceCounter_t'
1> Calling this function through the result pointer may cause your program to fail
1>C:\Users\nicol\OneDrive\Dokumente\Unreal Projects\POL\smartfox_api_cpp\Core\BoostAsio\Windows\boost/interprocess/detail/win32_api.hpp(2333): warning C4191: 'type cast': unsafe conversion from 'boost::interprocess::winapi::farproc_t' to 'boost::interprocess::winapi::QueryPerformanceFrequency_t'
1> Calling this function through the result pointer may cause your program to fail
Does anyone know what is causing these problems? Can anyone help me please? I really have no clue, since there seems to be something wrong with the files that are provided.
EDIT: I'm using VS2015, for both compiling the API and UE4.
Best wishes
Nicolas