Re: Visual C++.Net: Cannot find 'stdlib.h'?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pål Eilertsen (PlEilertsen_at_discussions.microsoft.com)
Date: 10/06/04


Date: Tue, 5 Oct 2004 22:41:01 -0700

You know what... I have actually tried to reinstall twice, with no better
result. Isn't there soem variable that I can change?

And if I am to try and reinstall what prcautions do I need to take in order
to get it right? I also have VS 6.0 installed and C++ apps compile nicely
there.

Best regrads
Pål Eilertsen

"Ronald Laeremans [MSFT]" wrote:

> Hi,
>
> Your setup is broken. Can you try to reinstall? These paths are definitely
> on the standard paths on correct installs.
>
> Ronald Laeremans
> Visual C++ team
>
> "Pål Eilertsen" <PlEilertsen@discussions.microsoft.com> wrote in message
> news:F7831E83-FC83-45E1-962F-F221B6484004@microsoft.com...
> >I have actually been able to compile now but I had to manually include the
> > paths to the files under project properties and additional include and lib
> > paths. So for this project I now can compile. But I am left with having to
> > do
> > this every time and I don't want to do that. It must be some global
> > variables
> > that I can change? I also have problems using third party apps that need
> > the
> > compiler. I am i.e. trying to use CMake and get an error that kernel32.lib
> > cannot be found. I quess that this is due to the same error, and here
> > there
> > are no "additional include path" to adjust. So I am stuck.
> >
> > There must be someone that knows the answer to this!!
> >
> > Pål
> >
> > "Ioannis Vranos" wrote:
> >
> >> Peter van der Goes wrote:
> >>
> >> > Visual Studio .NET 2003 (C++) no longer supports many of the old .h
> >> > headers
> >> > (Visual Studio .NET 2002 did), instead supporting the "new" standard
> >> > headers
> >> > such as cstdlib. Try #include <cstdlib> in your code in place of
> >> > #include
> >> > <stdlib.h>.
> >> > Hope this helps.
> >>
> >>
> >> Actually, stdlib.h (and all C90 subset header files) are part of C++98,
> >> and stdlib.h compiles with VC++ 2003.
> >>
> >>
> >>
> >> --
> >> Ioannis Vranos
> >>
>
>
>



Relevant Pages

  • Re: Cannot evaluate expression. WTF?
    ... stripped in a release compile. ... Make sure you are doing a build before you run the debugger as well. ... expressions for no apparent reasons. ... I am not going to reinstall VS.NET ...
    (microsoft.public.vsnet.debugging)
  • Re: HEADER FILES IN VISUAL C++!
    ... >>compile them. ... > isnt visual studio 6.0 backwards compatible? ... might want to reinstall from the original CD. ... port your code to use the Win32 console functions instead of conio. ...
    (alt.comp.lang.learn.c-cpp)
  • VS doesnt use windows path! Installation problem? Please help!
    ... I am trying to compile any type of C++ program created using the VS wizard ... have tried to uninstall and reinstall but nothing seems to work. ... Best regards ...
    (microsoft.public.vsnet.general)
  • Error compiling C++ programs in VS.Net 2003
    ... I am trying to compile any type of C++ program created using the VS wizard ... have tried to uninstall and reinstall but nothing seems to work. ... Best regards ...
    (microsoft.public.vsnet.setup)
  • Re: Visual C++.Net: Cannot find stdlib.h?
    ... on the standard paths on correct installs. ... Ronald Laeremans ... > paths to the files under project properties and additional include and lib ... So for this project I now can compile. ...
    (microsoft.public.dotnet.languages.vc)