Side note: use three backticks ``` before and after code blocks so spacing is preserved and you don’t get “>” and “<” errors and other weirdness is prevented.
You don’t need multiple lib_deps parameters - just put the one
lib_deps= in, press enter for a new line, and then list each library your project needs, one per line, with an indent of two spaces. I also wouldn’t use the lib_extra_dirs unless you are deliberately trying to use the version the ArduinoIDE is using, as this prevents platformio using the version it would manage for the project in the
[env:megaatmega2560] platform = atmelavr framework = arduino board = megaatmega2560 ;lib_extra_dirs = ~/Documents/Arduino/libraries lib_extra_dirs =C:\Users\CL Plane Guy 3\Documents\Arduino\libraries\Makeblock-Libraries-master\src ;lib_extra_dirs = ~/Program Files (x86)\Arduino lib_deps = Nintendo Extension Ctrl MakeBlockDrive