VSC 2013, cocos2d-x 3.4 Link Error Using WebView

Asked 2 years ago, Updated 2 years ago, 117 views

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

2022-09-30 17:51

1 Answers

WebView is only available on iOS and Android.

This post was posted as a community wiki based on @h2so5's comments.


2022-09-30 17:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.