Classes/AppDelegate.cpp:132: error: undefined reference to ‘SettingsLayer::createScene()’
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
I was trying to upgrade my project to version 3.17.2 c++, I’m getting these errors.
SettingsLayer is the first screen I have to launch in my game. I have put SettingsLayer.h header in the include AppDelegate.cpp. It works in iOS version with XCode but it’s not working in Android Studio and cocos console command line both.
Please help!!!