I don't understand why OpenBLAS common.h does not already have its dependencies included.
I'd appreciate a pointer to what I've missed.
I downloaded and built OpenBLAS per instructions, and it appears that it completed properly. However, when I try to build BVLC Caffe on it, I get a litany of failures.
Here are the first 35 lines of over 500. It appears that there's a C / C++ confusion, perhaps?
CXX examples/cpp_classification/classification.cpp
CXX examples/mnist/convert_mnist_data.cpp
CXX examples/siamese/convert_mnist_siamese_data.cpp
CXX .build_release/src/caffe/proto/
caffe.pb.ccIn file included from /home/wdwickar/blas/OpenBLAS/cblas.h:5:0,
from ./include/caffe/util/mkl_alternate.hpp:14,
from ./include/caffe/util/math_functions.hpp:11,
from ./include/caffe/filler.hpp:13,
from ./include/caffe/caffe.hpp:9,
from examples/cpp_classification/classification.cpp:1:
/home/<my_IDSID>/blas/OpenBLAS/common.h:289:15: error: expected identifier before ‘float’
#define FLOAT float
^
/home/wdwickar/blas/OpenBLAS/common.h:289:15: error: expected ‘}’ before ‘float’
In file included from examples/cpp_classification/classification.cpp:3:0:
/usr/include/opencv2/core/core.hpp:4088:14: error: expected unqualified-id before ‘=’ token
FLOAT=REAL, //!< synonym or REAL
^
/usr/include/opencv2/core/core.hpp:4101:22: error: expected unqualified-id before ‘)’ token
CV_WRAP FileNode();
^
/usr/include/opencv2/core/core.hpp:4103:14: error: expected unqualified-id before ‘const’
FileNode(const CvFileStorage* fs, const CvFileNode* node);
^
/usr/include/opencv2/core/core.hpp:4103:14: error: expected ‘)’ before ‘const’
/usr/include/opencv2/core/core.hpp:4105:14: error: expected unqualified-id before ‘const’
FileNode(const FileNode& node);
^
/usr/include/opencv2/core/core.hpp:4105:14: error: expected ‘)’ before ‘const’
/usr/include/opencv2/core/core.hpp:4107:49: error: non-member function ‘cv::FileNode cv::operator[](const string&)’ cannot have cv-qualifier
FileNode operator[](const string& nodename) const;
^
/usr/include/opencv2/core/core.hpp:4107:49: error: ‘cv::FileNode cv::operator[](const string&)’ must be a nonstatic member function