When building cocos2d-x 3.4 code containing webView in Visual Studio Community 2013, the following link error occurs:
error LNK2019:unresolved external symbol "_declspec(dlimport)public:static class
cocos2d::experimental::ui::WebView*__cdecl cocos2d::experimental::ui::webView::create(void)"(_imp_?create@WebView@ui@experimental@cocos2d@@SAPAV1234@XZ)is function "public:virtual pool_thiscall(inWorld)inWorld@Hell_@Hell_@?
How do I deal with this error?
c++ cocos2d-x
WebView is only available on iOS and Android.
This post was posted as a community wiki based on @h2so5's comments.
© 2024 OneMinuteCode. All rights reserved.