In project:
(1) add the .h include.
(2) add the lib:
blas.lib
clapack.lib
libF77.lib
libI77.lib
In file:
//!CLapack.
#ifdef small
#undef small //must be done, otherwise small would be regarded as char.
#endif
extern "C"{
#include<f2c.h>
#include<blaswrap.h>
#include<fblaswr.h>
#include<clapack.h>
}
#define small char