Cpp

From Liki

Jump to: navigation, search

This article is for issues in using c++.

[edit] lapack atlas for c++

lapack-atlas is a math library for c and fortran, but by default it doesn't include header files for c++. To use it with c++ create the following files:

/usr/include/atlas/cpplapack.h:

extern "C" {
#include "clapack.h"
}

and

/usr/include/atlas/cppblas.h

extern "C" {
#include cblas.h
}

These headers till c++ that it's loading a c header and then can use the c libraries. The same trick should work for other c libraries as well.

[edit] Library References

Some useful sites:

Personal tools