WinCE 6.0 ( VS2005), a new subject building reports "fatal error C1083:
Cannot open include file: 'devload.h'", I just use the default setting to
create the subject.

Please suggest what setting I forget to do?

Thanks

Re: fatal error C1083: Cannot open include file: 'devload.h' by Bruce

Bruce
Thu Apr 24 15:20:02 PDT 2008

You don't give us much to go on. Like what kind of project you created, or
how you tried to build, or which BSP you used, or which template you used...

Are you using Platform Builder?

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>
> WinCE 6.0 ( VS2005), a new subject building reports "fatal error C1083:
> Cannot open include file: 'devload.h'", I just use the default setting to
> create the subject.
>
> Please suggest what setting I forget to do?
>
> Thanks
>
>



Re: fatal error C1083: Cannot open include file: 'devload.h' by WinCETrier

WinCETrier
Thu Apr 24 16:16:01 PDT 2008

Thanks for your reply.

I am trying to create a USB driver(DLL) for CEPC(x86). I am using Vs2005 +
winCE 6.0. Yes I am using Platform Builder. The OS image can be built
successfuly and can boot CEPC.

Then I try to add a new subject for my USB driver. The subproject is created
by Wizard with default settings, it can be built successfully.

Next the header file which contains " #include <devload.h>" is added to the
list of include files of the subproject. A source .cpp file includeing this
header is added to this subproject. With no other change, the subproject
building reports:

fatal error C1083: Cannot open include file: 'devload.h'.


It seems include path needs change?

Plesae Help,

Thanks








"Bruce Eitman [eMVP]" wrote:

> You don't give us much to go on. Like what kind of project you created, or
> how you tried to build, or which BSP you used, or which template you used...
>
> Are you using Platform Builder?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
> news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
> >
> > WinCE 6.0 ( VS2005), a new subject building reports "fatal error C1083:
> > Cannot open include file: 'devload.h'", I just use the default setting to
> > create the subject.
> >
> > Please suggest what setting I forget to do?
> >
> > Thanks
> >
> >
>
>
>

Re: fatal error C1083: Cannot open include file: 'devload.h' by WinCETrier

WinCETrier
Thu Apr 24 16:54:00 PDT 2008


The header file: AesUsb.h

/** include files **/
#include <windows.h>
#include <devload.h>

The Source file AesUsb.cpp:

/** include files **/
#include "StdAfx.h"
#include "AesUsb.h"

The two files just with two "# incliude .....".






"WinCE Trier" wrote:

> Thanks for your reply.
>
> I am trying to create a USB driver(DLL) for CEPC(x86). I am using Vs2005 +
> winCE 6.0. Yes I am using Platform Builder. The OS image can be built
> successfuly and can boot CEPC.
>
> Then I try to add a new subject for my USB driver. The subproject is created
> by Wizard with default settings, it can be built successfully.
>
> Next the header file which contains " #include <devload.h>" is added to the
> list of include files of the subproject. A source .cpp file includeing this
> header is added to this subproject. With no other change, the subproject
> building reports:
>
> fatal error C1083: Cannot open include file: 'devload.h'.
>
>
> It seems include path needs change?
>
> Plesae Help,
>
> Thanks
>
>
>
>
>
>
>
>
> "Bruce Eitman [eMVP]" wrote:
>
> > You don't give us much to go on. Like what kind of project you created, or
> > how you tried to build, or which BSP you used, or which template you used...
> >
> > Are you using Platform Builder?
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > Bruce.Eitman AT EuroTech DOT com
> >
> > EuroTech Inc.
> > www.EuroTech.com
> >
> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
> > >
> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error C1083:
> > > Cannot open include file: 'devload.h'", I just use the default setting to
> > > create the subject.
> > >
> > > Please suggest what setting I forget to do?
> > >
> > > Thanks
> > >
> > >
> >
> >
> >

Re: fatal error C1083: Cannot open include file: 'devload.h' by Erwin

Erwin
Thu Apr 24 23:43:32 PDT 2008

Hi ,

