This error has to do with the install-deps-linux.sh script not installing the fmod AudioEngine on some distros. The fix is fairly easy though:
sudo cp <cocos2d-x folder>/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so /usr/local/lib/
sudo cp <cocos2d-x folder>/external/linux-specific/fmod/prebuilt/64-bit/libfmodL.so /usr/local/lib/
sudo ln -s /usr/local/lib/libfmod.so /usr/local/lib/libfmod.so.6
After that, run the install-deps-linux.sh script again and then try to compile/run your cpp-tests again. It shouldn’t have this error anymore. It should now load fmod properly, but on Parallels 11 you’ll run into my original error.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 157 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 122
Current serial number in output stream: 122