Regardless of the operating system, codeigniter 3 handles its rules when it comes to naming classes and files.
A class must have the first capital letter, for example:
class Blog extends CI_Controller {
public function index(){
echo 'Hello World!';
}
}
You have your class like this:
class mPDF{}
So you will not find it, you should change it to:
class Mpdf{}
Likewise the file that contains your class should be called in the same way, in your case it would be:
Mpdf.php
And when loading it, you could use lowercase.
$autoload['libraries'] = array('database', 'email', 'session', 'mpdf');
If your library is inside a directory then the upload should be done with the directory
$autoload['libraries'] = array('database', 'email', 'session', 'mpdf/mpdf');