User forums > Help

Using a environment global variable outside of default set.

(1/1)

indigo0086:
for example, I have a set defined as opengl, and a variable called glfw within that set.  Now when I try to set $(#glfw) as my location for glfw when starting a project, it doesn't accept it, but if that variable is defined within the default set, it will accept it.

My question is how do I qualify that the name belongs to that set.  I tried $(#opengl.glfw) but that doesn't work (because that is really reserved for the lib or include subdirectory.

stahta01:
Did you change from the default set to your new set?

Change the value in "Current Set" pull-down to the set you wish to use.

FYI: It is best to do this with no projects opened till you figure out the problems of doing it.

Tim S

MortenMacFly:

--- Quote from: indigo0086 on September 24, 2008, 06:54:12 pm ---My question is how do I qualify that the name belongs to that set.  I tried $(#opengl.glfw)

--- End quote ---
This does not work at all. There is no inheritance/membership for variable sets.

If you need glfw within the default and your opengl set, add it to both.

indigo0086:
But how do I keep it within the opengl set and still call on it when I need it.  As it is it's not recognized in the Opengl set.

Navigation

[0] Message Index

Go to full version