Discussion:
Can't find include file ceconfig.h
(too old to reply)
JB
2006-11-15 17:41:29 UTC
Permalink
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.

I am getting Error C1083 can't open file ceconfig.h in stdafx.h

I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.

All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
voidcoder
2006-11-16 07:51:04 UTC
Permalink
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
JB
2006-11-16 08:43:25 UTC
Permalink
Thanks i tried uninstalling the PocketPC 20003 SDK and then
reinstalling, that didn't change anything. Although i do have all
4 SDK's for PocketpC, Smartphone 03 and WM5 installed.

By Platform SDK do you mean just the SDK i'm targeting?
Post by voidcoder
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
voidcoder
2006-11-16 09:29:51 UTC
Permalink
Post by JB
Post by JB
By Platform SDK do you mean just the SDK i'm targeting?
Yep.


Well, you may want to check the following:

1. Go to VS2005->Tools->Options
2. Browse to Project and Solutions -> VC++ Directories
3. Select "Pocket PC 2003" in "Platform" combobox
4. Select "Include files" in "Show Directories for" combobox

Now tell us what dirs are listed in the list. Do you have
"$(VSInstallDir)SmartDevices\SDK\PocketPC2003\include"
dir listed there?
Post by JB
Thanks i tried uninstalling the PocketPC 20003 SDK and then
reinstalling, that didn't change anything. Although i do have all
4 SDK's for PocketpC, Smartphone 03 and WM5 installed.
By Platform SDK do you mean just the SDK i'm targeting?
Post by JB
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
JB
2006-11-16 09:46:23 UTC
Permalink
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include

The above is i believe what i've always had here, i agree i don't have any
SmartDevices path in this includes box but i think i never have. I've checked
2 of my colleagues' machines and all they have is the above but their smart
devices projects compile fine like my did yesterday morning. We just
assumed it was picking up the Platform SDK includes from another setting.

Also if i include the path to smartdevices includes it does resolve the initial error: 'can't find
xx.h' but i then lots of other errors such as

C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\winuserm.h(174) : warning C4068: unknown pragma

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(286) : error C2061: syntax error : identifier 'SIPSTATE'

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>c:\documents and settings\mohammedsulaiman\my documents\visual studio 2005\projects\test2\stdafx.h(45) : fatal error C1083: Cannot open include file: 'DeviceResolutionAware.h': No such file or directory



The above is the output from compiling the most basic wizard generated PocketPc app, which

leads me to believe some fundamental settings is missing.
Post by voidcoder
Post by JB
Post by JB
By Platform SDK do you mean just the SDK i'm targeting?
Yep.
1. Go to VS2005->Tools->Options
2. Browse to Project and Solutions -> VC++ Directories
3. Select "Pocket PC 2003" in "Platform" combobox
4. Select "Include files" in "Show Directories for" combobox
Now tell us what dirs are listed in the list. Do you have
"$(VSInstallDir)SmartDevices\SDK\PocketPC2003\include"
dir listed there?
Post by JB
Thanks i tried uninstalling the PocketPC 20003 SDK and then
reinstalling, that didn't change anything. Although i do have all
4 SDK's for PocketpC, Smartphone 03 and WM5 installed.
By Platform SDK do you mean just the SDK i'm targeting?
Post by JB
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
JB
2006-11-16 12:24:41 UTC
Permalink
A complete uninstall and reinstall of VS2005 does not help, have the same error
"JB" <***@btinternet.com> wrote in message news:***@TK2MSFTNGP02.phx.gbl...
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include

The above is i believe what i've always had here, i agree i don't have any
SmartDevices path in this includes box but i think i never have. I've checked
2 of my colleagues' machines and all they have is the above but their smart
devices projects compile fine like my did yesterday morning. We just
assumed it was picking up the Platform SDK includes from another setting.

Also if i include the path to smartdevices includes it does resolve the initial error: 'can't find
xx.h' but i then lots of other errors such as

