Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I signed up to your site to get help with a problem and I am so glad I did. I found the help I needed immediately. Thanks to all who contribute to your site..."

Geography

Where in the world do Tek-Tips members come from?

Why is Visual Studio C++ 2008 Express Broken OOTB?

Ceran (Programmer)
31 Jul 08 9:34
Hi,

I just installed VC++ 2008 Express on WinXP, tried to compile a simple "hello world" program, and got this error from cl.exe:

NMAKE : fatal error U1077: '"path\cl.exe"' : return code '0xc0000135'  

Google shows *a lot* of people have received this error. Unfortunately, of the three fixes I've found, none work:

1) Nmake can't find cl.exe
Not sure why so many people suggested this. Nmake can obviously find cl.exe since it's cl.exe that's returning the 135 error code.

2) Cl.exe can't find ms*.dll, so you have to copy these dlls into VC++'s /bin folder
I don't understand why Microsoft doesn't know where to put it's own DLLs, but this actually fixed the 135 error. However, it caused another error "Invalid database manager, return code 0x2", and I haven't found a fix for this one.

3) Your install's broken so reinstall.
Again, not sure how/why MS's installer would have created a broken install without so much as an error message, and I don't understand why anyone would think simply re-running the faulty installer would magically fix the problem. Of course, I tried both the uninstall/reinstall and repair options, and of course neither worked.

Does anyone have any experience with this error message, and how to fix it?

Regards,
Chris
cpjust (Programmer)
31 Jul 08 11:08
I haven't had any problems with VC++ 2008 express.

Are you compiling with NMAKE or using the GUI?
I always use the GUI.
LF28 (Programmer)
8 Aug 08 5:35
HI there,

I was experiencing similar problems when I installed VS8 on my machine at work for the first time. I noticed two things that might be helpful with this:

1. If you already have a "express" version of the MS build tools installed, uninstall it first.

2. Don't mess with the install options, just keep them as they are. I usually go through every option available and only install those which I think I need. But in case of VS8 it is IMHO better to just install everything.

After this, it worked for me.
xwb (Programmer)
8 Aug 08 9:20
You need to run vcvars32 from the bin directory first.  Then it will see everything.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close