I’m trying to use POCO libraries with my UE4 blueprint project. Its a blueprint first project but I’m writing C++ sockets to communicate with the server.
I’ve followed this tutorial to link static libraries. However when I try to build my project I get these errors
Error 77 error C2062: type ‘void’ unexpected D:\USC Projects\ssctf2\ThirdParty\Poco\Includes\Poco\NumericString.h 261 1 ssctf
Error 78 error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body D:\USC Projects\ssctf2\ThirdParty\Poco\Includes\Poco\NumericString.h 261 1 ssctf
Error 79 error C2059: syntax error : ‘{’ D:\USC Projects\ssctf2\ThirdParty\Poco\Includes\Poco\NumericString.h 262 1 ssctf
Error 105 error C4541: ‘dynamic_cast’ used on polymorphic type ‘Poco::AbstractDelegate’ with /GR-; unpredictable behavior may result D:\USC Projects\ssctf2\ThirdParty\Poco\Includes\Poco\FunctionDelegate.h 287 1 ssctf
I’m using this project as reference for the socket programming.
I came across this discussion where he points out to use bUseRTTI when building the project. I’m not quite sure how to do this as I do not have the source code checked out. I have edited the Build.cs files which inherits from ModuleRules.
I’m a newbie to programming in C++ and UE4. Please help me out!
Thank you.