Reputation: 649
i have to compile libcvd ("libCVD is a very portable and high performance C++ library for computer vision, image, and video processing"), including the file cvdimage.cxx.
The problem is that it has the following line:
#include <array>
and uses this array templated class that should be a simple fixed-length array.
My Visual C++ 2008 edition can't find the array file in the include directory.
What can I do?
Upvotes: 0
Views: 264
Reputation:
<array>
is a TR1 header. For VC++ 2008 you need to get the Feature Pack to have access to those libraries. Note that even if you've already got the Feature Pack, Microsoft say this:
If you install the Visual C++ 2008 Feature Pack and then install the Windows SDK for Windows Server 2008 and .NET Framework 3.5, some of the files in the Feature Pack are overwritten and lose the additions made by the Feature Pack.
Please install the Windows SDK for Windows Server 2008 and .NET Framework 3.5 first and then the Feature Pack. If you have already installed the Feature Pack first and then Windows SDK, repairing your VS 2008 installation should solve the problem.
Upvotes: 2