Add the following in your source.cmn file in the root of your BSP (i wonder
why it isn't there?):
_OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;

or in the source file of your USB driver's source file:
INCLUDES=\
$(_COMMONPUBROOT)\ddk\inc;

Hope This helps,

Erwin Zwart




"WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
>
> The header file: AesUsb.h
>
> /** include files **/
> #include <windows.h>
> #include <devload.h>
>
> The Source file AesUsb.cpp:
>
> /** include files **/
> #include "StdAfx.h"
> #include "AesUsb.h"
>
> The two files just with two "# incliude .....".
>
>
>
>
>
>
> "WinCE Trier" wrote:
>
>> Thanks for your reply.
>>
>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
>> Vs2005 +
>> winCE 6.0. Yes I am using Platform Builder. The OS image can be built
>> successfuly and can boot CEPC.
>>
>> Then I try to add a new subject for my USB driver. The subproject is
>> created
>> by Wizard with default settings, it can be built successfully.
>>
>> Next the header file which contains " #include <devload.h>" is added to
>> the
>> list of include files of the subproject. A source .cpp file includeing
>> this
>> header is added to this subproject. With no other change, the subproject
>> building reports:
>>
>> fatal error C1083: Cannot open include file: 'devload.h'.
>>
>>
>> It seems include path needs change?
>>
>> Plesae Help,
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>>
>> "Bruce Eitman [eMVP]" wrote:
>>
>> > You don't give us much to go on. Like what kind of project you
>> > created, or
>> > how you tried to build, or which BSP you used, or which template you
>> > used...
>> >
>> > Are you using Platform Builder?
>> >
>> > --
>> > Bruce Eitman (eMVP)
>> > Senior Engineer
>> > Bruce.Eitman AT EuroTech DOT com
>> >
>> > EuroTech Inc.
>> > www.EuroTech.com
>> >
>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>> > >
>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
>> > > C1083:
>> > > Cannot open include file: 'devload.h'", I just use the default
>> > > setting to
>> > > create the subject.
>> > >
>> > > Please suggest what setting I forget to do?
>> > >
>> > > Thanks
>> > >
>> > >
>> >
>> >
>> >



Re: fatal error C1083: Cannot open include file: 'devload.h' by Bruce

Bruce
Fri Apr 25 05:35:09 PDT 2008

The problem with sources.cmn is that his subproject isn't in the BSP tree,
so the it would have no effect on this problem.

The change to sources file in the USB driver folder is the way to go. But
this would be better:

INCLUDES=\
$(INCLUDES);\
$(_COMMONPUBROOT)\ddk\inc;


--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
news:us0ou%23ppIHA.2636@TK2MSFTNGP04.phx.gbl...
> Hi ,
>
> Add the following in your source.cmn file in the root of your BSP (i
> wonder why it isn't there?):
> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
>
> or in the source file of your USB driver's source file:
> INCLUDES=\
> $(_COMMONPUBROOT)\ddk\inc;
>
> Hope This helps,
>
> Erwin Zwart
>
>
>
>
> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
>>
>> The header file: AesUsb.h
>>
>> /** include files **/
>> #include <windows.h>
>> #include <devload.h>
>>
>> The Source file AesUsb.cpp:
>>
>> /** include files **/
>> #include "StdAfx.h"
>> #include "AesUsb.h"
>>
>> The two files just with two "# incliude .....".
>>
>>
>>
>>
>>
>>
>> "WinCE Trier" wrote:
>>
>>> Thanks for your reply.
>>>
>>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
>>> Vs2005 +
>>> winCE 6.0. Yes I am using Platform Builder. The OS image can be built
>>> successfuly and can boot CEPC.
>>>
>>> Then I try to add a new subject for my USB driver. The subproject is
>>> created
>>> by Wizard with default settings, it can be built successfully.
>>>
>>> Next the header file which contains " #include <devload.h>" is added to
>>> the
>>> list of include files of the subproject. A source .cpp file includeing
>>> this
>>> header is added to this subproject. With no other change, the
>>> subproject
>>> building reports:
>>>
>>> fatal error C1083: Cannot open include file: 'devload.h'.
>>>
>>>
>>> It seems include path needs change?
>>>
>>> Plesae Help,
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Bruce Eitman [eMVP]" wrote:
>>>
>>> > You don't give us much to go on. Like what kind of project you
>>> > created, or
>>> > how you tried to build, or which BSP you used, or which template you
>>> > used...
>>> >
>>> > Are you using Platform Builder?
>>> >
>>> > --
>>> > Bruce Eitman (eMVP)
>>> > Senior Engineer
>>> > Bruce.Eitman AT EuroTech DOT com
>>> >
>>> > EuroTech Inc.
>>> > www.EuroTech.com
>>> >
>>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
>>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>>> > >
>>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
>>> > > C1083:
>>> > > Cannot open include file: 'devload.h'", I just use the default
>>> > > setting to
>>> > > create the subject.
>>> > >
>>> > > Please suggest what setting I forget to do?
>>> > >
>>> > > Thanks
>>> > >
>>> > >
>>> >
>>> >
>>> >
>
>



Re: fatal error C1083: Cannot open include file: 'devload.h' by Erwin

Erwin
Fri Apr 25 07:59:18 PDT 2008

I missed the fact the we where talking about a project.

Thanks for pointer,
Erwin Zwart

"Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
message news:uXNGMDtpIHA.4280@TK2MSFTNGP02.phx.gbl...
> The problem with sources.cmn is that his subproject isn't in the BSP tree,
> so the it would have no effect on this problem.
>
> The change to sources file in the USB driver folder is the way to go. But
> this would be better:
>
> INCLUDES=\
> $(INCLUDES);\
> $(_COMMONPUBROOT)\ddk\inc;
>
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
> news:us0ou%23ppIHA.2636@TK2MSFTNGP04.phx.gbl...
>> Hi ,
>>
>> Add the following in your source.cmn file in the root of your BSP (i
>> wonder why it isn't there?):
>> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
>>
>> or in the source file of your USB driver's source file:
>> INCLUDES=\
>> $(_COMMONPUBROOT)\ddk\inc;
>>
>> Hope This helps,
>>
>> Erwin Zwart
>>
>>
>>
>>
>> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
>> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
>>>
>>> The header file: AesUsb.h
>>>
>>> /** include files **/
>>> #include <windows.h>
>>> #include <devload.h>
>>>
>>> The Source file AesUsb.cpp:
>>>
>>> /** include files **/
>>> #include "StdAfx.h"
>>> #include "AesUsb.h"
>>>
>>> The two files just with two "# incliude .....".
>>>
>>>
>>>
>>>
>>>
>>>
>>> "WinCE Trier" wrote:
>>>
>>>> Thanks for your reply.
>>>>
>>>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
>>>> Vs2005 +
>>>> winCE 6.0. Yes I am using Platform Builder. The OS image can be built
>>>> successfuly and can boot CEPC.
>>>>
>>>> Then I try to add a new subject for my USB driver. The subproject is
>>>> created
>>>> by Wizard with default settings, it can be built successfully.
>>>>
>>>> Next the header file which contains " #include <devload.h>" is added
>>>> to the
>>>> list of include files of the subproject. A source .cpp file
>>>> includeing this
>>>> header is added to this subproject. With no other change, the
>>>> subproject
>>>> building reports:
>>>>
>>>> fatal error C1083: Cannot open include file: 'devload.h'.
>>>>
>>>>
>>>> It seems include path needs change?
>>>>
>>>> Plesae Help,
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Bruce Eitman [eMVP]" wrote:
>>>>
>>>> > You don't give us much to go on. Like what kind of project you
>>>> > created, or
>>>> > how you tried to build, or which BSP you used, or which template you
>>>> > used...
>>>> >
>>>> > Are you using Platform Builder?
>>>> >
>>>> > --
>>>> > Bruce Eitman (eMVP)
>>>> > Senior Engineer
>>>> > Bruce.Eitman AT EuroTech DOT com
>>>> >
>>>> > EuroTech Inc.
>>>> > www.EuroTech.com
>>>> >
>>>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in
>>>> > message
>>>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>>>> > >
>>>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
>>>> > > C1083:
>>>> > > Cannot open include file: 'devload.h'", I just use the default
>>>> > > setting to
>>>> > > create the subject.
>>>> > >
>>>> > > Please suggest what setting I forget to do?
>>>> > >
>>>> > > Thanks
>>>> > >
>>>> > >
>>>> >
>>>> >
>>>> >
>>
>>
>
>



Re: fatal error C1083: Cannot open include file: 'devload.h' by Bruce

Bruce
Fri Apr 25 08:10:24 PDT 2008

No problem, I would have ignored it but the OP seems to be a newbie and I
didn't want him going down a dead end path.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
news:ObWGxTupIHA.4816@TK2MSFTNGP03.phx.gbl...
>I missed the fact the we where talking about a project.
>
> Thanks for pointer,
> Erwin Zwart
>
> "Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
> message news:uXNGMDtpIHA.4280@TK2MSFTNGP02.phx.gbl...
>> The problem with sources.cmn is that his subproject isn't in the BSP
>> tree, so the it would have no effect on this problem.
>>
>> The change to sources file in the USB driver folder is the way to go.
>> But this would be better:
>>
>> INCLUDES=\
>> $(INCLUDES);\
>> $(_COMMONPUBROOT)\ddk\inc;
>>
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
>> news:us0ou%23ppIHA.2636@TK2MSFTNGP04.phx.gbl...
>>> Hi ,
>>>
>>> Add the following in your source.cmn file in the root of your BSP (i
>>> wonder why it isn't there?):
>>> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
>>>
>>> or in the source file of your USB driver's source file:
>>> INCLUDES=\
>>> $(_COMMONPUBROOT)\ddk\inc;
>>>
>>> Hope This helps,
>>>
>>> Erwin Zwart
>>>
>>>
>>>
>>>
>>> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
>>> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
>>>>
>>>> The header file: AesUsb.h
>>>>
>>>> /** include files **/
>>>> #include <windows.h>
>>>> #include <devload.h>
>>>>
>>>> The Source file AesUsb.cpp:
>>>>
>>>> /** include files **/
>>>> #include "StdAfx.h"
>>>> #include "AesUsb.h"
>>>>
>>>> The two files just with two "# incliude .....".
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "WinCE Trier" wrote:
>>>>
>>>>> Thanks for your reply.
>>>>>
>>>>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
>>>>> Vs2005 +
>>>>> winCE 6.0. Yes I am using Platform Builder. The OS image can be
>>>>> built
>>>>> successfuly and can boot CEPC.
>>>>>
>>>>> Then I try to add a new subject for my USB driver. The subproject is
>>>>> created
>>>>> by Wizard with default settings, it can be built successfully.
>>>>>
>>>>> Next the header file which contains " #include <devload.h>" is added
>>>>> to the
>>>>> list of include files of the subproject. A source .cpp file
>>>>> includeing this
>>>>> header is added to this subproject. With no other change, the
>>>>> subproject
>>>>> building reports:
>>>>>
>>>>> fatal error C1083: Cannot open include file: 'devload.h'.
>>>>>
>>>>>
>>>>> It seems include path needs change?
>>>>>
>>>>> Plesae Help,
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Bruce Eitman [eMVP]" wrote:
>>>>>
>>>>> > You don't give us much to go on. Like what kind of project you
>>>>> > created, or
>>>>> > how you tried to build, or which BSP you used, or which template you
>>>>> > used...
>>>>> >
>>>>> > Are you using Platform Builder?
>>>>> >
>>>>> > --
>>>>> > Bruce Eitman (eMVP)
>>>>> > Senior Engineer
>>>>> > Bruce.Eitman AT EuroTech DOT com
>>>>> >
>>>>> > EuroTech Inc.
>>>>> > www.EuroTech.com
>>>>> >
>>>>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in
>>>>> > message
>>>>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>>>>> > >
>>>>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
>>>>> > > C1083:
>>>>> > > Cannot open include file: 'devload.h'", I just use the default
>>>>> > > setting to
>>>>> > > create the subject.
>>>>> > >
>>>>> > > Please suggest what setting I forget to do?
>>>>> > >
>>>>> > > Thanks
>>>>> > >
>>>>> > >
>>>>> >
>>>>> >
>>>>> >
>>>
>>>
>>
>>
>
>



Re: fatal error C1083: Cannot open include file: 'devload.h' by WinCETrier

WinCETrier
Fri Apr 25 15:28:00 PDT 2008

Thanks for your suggestion.

"Erwin Zwart" wrote:

> Hi ,
>
> Add the following in your source.cmn file in the root of your BSP (i wonder
> why it isn't there?):
> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
>
> or in the source file of your USB driver's source file:
> INCLUDES=\
> $(_COMMONPUBROOT)\ddk\inc;
>
> Hope This helps,
>
> Erwin Zwart
>
>
>
>
> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
> >
> > The header file: AesUsb.h
> >
> > /** include files **/
> > #include <windows.h>
> > #include <devload.h>
> >
> > The Source file AesUsb.cpp:
> >
> > /** include files **/
> > #include "StdAfx.h"
> > #include "AesUsb.h"
> >
> > The two files just with two "# incliude .....".
> >
> >
> >
> >
> >
> >
> > "WinCE Trier" wrote:
> >
> >> Thanks for your reply.
> >>
> >> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
> >> Vs2005 +
> >> winCE 6.0. Yes I am using Platform Builder. The OS image can be built
> >> successfuly and can boot CEPC.
> >>
> >> Then I try to add a new subject for my USB driver. The subproject is
> >> created
> >> by Wizard with default settings, it can be built successfully.
> >>
> >> Next the header file which contains " #include <devload.h>" is added to
> >> the
> >> list of include files of the subproject. A source .cpp file includeing
> >> this
> >> header is added to this subproject. With no other change, the subproject
> >> building reports:
> >>
> >> fatal error C1083: Cannot open include file: 'devload.h'.
> >>
> >>
> >> It seems include path needs change?
> >>
> >> Plesae Help,
> >>
> >> Thanks
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> "Bruce Eitman [eMVP]" wrote:
> >>
> >> > You don't give us much to go on. Like what kind of project you
> >> > created, or
> >> > how you tried to build, or which BSP you used, or which template you
> >> > used...
> >> >
> >> > Are you using Platform Builder?
> >> >
> >> > --
> >> > Bruce Eitman (eMVP)
> >> > Senior Engineer
> >> > Bruce.Eitman AT EuroTech DOT com
> >> >
> >> > EuroTech Inc.
> >> > www.EuroTech.com
> >> >
> >> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in message
> >> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
> >> > >
> >> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
> >> > > C1083:
> >> > > Cannot open include file: 'devload.h'", I just use the default
> >> > > setting to
> >> > > create the subject.
> >> > >
> >> > > Please suggest what setting I forget to do?
> >> > >
> >> > > Thanks
> >> > >
> >> > >
> >> >
> >> >
> >> >
>
>
>

Re: fatal error C1083: Cannot open include file: 'devload.h' by WinCETrier

WinCETrier
Fri Apr 25 15:46:02 PDT 2008

Thanks for your suggestion.

I tried your way. The AesIo.cpp file :

--------------------------------------------
INCLUDES=\
$(INCLUDES);\
$(_COMMONPUBROOT)\ddk\inc;

/** include files **/
#include "StdAfx.h"
#include "AesUsb.h"
-------------------------------------------------

and devload.h is there c:\WINCE600\PUBLIC\COMMON\DDK\INC

The building error still appears:
---------------------------------------------------------------------------------------------
\obj\x86\debug\StdAfx.pch
BUILD: [00:0000000032:PROGC ] Building COMPILE Pass in
C:\WINCE600\OSDesigns\OSDesign4\OSDesign4\Subproject2\ directory.
BUILD: [01:0000000047:PROGC ] Compiling .\Subproject2.cpp
BUILD: [01:0000000050:PROGC ] Compiling .\AesIo.cpp
BUILD: [01:0000000053:ERRORE]
c:\wince600\osdesigns\osdesign4\osdesign4\subproject2\AesUsb.h(4) : fatal
error C1083: Cannot open include file: 'devload.h': No such file or directory
BUILD: [00:0000000054:PROGC ] Files Warnings Errors
BUILD: [00:0000000055:PROGC ] Midl 0 0
-----------------------------------------------------------------------------------------------

What is wrong?

Thanks for any suggestion.

Best Regards,

Peter




"Bruce Eitman [eMVP]" wrote:

> No problem, I would have ignored it but the OP seems to be a newbie and I
> didn't want him going down a dead end path.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
> news:ObWGxTupIHA.4816@TK2MSFTNGP03.phx.gbl...
> >I missed the fact the we where talking about a project.
> >
> > Thanks for pointer,
> > Erwin Zwart
> >
> > "Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
> > message news:uXNGMDtpIHA.4280@TK2MSFTNGP02.phx.gbl...
> >> The problem with sources.cmn is that his subproject isn't in the BSP
> >> tree, so the it would have no effect on this problem.
> >>
> >> The change to sources file in the USB driver folder is the way to go.
> >> But this would be better:
> >>
> >> INCLUDES=\
> >> $(INCLUDES);\
> >> $(_COMMONPUBROOT)\ddk\inc;
> >>
> >>
> >> --
> >> Bruce Eitman (eMVP)
> >> Senior Engineer
> >> Bruce.Eitman AT EuroTech DOT com
> >>
> >> EuroTech Inc.
> >> www.EuroTech.com
> >>
> >> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
> >> news:us0ou%23ppIHA.2636@TK2MSFTNGP04.phx.gbl...
> >>> Hi ,
> >>>
> >>> Add the following in your source.cmn file in the root of your BSP (i
> >>> wonder why it isn't there?):
> >>> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
> >>>
> >>> or in the source file of your USB driver's source file:
> >>> INCLUDES=\
> >>> $(_COMMONPUBROOT)\ddk\inc;
> >>>
> >>> Hope This helps,
> >>>
> >>> Erwin Zwart
> >>>
> >>>
> >>>
> >>>
> >>> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
> >>> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
> >>>>
> >>>> The header file: AesUsb.h
> >>>>
> >>>> /** include files **/
> >>>> #include <windows.h>
> >>>> #include <devload.h>
> >>>>
> >>>> The Source file AesUsb.cpp:
> >>>>
> >>>> /** include files **/
> >>>> #include "StdAfx.h"
> >>>> #include "AesUsb.h"
> >>>>
> >>>> The two files just with two "# incliude .....".
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> "WinCE Trier" wrote:
> >>>>
> >>>>> Thanks for your reply.
> >>>>>
> >>>>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
> >>>>> Vs2005 +
> >>>>> winCE 6.0. Yes I am using Platform Builder. The OS image can be
> >>>>> built
> >>>>> successfuly and can boot CEPC.
> >>>>>
> >>>>> Then I try to add a new subject for my USB driver. The subproject is
> >>>>> created
> >>>>> by Wizard with default settings, it can be built successfully.
> >>>>>
> >>>>> Next the header file which contains " #include <devload.h>" is added
> >>>>> to the
> >>>>> list of include files of the subproject. A source .cpp file
> >>>>> includeing this
> >>>>> header is added to this subproject. With no other change, the
> >>>>> subproject
> >>>>> building reports:
> >>>>>
> >>>>> fatal error C1083: Cannot open include file: 'devload.h'.
> >>>>>
> >>>>>
> >>>>> It seems include path needs change?
> >>>>>
> >>>>> Plesae Help,
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> "Bruce Eitman [eMVP]" wrote:
> >>>>>
> >>>>> > You don't give us much to go on. Like what kind of project you
> >>>>> > created, or
> >>>>> > how you tried to build, or which BSP you used, or which template you
> >>>>> > used...
> >>>>> >
> >>>>> > Are you using Platform Builder?
> >>>>> >
> >>>>> > --
> >>>>> > Bruce Eitman (eMVP)
> >>>>> > Senior Engineer
> >>>>> > Bruce.Eitman AT EuroTech DOT com
> >>>>> >
> >>>>> > EuroTech Inc.
> >>>>> > www.EuroTech.com
> >>>>> >
> >>>>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in
> >>>>> > message
> >>>>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
> >>>>> > >
> >>>>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal error
> >>>>> > > C1083:
> >>>>> > > Cannot open include file: 'devload.h'", I just use the default
> >>>>> > > setting to
> >>>>> > > create the subject.
> >>>>> > >
> >>>>> > > Please suggest what setting I forget to do?
> >>>>> > >
> >>>>> > > Thanks
> >>>>> > >
> >>>>> > >
> >>>>> >
> >>>>> >
> >>>>> >
> >>>
> >>>
> >>
> >>
> >
> >
>
>
>

Re: fatal error C1083: Cannot open include file: 'devload.h' by Bruce

Bruce
Fri Apr 25 19:13:44 PDT 2008

You should have a file in that folder named "sources" those lines should be
added there, not to a cpp file.

_COMMONPUBROOT isn't \WINCE600\Public\Common it is a folder in your OSDesign
that is populated when you run sysgen. Come to think of it, that may be a
problem as well in your subproject. Use this instead:

INCLUDES=\
$(INCLUDES);\
$(_PROJECTDDKROOT)\inc;


--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
news:A6696404-C7BF-4A50-9CBE-85F1CC38A459@microsoft.com...
> Thanks for your suggestion.
>
> I tried your way. The AesIo.cpp file :
>
> --------------------------------------------
> INCLUDES=\
> $(INCLUDES);\
> $(_COMMONPUBROOT)\ddk\inc;
>
> /** include files **/
> #include "StdAfx.h"
> #include "AesUsb.h"
> -------------------------------------------------
>
> and devload.h is there c:\WINCE600\PUBLIC\COMMON\DDK\INC
>
> The building error still appears:
> ---------------------------------------------------------------------------------------------
> \obj\x86\debug\StdAfx.pch
> BUILD: [00:0000000032:PROGC ] Building COMPILE Pass in
> C:\WINCE600\OSDesigns\OSDesign4\OSDesign4\Subproject2\ directory.
> BUILD: [01:0000000047:PROGC ] Compiling .\Subproject2.cpp
> BUILD: [01:0000000050:PROGC ] Compiling .\AesIo.cpp
> BUILD: [01:0000000053:ERRORE]
> c:\wince600\osdesigns\osdesign4\osdesign4\subproject2\AesUsb.h(4) : fatal
> error C1083: Cannot open include file: 'devload.h': No such file or
> directory
> BUILD: [00:0000000054:PROGC ] Files Warnings
> Errors
> BUILD: [00:0000000055:PROGC ] Midl 0 0
> 0
> -----------------------------------------------------------------------------------------------
>
> What is wrong?
>
> Thanks for any suggestion.
>
> Best Regards,
>
> Peter
>
>
>
>
> "Bruce Eitman [eMVP]" wrote:
>
>> No problem, I would have ignored it but the OP seems to be a newbie and I
>> didn't want him going down a dead end path.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
>> news:ObWGxTupIHA.4816@TK2MSFTNGP03.phx.gbl...
>> >I missed the fact the we where talking about a project.
>> >
>> > Thanks for pointer,
>> > Erwin Zwart
>> >
>> > "Bruce Eitman [eMVP]" <beitman.nospam@applieddata.net.nospam> wrote in
>> > message news:uXNGMDtpIHA.4280@TK2MSFTNGP02.phx.gbl...
>> >> The problem with sources.cmn is that his subproject isn't in the BSP
>> >> tree, so the it would have no effect on this problem.
>> >>
>> >> The change to sources file in the USB driver folder is the way to go.
>> >> But this would be better:
>> >>
>> >> INCLUDES=\
>> >> $(INCLUDES);\
>> >> $(_COMMONPUBROOT)\ddk\inc;
>> >>
>> >>
>> >> --
>> >> Bruce Eitman (eMVP)
>> >> Senior Engineer
>> >> Bruce.Eitman AT EuroTech DOT com
>> >>
>> >> EuroTech Inc.
>> >> www.EuroTech.com
>> >>
>> >> "Erwin Zwart" <erwin dot zwart at pts dot nl> wrote in message
>> >> news:us0ou%23ppIHA.2636@TK2MSFTNGP04.phx.gbl...
>> >>> Hi ,
>> >>>
>> >>> Add the following in your source.cmn file in the root of your BSP (i
>> >>> wonder why it isn't there?):
>> >>> _OEMINCPATH=$(_OEMINCPATH);$(_COMMONPUBROOT)\ddk\inc;
>> >>>
>> >>> or in the source file of your USB driver's source file:
>> >>> INCLUDES=\
>> >>> $(_COMMONPUBROOT)\ddk\inc;
>> >>>
>> >>> Hope This helps,
>> >>>
>> >>> Erwin Zwart
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> "WinCE Trier" <WinCETrier@discussions.microsoft.com> wrote in message
>> >>> news:8EA2EDA9-D654-451F-B725-174A79C9BB1F@microsoft.com...
>> >>>>
>> >>>> The header file: AesUsb.h
>> >>>>
>> >>>> /** include files **/
>> >>>> #include <windows.h>
>> >>>> #include <devload.h>
>> >>>>
>> >>>> The Source file AesUsb.cpp:
>> >>>>
>> >>>> /** include files **/
>> >>>> #include "StdAfx.h"
>> >>>> #include "AesUsb.h"
>> >>>>
>> >>>> The two files just with two "# incliude .....".
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> "WinCE Trier" wrote:
>> >>>>
>> >>>>> Thanks for your reply.
>> >>>>>
>> >>>>> I am trying to create a USB driver(DLL) for CEPC(x86). I am using
>> >>>>> Vs2005 +
>> >>>>> winCE 6.0. Yes I am using Platform Builder. The OS image can be
>> >>>>> built
>> >>>>> successfuly and can boot CEPC.
>> >>>>>
>> >>>>> Then I try to add a new subject for my USB driver. The subproject
>> >>>>> is
>> >>>>> created
>> >>>>> by Wizard with default settings, it can be built successfully.
>> >>>>>
>> >>>>> Next the header file which contains " #include <devload.h>" is
>> >>>>> added
>> >>>>> to the
>> >>>>> list of include files of the subproject. A source .cpp file
>> >>>>> includeing this
>> >>>>> header is added to this subproject. With no other change, the
>> >>>>> subproject
>> >>>>> building reports:
>> >>>>>
>> >>>>> fatal error C1083: Cannot open include file: 'devload.h'.
>> >>>>>
>> >>>>>
>> >>>>> It seems include path needs change?
>> >>>>>
>> >>>>> Plesae Help,
>> >>>>>
>> >>>>> Thanks
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> "Bruce Eitman [eMVP]" wrote:
>> >>>>>
>> >>>>> > You don't give us much to go on. Like what kind of project you
>> >>>>> > created, or
>> >>>>> > how you tried to build, or which BSP you used, or which template
>> >>>>> > you
>> >>>>> > used...
>> >>>>> >
>> >>>>> > Are you using Platform Builder?
>> >>>>> >
>> >>>>> > --
>> >>>>> > Bruce Eitman (eMVP)
>> >>>>> > Senior Engineer
>> >>>>> > Bruce.Eitman AT EuroTech DOT com
>> >>>>> >
>> >>>>> > EuroTech Inc.
>> >>>>> > www.EuroTech.com
>> >>>>> >
>> >>>>> > "WinCE Trier" <WinCE Trier@discussions.microsoft.com> wrote in
>> >>>>> > message
>> >>>>> > news:EC5E69C0-29DB-4B1E-A964-C60F7102E49B@microsoft.com...
>> >>>>> > >
>> >>>>> > > WinCE 6.0 ( VS2005), a new subject building reports "fatal
>> >>>>> > > error
>> >>>>> > > C1083:
>> >>>>> > > Cannot open include file: 'devload.h'", I just use the default
>> >>>>> > > setting to
>> >>>>> > > create the subject.
>> >>>>> > >
>> >>>>> > > Please suggest what setting I forget to do?
>> >>>>> > >
>> >>>>> > > Thanks
>> >>>>> > >
>> >>>>> > >
>> >>>>> >
>> >>>>> >
>> >>>>> >
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>>
>>