Home > Archive > VC Language > May 2006 > Compiler error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Samuel Shulman 2006-05-25, 7:08 pm |
| c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\cfgmgr32.h(23): fatal error C1083: Cannot open
include file: 'cfg.h': No such file or directory
I get this error after i switched of the Pre compiler header feature
Any Clue?
| |
| Victor Bazarov 2006-05-25, 7:08 pm |
| Samuel Shulman wrote:
> c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\cfgmgr32.h(23): fatal error C1083:
> Cannot open include file: 'cfg.h': No such file or directory
>
>
> I get this error after i switched of the Pre compiler header feature
>
> Any Clue?
Sounds like an installation issue. Have you tried a full rebuild?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
| |
| David Wilkinson 2006-05-25, 7:08 pm |
| Samuel Shulman wrote:
> c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\cfgmgr32.h(23): fatal error C1083: Cannot open
> include file: 'cfg.h': No such file or directory
>
>
> I get this error after i switched of the Pre compiler header feature
>
> Any Clue?
>
>
Samuel:
I do not find the file cfg.h anywhere in my VS2003 installation, so I
would have to conclude that cfgmgr32.h is not an included file in any of
my projects (unmanaged MFC or console). What are you doing that includes
this file?
David Wilkinson
| |
| Victor Bazarov 2006-05-25, 7:08 pm |
| David Wilkinson wrote:
> Samuel Shulman wrote:
>
>
> Samuel:
>
> I do not find the file cfg.h anywhere in my VS2003 installation, so I
> would have to conclude that cfgmgr32.h is not an included file in any
> of my projects (unmanaged MFC or console). What are you doing that
> includes this file?
It's part of PlatformSDK (as you can conclude from the path in the error
message), and I, for example, have it. In VC8 it's 11586 bytes long,
dated April 14 2005, 6:54:36 PM. The OP's version of PSDK can be
different, so I can't tell what it should be. Bit if another header from
PSDK expects it, you would think it would be there...
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
| |
| David Wilkinson 2006-05-25, 7:08 pm |
| Victor Bazarov wrote:
> David Wilkinson wrote:
>
>
>
> It's part of PlatformSDK (as you can conclude from the path in the error
> message), and I, for example, have it. In VC8 it's 11586 bytes long,
> dated April 14 2005, 6:54:36 PM. The OP's version of PSDK can be
> different, so I can't tell what it should be. Bit if another header from
> PSDK expects it, you would think it would be there...
>
> V
Yes, you would think so. But as you can also tell from the error
message, the OP is using VC7.1. I do not find this file in my VC6, VC7
or VC7.1 installation (or anywhere else on my machine). I do find the
file cfgmgr32.h in my VC7.1 Platform SDK, and in the Feb 2003 Platform
SDK that I have on my machine. If I include this file in a VC7.1
project I get the same error message as the OP.
I would have to conclude that
(a) cfgmgr32.h is not normally incuded in VC7.1 projects
(b) there is a defect in the VS2003 and Feb 2003 Platform SDK's
(c) this defect was fixed in the VS2005 Platform SDK
David Wilkinson
| |
| Victor Bazarov 2006-05-25, 7:08 pm |
| David Wilkinson wrote:
> [...]
> I would have to conclude that
>
> (a) cfgmgr32.h is not normally incuded in VC7.1 projects
> (b) there is a defect in the VS2003 and Feb 2003 Platform SDK's
> (c) this defect was fixed in the VS2005 Platform SDK
Reasonable.
| |
| Samuel Shulman 2006-05-25, 7:08 pm |
| Thank you both for your input,
What Can I do now?
Samuel
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
news:OKEWKlDgGHA.1260@TK2MSFTNGP05.phx.gbl...
> David Wilkinson wrote:
>
> Reasonable.
>
| |
| David Wilkinson 2006-05-25, 7:08 pm |
| Samuel Shulman wrote:
> Thank you both for your input,
> What Can I do now?
> Samuel
>
>
> "Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
> news:OKEWKlDgGHA.1260@TK2MSFTNGP05.phx.gbl...
>
>
>
>
Samuel:
Well, I would figure out which of my modules was including cfgmgr32.h,
and decide if I really needed it.
If so I would download the latest Platform SDK, which should be free.
Download to a new location put this location at the top of your Include
and Library paths in VS2003.
David Wilkinson
|
|
|
|
|