Categorie

Archivio Articoli

Categorie

Commenti recenti

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

closeQuesto articolo è stato pubblicato 10 anni 7 mesi 7 giorni giorni fa quindi alcuni contenuti o informazioni presenti in esso potrebbero non essere più validi. Questo sito non è responsabile per eventuali errori causati da questo problema.

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

Comments are closed.