SFS2X_API_Cpp_v1.6.3 compiling woes
Posted: 27 Jan 2016, 14:04
Hi all.
We are planning to use SFS with our UE4 engine and were very excited to see that you updated your api to be compatible with VS2015.
I have followed the api compiling directions located at http://docs2x.smartfoxserver.com/Gettin ... nt-api-cpp
I downloaded the api, extracted the zip.
Ran the b2 commands replacing msvc-10.0 with msvc-14.0
All ran fine and created the 10 lib files.
Then I opened the solution from the vs2015 folder.
Your next step calls for rebuild for both debug and release. At this point I had to switch the platform from Itanium to X64
I had to add the [apifolder]\Core\BoostAsio\Windows to include of the project to even start the compile (isn't very clear from the directions to do this before building)
Now we went to build......
after some waiting, things started screaming about not being able to open the openssl/insertrandomfilefromthedirectory.h
the first instance of this error occurs with opens_types.hpp
Tried adding the folder containing openssl folder to additional header path and/or additional include path
Ultimately none of it seemed to work until I placed a copy of the openssl folder contents from
[api_folder]\Core\openssl\Win\include
to
[api_folder[]\openssl\
Then the dozens of reference errors went away... yay.
Onto the next error now....
[api_folder]\Util\CryptoInitializer.cpp
Error C2039 'future': is not a member of 'boost' SmartFoxClientApi [api_folder]\util\cryptoinitializer.cpp 72
at this point I am 3 days into trying to compile this thing and thought to myself, surely it can not be this complicated and I am making an idiot mistake somewhere.
Any guidance would be greatly appreciated!
Thanks
We are planning to use SFS with our UE4 engine and were very excited to see that you updated your api to be compatible with VS2015.
I have followed the api compiling directions located at http://docs2x.smartfoxserver.com/Gettin ... nt-api-cpp
I downloaded the api, extracted the zip.
Ran the b2 commands replacing msvc-10.0 with msvc-14.0
All ran fine and created the 10 lib files.
Then I opened the solution from the vs2015 folder.
Your next step calls for rebuild for both debug and release. At this point I had to switch the platform from Itanium to X64
I had to add the [apifolder]\Core\BoostAsio\Windows to include of the project to even start the compile (isn't very clear from the directions to do this before building)
Now we went to build......
after some waiting, things started screaming about not being able to open the openssl/insertrandomfilefromthedirectory.h
the first instance of this error occurs with opens_types.hpp
Tried adding the folder containing openssl folder to additional header path and/or additional include path
Ultimately none of it seemed to work until I placed a copy of the openssl folder contents from
[api_folder]\Core\openssl\Win\include
to
[api_folder[]\openssl\
Then the dozens of reference errors went away... yay.
Onto the next error now....
[api_folder]\Util\CryptoInitializer.cpp
Error C2039 'future': is not a member of 'boost' SmartFoxClientApi [api_folder]\util\cryptoinitializer.cpp 72
at this point I am 3 days into trying to compile this thing and thought to myself, surely it can not be this complicated and I am making an idiot mistake somewhere.
Any guidance would be greatly appreciated!
Thanks