I built mlpack (an additional library for c++) using Visual Studio 2015. All the library files are inside the build folder
now when Iam trying to compile the following code in visual studio after adding the mlpack location in additional directories,as shown added the directory i get error saying "cannot open include file 'mlpack/core.hpp':No such file or directory"
#include "stdafx.h"
#include <mlpack/core.hpp>
using namespace mlpack;
int main()
{
}
even though core.hpp is there inside the included mlpack folder it is there!
how do i add this file and compile without errors
Check additional include directories in your project/C++ properties settings.
As you've used the <> directive your compiler is looking for project-level paths and I'm guessing you've not added one for the directory where the mlpack library is located.
Good luck!