Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Adding GSL (or any othe library) in Eclipse
Adding GSL (or any othe library) in Eclipse [message #231303] Sun, 08 March 2009 10:55
Eclipse UserFriend
Originally posted by: sorated.gmail.com

Hello, I'm using Eclipse 3.4.2 / CDT 5.0.2 / MinGW 3.4.2 (coincidence ?)
under Windows Vista.

I installed the GSL library under
C:\Users\Teodor\workspace\gsl-1.11

In order to have the header files available for a project I need to

1) Add "C:\Users\Teodor\workspace\gsl-1.11\include" to
Project Properties -> C/C++ General -> Paths and Symbols -> Include
for both GC and Gnu C and Gnu C++ languages
2) Add "gsl" to
Project Properties -> C/C++ Build -> Settings -> Tool Settings -> MinGW
C++ Linker -> Libraries -> Libraries
3) Add "C:\Users\Teodor\workspace\gsl-1.11\lib" to
Project Properties -> C/C++ Build -> Settings -> Tool Settings -> MinGW
C++ Linker -> Libraries -> Library Search Path

And it's a pain in the a++ (!

Is there a way to do things automatically for every new project ?
Need I modify some Eclipse configuration files ?
Or can I write a Makefile template that already contains the GSL options
for the compiler(s) and the linker ?


Thanks,

Teodor
Previous Topic:CDT astvisitor
Next Topic:moving Managed make project to Standard make project
Goto Forum:
  


Current Time: Mon Jul 21 17:20:02 EDT 2025

Powered by FUDForum. Page generated in 0.04648 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top