Categorie

Archivio Articoli

Categorie

Commenti recenti

Adding a library to Eclipse CDT C/C++ Project

eclipse-logo

 

 

 

 

 

 

Adding a library to Eclipse CDT

If you want to add a library (e.g: libxml2) to your C/C++ project in CDT Eclipse:

1. Add the library (xml2) in Project Properties -> C/C++ Build -> Settings -> GCC C Linker -> Libraries

Adding-libraries-to-Eclipse-CDT-01

 

2. Add the library directory (/usr/include/libxml2) in Project Properties -> C/C++ Build -> Settings -> GCC C Compiler -> Includes

Adding-libraries-to-Eclipse-CDT-02

Enjoy