[cocos2dx]muticpp compile error slove

You must add the reference of the new cpp file into the Android.mk of the corresponding jni directory.

In my case, the "Android.mk" file is in the route: {PROJ_DIRECTORY}proj.androidjni

Edit this file, and add the reference to your CCParallaxNodeExtras cpp as follows:

In the LOCAL_SRC_FILES section you currently have:

LOCAL_SRC_FILES := hellocpp/main.cpp 
                   ../../Classes/AppDelegate.cpp 
                   ../../Classes/HelloWorldScene.cpp

Now include the CCParallasNodeExtras.cpp . It should look as follows:

LOCAL_SRC_FILES := hellocpp/main.cpp 
                   ../../Classes/AppDelegate.cpp 
                   ../../Classes/HelloWorldScene.cpp  
                   ../../Classes/CCParallaxNodeExtras.cpp

This should solve the problem. Build and run.