The above error message comes out when compiling player 2.1.1 with gcc 4.3.2.
Obviously, it is shown that "lms400_cola.cc:61: error: 'close' was not declared in this scope" like that.
So that means the header file which contains the close() function is missing in the source file.
Do followings to debug:
Added #include <cstring> to playerc++.h
- Added #include <iostream> to lms400_cola.h
- Added #include <iostream> to drivers/mixed/mricp/src/geometry2D.cpp
- Added #include <stdlib> to drivers/mixed/mricp/src/map.cpp
- Added #include <algorithm> to examples/libplayerc++/example3.cc
Also, there are some other errors like that, I do not remember clearly. And actually,
to solve the problem, the <stdlib.h> and <iostream> were added into the corresponding source file.