Cannot initialize a parameter of type 'AppWarp::ConnectionRequestListener *' with an rvalue of type 'HelloWorldScene *'

0 votes
asked Mar 6, 2019 in Cocos2D-X by Testing Device (10 points)

1 Answer

0 votes
Hello,

Could you please share some more detail and code snippets with us, it will help us to provide better support to you from our end.

Regards,

App42 Team
answered Mar 7, 2019 by anonymous
After Add this line in HelloWorld.h file :
void onConnectDone(int res, int reasonCode);

 error show like:  

Undefined symbols for architecture i386:
  "HelloWorld::onConnectDone(int, int)", referenced from:
      vtable for HelloWorld in HelloWorld.o
  "non-virtual thunk to HelloWorld::onConnectDone(int, int)", referenced from:
      vtable for HelloWorld in HelloWorld.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi,

The team is looking into it, they need some time for the resolution, we will share an update regarding the same as soon as possible.

Regards,
App42 Team
Hi,

This Problem is solve but now another problem is occurred like

ld: library not found for -lcurl
clang: error: linker command failed with exit code 1 (use -v to see invocation)

and thanks for your response
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...