473,246 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

?? Warning using Command Line Compile ??

I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps I
selected some combination of installation options that resulted in the "lib"
directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter

Oct 7 '07 #1
3 4554
Tom,

I haven't seen it, but what is it that you are referencing that could be
there?

Also, if it is a warning that doesn't specify a directory, but it still
compiles, then perhaps it is an error with the install/project, and you can
modify the project properties to not include that path.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tom Baxter" <tl********@newsgroup.nospamwrote in message
news:el**************@TK2MSFTNGP03.phx.gbl...
>I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps
I selected some combination of installation options that resulted in the
"lib" directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter
Oct 7 '07 #2
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:08**********************************@microsof t.com...
Tom,

I haven't seen it, but what is it that you are referencing that could
be there?

I did a fresh install of VS 2008 B2. Then, I opened the VS command prompt
and did a simple command-line compile of HelloWorld C# program.

What's happening is the script that runs when I open a VS command prompt is
setting the LIB environment variable to a directory that does not exist. The
script I'm referring to is:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat"" x86

Also, if it is a warning that doesn't specify a directory, but it still
compiles, then perhaps it is an error with the install/project, and you
can modify the project properties to not include that path.
As I said, there is no "project" to modify. The Microsoft script is setting
the LIB variable to a directory that does not exist.


>
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tom Baxter" <tl********@newsgroup.nospamwrote in message
news:el**************@TK2MSFTNGP03.phx.gbl...
>>I just set up VS 2008 B2 and did a simple command line compile from the VS
command prompt.

I received this warning:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '

When I checked, sure enough, the "lib" directory is not present'. Perhaps
I selected some combination of installation options that resulted in the
"lib" directory not being created.

I was just wondering if anyone has seen this.
--
Tom Baxter
--
Tom Baxter

Oct 7 '07 #3
Dear Tom ,

Thank you so much for the great feedback on Visual Studio 2008 beta 2. I
believe that other community members will also benefit from your experience
sharing. Would you help to submit the issue at
http://connect.microsoft.com/VisualStudio with reproducing steps? The
developer from Visual Studio product team may review the feedbacks from
customers. I appreciate your time and efforts working with us.

If you have any comments on our support service, website design, our
product limitation, our process, and etc., please don't hesitate to let me
know. I will do my best to follow up.

Have a nice day!

Sincerely,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 9 '07 #4

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

Similar topics

121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
4
by: Dawn Minnis | last post by:
Hi When I compile my files I get the following: driver.c: In function `main': driver.c:49: warning: assignment makes integer from pointer without a cast driver.c:50: warning: assignment...
29
by: Daniel Rudy | last post by:
Hello, Consider the following code fragment: fileptr = fopen(param->filename, "r"); if (fileptr == NULL) { error("digest.c: digest_file: Open File ", errno); return(-2); }
3
by: Bill Burris | last post by:
How do I find what is causing this warning from the Linker? If I use /NODEFAULTLIB I get hundreds of undefined symbols. LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other...
4
by: Brett | last post by:
I have recently purchased Visual C++ . Net compiler and i am trying to compile a project that i had working in Visual C++ 6.0. When I compile, I am receiving the warning: cl : Command line...
0
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are...
5
by: Gary Wessle | last post by:
Hi I am getting a warning when I run this program, I am interested to know why the compiler is warning. thank you **************** warning **************** $ make clean; make rm -rf *.o...
5
by: Eric | last post by:
Hi, I want to generate a dll for x64. In the project, I specify the platform target x64 but VS2005 use the win32 framework. Here is the warnings that I get : ...
3
by: ashnin | last post by:
Hi, Can anyone tell me, why am I getting this warning? cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ (Actually Im compiling a set...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

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.