C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\winuserm.h(174) : warning C4068: unknown pragma

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(286) : error C2061: syntax error : identifier 'SIPSTATE'

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>c:\documents and settings\mohammedsulaiman\my documents\visual studio 2005\projects\test2\stdafx.h(45) : fatal error C1083: Cannot open include file: 'DeviceResolutionAware.h': No such file or directory



The above is the output from compiling the most basic wizard generated PocketPc app, which

leads me to believe some fundamental settings is missing.
Post by voidcoder
Post by JB
Post by JB
By Platform SDK do you mean just the SDK i'm targeting?
Yep.
1. Go to VS2005->Tools->Options
2. Browse to Project and Solutions -> VC++ Directories
3. Select "Pocket PC 2003" in "Platform" combobox
4. Select "Include files" in "Show Directories for" combobox
Now tell us what dirs are listed in the list. Do you have
"$(VSInstallDir)SmartDevices\SDK\PocketPC2003\include"
dir listed there?
Post by JB
Thanks i tried uninstalling the PocketPC 20003 SDK and then
reinstalling, that didn't change anything. Although i do have all
4 SDK's for PocketpC, Smartphone 03 and WM5 installed.
By Platform SDK do you mean just the SDK i'm targeting?
Post by JB
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
JB
2006-11-16 14:25:51 UTC
Permalink
By deleting my Application data\Visual Studio directory in MyDocuments folder managed to get
rid of this error
"JB" <***@btinternet.com> wrote in message news:%***@TK2MSFTNGP04.phx.gbl...
A complete uninstall and reinstall of VS2005 does not help, have the same error
"JB" <***@btinternet.com> wrote in message news:***@TK2MSFTNGP02.phx.gbl...
C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include

The above is i believe what i've always had here, i agree i don't have any
SmartDevices path in this includes box but i think i never have. I've checked
2 of my colleagues' machines and all they have is the above but their smart
devices projects compile fine like my did yesterday morning. We just
assumed it was picking up the Platform SDK includes from another setting.

Also if i include the path to smartdevices includes it does resolve the initial error: 'can't find
xx.h' but i then lots of other errors such as

C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\winuserm.h(174) : warning C4068: unknown pragma

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(286) : error C2061: syntax error : identifier 'SIPSTATE'

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include\aygshell.h(727) : error C3861: '_T': identifier not found

1>c:\documents and settings\mohammedsulaiman\my documents\visual studio 2005\projects\test2\stdafx.h(45) : fatal error C1083: Cannot open include file: 'DeviceResolutionAware.h': No such file or directory



The above is the output from compiling the most basic wizard generated PocketPc app, which

leads me to believe some fundamental settings is missing.
Post by voidcoder
Post by JB
Post by JB
By Platform SDK do you mean just the SDK i'm targeting?
Yep.
1. Go to VS2005->Tools->Options
2. Browse to Project and Solutions -> VC++ Directories
3. Select "Pocket PC 2003" in "Platform" combobox
4. Select "Include files" in "Show Directories for" combobox
Now tell us what dirs are listed in the list. Do you have
"$(VSInstallDir)SmartDevices\SDK\PocketPC2003\include"
dir listed there?
Post by JB
Thanks i tried uninstalling the PocketPC 20003 SDK and then
reinstalling, that didn't change anything. Although i do have all
4 SDK's for PocketpC, Smartphone 03 and WM5 installed.
By Platform SDK do you mean just the SDK i'm targeting?
Post by JB
It looks like something screwed up your SDK includes
path or the SDK itself. Try to reinstall the Platform
SDK and see what happens.
Post by JB
Hi, I've been developing a VS2005 C++ app and everything
was working fine but now i can't compile any projects.
I am getting Error C1083 can't open file ceconfig.h in stdafx.h
I haven't changed the global includes for the VC++ project. Somewhere
i'm thinking i've lost a key environment variable but not sure where
to lokk to resolve this error.
All i was doing was adjusting some of the settings in my project
properties Prepocessor defines etc. However i would have thought
this shouldn't affect other projects ie a very basic one generated with
the wizard.
Loading...