This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Help on error when debugging a C++ project

Other Parts Discussed in Thread: AM3359

Hi,

I have a C++ project in Windows, MSVC, which uses vector, set header files. I want to port this project to AM3359 Starter Kit board. The build is OK. When debug it, after a step through at the first line code, a new tab pops up having error:

Can't find a source file at "/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/build-cc/arm-linux-gnueabihf/libstdc++-v3/include/bits/allocator.h"
Locate the file or edit the source lookup path to include its location.

Here is the C++ code:

#include "Query.h"
#include "TextQuery.h"
#include <string>
#include <set>
#include <iostream>

using std::set;
using std::string;
using std::cin; using std::cout; using std::cerr;
using std::endl;

int main(int, char **argv)
{
    TextQuery file = build_textfile(argv[1]);

Could you tell me how to remove the debug error?

Thanks,