Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linking GSL in eclipse (Linking Libraries )
Linking GSL in eclipse [message #1839045] Thu, 11 March 2021 17:41
Evan Krentz is currently offline Evan KrentzFriend
Messages: 1
Registered: March 2021
Junior Member
Hi all, I'm very new to C++ and I am having trouble linking GSL in eclipse. I'm using MinGW64 and used Msys1.0 to configure and install GSL. I tested that GSL was working with the built-in examples in the command prompt.
I used the following commands to execute the example.

g++ -Wall -I/usr/include/ -c intro.c
g++ -L/usr/local/lib/ intro.o -lgsl -lgslcblas -lm

I'm not sure if that will be helpful or not. My goal is to be able to run the same examples in eclipse, I'm just not sure what I need to do to link the library. Any help would be greatly appreciated and I'd be happy to provide more info if needed.
Previous Topic:mingw installation
Next Topic:"$(shell pwd)" in windows
Goto Forum:

Current Time: Wed Oct 05 04:31:57 GMT 2022

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

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

Back to the top