472,789 Members | 1,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 software developers and data experts.

INCLUDE environment variable not working

Hi:

I'm setting the INCLUDE environment variable, but VC is not searching
it for header files (I've checked it with filemon). I've tried with user
variable, machine variable, rebooted the machine, nothing makes it work.
Does INCLUDE variable until work? I'm using WinXP SP1 and VC 7.1.

Thanks,
Strauss
Nov 16 '05 #1
3 5651
From the command line or from an IDE project? The IDE does not use the
environment it inherits to spawn build tools. It uses what you specify in
the directory options explicitly.

Ronald Laeremans
Visual C++ team

"Strauss" <st*****@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm setting the INCLUDE environment variable, but VC is not searching
it for header files (I've checked it with filemon). I've tried with user
variable, machine variable, rebooted the machine, nothing makes it work.
Does INCLUDE variable until work? I'm using WinXP SP1 and VC 7.1.

Thanks,
Strauss

Nov 16 '05 #2

From the IDE. I was trying to make easy to configure a computer to
build our solutions, using environment variables. I can use the
$(VariableName) syntax, but I can't put more than one path in a variable
(I need to use multiple /I to set multiple paths, right?). Is there any
better way (without configuring every VC)?

Thanks in advance,
Strauss
From the command line or from an IDE project? The IDE does not use the
environment it inherits to spawn build tools. It uses what you specify in
the directory options explicitly.

Ronald Laeremans
Visual C++ team

"Strauss" <st*****@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm setting the INCLUDE environment variable, but VC is not searching
it for header files (I've checked it with filemon). I've tried with user
variable, machine variable, rebooted the machine, nothing makes it work.
Does INCLUDE variable until work? I'm using WinXP SP1 and VC 7.1.

Thanks,
Strauss


Nov 16 '05 #3
Yes, you can use the /useenv swicth for devenv.exe. Look at the following
topic:
<msdn.microsoft.com/library/en-us/vsintro7/
html/vxgrfCommandLineSwitches.asp>

Ronald

"Strauss" <st*****@microsoft.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...

From the IDE. I was trying to make easy to configure a computer to
build our solutions, using environment variables. I can use the
$(VariableName) syntax, but I can't put more than one path in a variable
(I need to use multiple /I to set multiple paths, right?). Is there any
better way (without configuring every VC)?

Thanks in advance,
Strauss
From the command line or from an IDE project? The IDE does not use the
environment it inherits to spawn build tools. It uses what you specify in the directory options explicitly.

Ronald Laeremans
Visual C++ team

"Strauss" <st*****@microsoft.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm setting the INCLUDE environment variable, but VC is not searching
it for header files (I've checked it with filemon). I've tried with user
variable, machine variable, rebooted the machine, nothing makes it work.
Does INCLUDE variable until work? I'm using WinXP SP1 and VC 7.1.

Thanks,
Strauss


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Yannick Turgeon | last post by:
Oups! I did a typing error in my last post. Fixed. ----------- Hello all, We are currently changing our web server and, in the process, updating PHP version from 4.3.0 to 4.3.5. The problem...
6
by: JStrummer | last post by:
I have a question regarding paths and the include() statement in PHP. I develop in a Windows environment and will be publishing to a Linux server. I would like to do the following: 1. Setup my...
4
by: michaaal | last post by:
I have two folders in my website... Folder1 (this is where my #include file is, this is where the style.css is) --Folder2 (Folder2 is inside of Folder1) Folder2 contains a file that has...
28
by: Christian | last post by:
Another question from a not even newbie: In Unix you can set an environment variable with the command export PYTHONPATH but I would like to set the variable from at .py script. So my question...
11
by: wenmang | last post by:
Hi, all: What will happen if header files with the exact same names but with different contents and declared/defined without include guard reside in the include path for the compiler? Are these...
3
by: Rahul S. | last post by:
Hey all: I need urgent information how to set the environment in Visual.NET wiritng in C. I am working with a licensed version of the Analyze 6.0 software from mayo clinic. I need to write...
6
by: +86 | last post by:
i encountered this problem: "include('inc.php')" will work problely but "include('./inc.php') doesn't work .. both file_exists('inc.php') or file_exists('./inc.php') didn't return the right...
5
by: ago | last post by:
Dear all, These days I often find myself using working-env.py, virtual-python.py & co. The main reason in most cases is to insulate my working environment so that I can use custom site-package...
9
by: Michel Leunen | last post by:
Hi, Could someone explain me what I'm doing wrong here? I'm trying to retrieve the value of an environment variable in Ubuntu 8.04 like this: 'michel' This works but this doesn't: ...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.