1

Several times I have seen documentation that makes statements like "set the XXX variable to YYY", but I am not at all sure how/where these "variables" get set. Sometimes it looks like they may be old-style DOS environment variables (which I know how to set), but other times not.

So for example, looking at this SO question, the accepted answer states "NDK_MODULE_PATH must be in your path" - would that mean the DOS-environment-path? Or some other path? And in this document, it says "When you compile, you need to set the NDK_MODULE_PATH variable to the directory above...". What kind of "variable" is that? A DOS-environment variable? Some other kind? How/where would I set it?

EDIT: Just a thought - if I go to Window > Preferences > C/C++ > Build > Build Variables, I see I can add things there - do you think that's what was meant in the two examples?

Community
  • 1
  • 1
Mick
  • 8,284
  • 22
  • 81
  • 173
  • Whats your operating system? Every os has environment variables. Here's a guide for Windows : http://www.computerhope.com/issues/ch000549.htm – kalinrj May 08 '14 at 12:43
  • Just added windows 7 tag. But are you saying that in all cases the answer is old DOS style environment variables? In which case, I know how to set them already. – Mick May 08 '14 at 12:45
  • There is nothing 'old' in environment variables , but yes - they are the same and can be seen with the 'set' command in the windows console. – kalinrj May 08 '14 at 12:56
  • Oh, sorry , i didn't read the posts carefully. Those are variables in your .mk file (e.g. Android.mk). I dont remember if its generated, yor your should create it explicitly. – kalinrj May 08 '14 at 13:03

0 Answers0