Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Kerstin Pirrung <pirrung@xxxxxxxxx>
- Date: Wed, 05 Apr 2006 04:07:38 -0700
=?Utf-8?B?Sm9uYXRoYW4gS2luZw==?=
<JonathanKing@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:E4D2BB1E-3061-4029-8195-DEE9531D8DA5@xxxxxxxxxxxxx:
I just completely removed eVC and VS, then installed eVC again. Same
error. The resources compile if I include the folder in the resources
tab. What folder do I need to add, and how do I add it to get past
this next error?
Did you declare the headers as "external dependencies" in the "files"
tab? Maybe that could help you...
But still, it shouldn't be necessary; there must be another snag in it.
Try having a look at your environmentals (NOT eVC- or VS internal, but
system-wide).
Or can you maybe post the makefile? Or your command lines? That might
give us a clue.
Greetings,
Kerstin
Thanks to everyone for the continuing help.
"Jonathan King" wrote:
I cannot compile because then I get another error because
'emulatorDbg/HelloWorld.pch' does not exist. I'm guessing that that
file is dependent on the resources. I exported the makefile, but I
really don't know what to look for.
Something interesting, if I copy everything from the correct include
folder into my project directory OR (what you suggested) just add the
directory to the settings, I get past one hurdle. It successfully
compiles the resources, and I am now able to expand the resources in
the workspace viewer. Now, the build stops here:
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
HelloWorld.cpp
C:\Documents and Settings\Paul King\My
Documents\Dev\proj\HelloWorld\HelloWorld.cpp(7) : fatal error C1083:
Cannot open include file: 'aygshell.h': No such file or directory
Error executing cl.exe
It looks like it just won't look in the directories that it is
supposed to. I installed eVC on my other computer, and it works fine.
I need eVC on this computer though, because the other is extremely
slowww. I'm wondering if it is due to a bad install. I had Visual
Studio 2005 developer preview 2 installed. Could that have affected
it? I just got rid of it, and I am about to reinstall eVC.
"r_z_aret@xxxxxxxxxxxx" wrote:
On Mon, 3 Apr 2006 14:59:03 -0700, Jonathan King
<JonathanKing@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am creating a new Pocket PC 2003 application, building for WCE
ARMV4 and WCE emulator. The I select typical hellow world
application or a simple WinCE application. Either one gives me the
same error. I just tried with a smartphone project same thing.
I just went to "Tools->Options->Directories". Under the Pocket PC
2003 platform, there are three entries:
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\emulator C:\Program Files\Windows CE
Tools\wce420\POCKET PC 2003\mfc\include C:\Program Files\Windows
CE Tools\wce420\POCKET PC 2003\atl\include Winver.h is in the
first directory, so why wont it open? If I move winver.h to the
project directory, then I get another error that it cannot find
aygshell.h. If I copy that to the project folder, I get another
error, and on and on. It really does sound like an include
problem, but the directory is there.
I have wasted a lot of time moving header files around, so I
recommend not doing it. It tends to snowball (trigger several new
error messages for each one suppressed).
I see a copy of winver in each of the CPU-specific "include"
folders (include\armv4, include\emulator). The list you see in
Tools->Options->Directories should depend on platform and CPU. In
particular, you should see only emulator folders for the emulator
list and only ARMV4 folders for the ARMV4 list. (This paragraph is
_definitely_ not as clear as I would like, but each of several
attempts I made to clarify were even muddier.)
I've never quite understood the difference between "" and <> in
references to header (include) files. Does "" mean look _only_ in
current (caller's) folder, or first in current and then in
"system"? Does <> mean look only in "system"?
Another thing, if in the workspace viewer, I click the resources
tab and try to expand the resources folder, I get the same thing.
Error RC1015 cannot open winver.h. What is wrong?
I'm not so surprised that the resource compiler and resource editor
suffer from the same problem.
What happens if you try to compile just a source (c or cpp) file?
If that works, then the problem is somewhat limited to resources.
At least for diagnostics, you might want to try adding the
appropriate "CPU folder" (see above) to the "Additional resource
include directories" in Project->Settings->Resources. You should
add only one folder for each target (CPU/platform).
"Kerstin Pirrung" wrote:
Hi!
Basically it looks like your "Include Directories" list is
incomplete. One of the drawbacks of eVC is that it does not set
those lists all that intelligently (one of the drawbacks of VS
2005 is that it won't tell me voluntarily how and why it set
said lists) - so just try and check "Tools->
Options->Directories" as well as yur INCLUDEDIRS.
Greetings,
Kerstin
=?Utf-8?B?Sm9uYXRoYW4gS2luZw==?=
<JonathanKing@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:A613317B-4252-4B77-8A62-9B5E59B866AB@xxxxxxxxxxxxx:
Ok, a google search pulls up nothing. Basically, I just
installed eVC++ 4.0, the PPC 2003 sdk, and SP4. Cannot get
anything to build. If I create a new PPC 2003 simple CE app or
hello world app then attempt to build, it will not work. I get
the following error:
Compiling resources...
C:\Documents and Settings\Paul King\My
Documents\Dev\HelloWorld\newres.h(32)
: fatal error RC1015: cannot open include file 'winver.h'.
Error executing rc.exe.
A google search pulls up many people asking this question, but
no solutions. Can somebody please help?
-----------------------------------------
To reply to me, remove the underscores (_) from my email address
(and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Jonathan King
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Jonathan King
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- References:
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Kerstin Pirrung
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: r_z_aret
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Jonathan King
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: Jonathan King
- Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- Prev by Date: Re: Accessing desktop registry from PDA
- Next by Date: Re: Problem with SystemDateTime function
- Previous by thread: Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- Next by thread: Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- Index(es):
Relevant Pages
|