error LNK2019: unresolved external symbol “public: static class cocos2d::network::HttpClient * __cdecl cocos2d::network::HttpClient::getInstance(void)” (?getInstance@HttpClient@network@cocos2d@@SAPAV123@XZ) referenced in function “public: void __thiscall Game::ExtractLevelFromFile(char *)”
i included the network proj to my solution, i also tried adding libnetwork.lib to properties->linker->input->additional dependencies, but no help the error persist.
In Library Paths you only add the path where the lib resides. The issue is, that you are not adding it as an absolute or relative path. Don’t add anything like include files ore paths to source code.
If you have set an environment variable COCOS2DX to your cocos2d-x root directory and you are compiling for armabi, you would add: ${COCOS2DX}\external\curl\prebuilt\android\armeabi
In Libraries you set the libs to link with, but without the lib prefix and any extension: curl
@BilalHaider glad to know that you fixed that!
I have a same problem with libGUI, I added the whole libGUI project to my game dependencies (msvs2010), but still get the same linker error