Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Places to set Linux environment variables in Eclipse
Places to set Linux environment variables in Eclipse [message #1778922] Sun, 24 December 2017 10:24 Go to next message
column column is currently offline column columnFriend
Messages: 25
Registered: December 2017
Junior Member
I need to set environment variable `LD_LIBRARY_PATH` for my executable I debug in `Eclipse`.

I found several places where I can change environment variables in `Eclipse`:

First:
Project properties => C/C++ Build => Enviropment

Second:
Run/Debug configuration

I think I need to use second one if I need to set environment for binary I'm planning to debug. But his not work .

When to use first environment configuration? And what section Origin means?

How to set environment variable for project Debug/Run purposes?


Re: Places to set Linux environment variables in Eclipse [message #1779120 is a reply to message #1778922] Wed, 03 January 2018 02:57 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
The first is the environment used for building.
The second is the environment when executing or debugging.
Seems to work for me.
Perhaps you can provide why you think it doesn't work for you.

index.php/fa/31711/0/
Previous Topic:Workspace path as include directory not being resolved
Next Topic:Delegating constructor
Goto Forum:
  


Current Time: Thu Mar 28 23:11:15 GMT 2024

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

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

Back to the top