Make sure you've got everything needed for C++ compilation and more. This is part of base-devel
, and you should be able to figure out how to install it on Arch / Manjaro.
Install the proprietary nVidia drivers. Follow the Manjaro Wiki Guide. For most operations, you'll use mhwd
, which is Manjaro's driver management utilty. In my case, I did a PRIME offload setup, with hybrid drivers.