Reputation: 2334
Can anyone explain to me that error and what should I do to solve it !?:
In file included from /home/jros/catkin_ws/src/kinectueye/include/MIXEDVISION/CModelStereoXml.h:6:0,
from /home/jros/catkin_ws/src/kinectueye/src/kinect_ueye.cpp:10:
/home/jros/catkin_ws/src/kinectueye/include/MIXEDVISION/CXml.h:6:31: fatal error: libxml/xmlmemory.h: No such file or directory
compilation terminated.
CModelStereoXml, CXml and xmlmemory all are files in a library (so I can't edit it) that I use in my program kinect_ueye.cpp.
Upvotes: 1
Views: 17523
Reputation: 42825
It says CXml.h
line 6 is:
#include <libxml/xmlmemory.h>
But libxml/xmlmemory.h
is not in your include path. The include path is set with -I
options on the compiler command line.
The error is "fatal" because compilation cannot continue past that point.
Find out where that file is actually installed and make sure the path to its libxml
directory is in a -I
option. For example, if it's installed in /opt/local/include/libxml/xmlmemory.h
, then you need -I /opt/local/include
on your command line.
CModelStereoXml, CXml and xmlmemory all are files in a library (so I can't edit it)
Only the compiled code is in a library (.a
, .la
, or .so
file) that you can't edit. The headers will be located somewhere else.
Upvotes: 4