Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » cannot save environment variables on restart(when restarted, environment variables settings are changed back to the previous one)
cannot save environment variables on restart [message #1044499] Fri, 19 April 2013 01:37
Soichi Ishida is currently offline Soichi IshidaFriend
Messages: 1
Registered: April 2013
Junior Member
Version: Juno Service Release 2
Build id: 20130225-0426

Android DDMS 21.1.0.v201302060044-569685
Android Development Tools 21.1.0.v201302060044-569685
Android Hierarchy Viewer 21.1.0.v201302060044-569685
Android Native Development Tools 21.1.0.v201302060044-569685
Android Traceview 21.1.0.v201302060044-569685
Eclipse IDE for Java EE Developers
Tracer for OpenGL ES 21.1.0.v201302060044-569685

MacOSX 10.6.8

Eclipse (tab) -> preferences -> C/C++ -> build -> environment

then I have set

NDKROOT ...path
PATH ...${NDKROOT}/ndk-build
g++ /usr/bin/g++

the last one is wrong and is not necessary. I have put it there for a trial figuring out how to build NDK projects.

Right now, if I start eclipse, the environment variables are set like above. But if I try to delete the last one and restart it, "g++" thing reappears as if the change has not been made. Of course I clicked "apply" as well as "OK".

What's going on here? How can I save the changes of variables?

Previous Topic:Help. -std=c++11 or -std=gnu++11 compiler options.
Next Topic:CDT on fedora won't run code
Goto Forum:

Current Time: Mon May 21 09:14:31 GMT 2018

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

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

Back to the top