473,385 Members | 1,630 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,385 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 4558
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.