| libxml2 [message #818514] |
Sun, 11 March 2012 15:21  |
ak jax Messages: 7 Registered: March 2012 |
Junior Member |
|
|
I try to use libxml2 in a C++ project, and I use Eclipse to edit and compile
Running this on the command line
xml2-config --cflags
gives
-I/usr/include/libxml2
Running this on the command line
xml2-config --libs
gives
-lxml2
In ordinary Makefile I should write:
CFLAGS=`xml2-config --cflags`
LIBS=`xml2-config --libs`
In the menu:
Project\settings\Tool Settings\GCC C++ Linker\Miscellaneous\Linker flags
I have enter -lxml2
Where shall I insert following line in eclipse
-I/usr/include/libxml2
It seems that Eclipse cannot found the library
Is there something else I need to do?
[Updated on: Sun, 11 March 2012 15:45] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01592 seconds