Re: eVC++ 4.0 SP4, Cannot build anything. Please help
- From: r_z_aret@xxxxxxxxxxxx
- Date: Thu, 06 Apr 2006 18:26:53 -0400
On Tue, 4 Apr 2006 16:05:02 -0700, Jonathan King
<JonathanKing@xxxxxxxxxxxxxxxxxxxxxxxxx> 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.
The "pch" files are "precompiled headers". At least for now, you can
eliminate those messages by choosing not to use precompiled headers
(Project->Settings->C/C++->Precompiled Headers). I find them more
bother than useful, and never use them. They can reduce compilation
time for big projects, so some folks really like them.
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,
Copying files like that is a bit helpful for diagnosing installation
problems. Definitely not good for real use.
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
The aygshell.h file is included only for some platforms. It is
included for Pocket PCs (all versions). It is generally not included
for others. So you are likely to get such an error if you include a
file from a Pocket PC SDK, but try to build with another SDK. Copying
header files is a very effective way to generate such errors.
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.
A bad install is _very_ likely.
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.
Possible. But several folks, including me, have multiple compilers on
a single computer without problems. Of course, Beta/Preview versions
are always more suspect.
Completely removing software is not always easy. Leftovers may affect
the reinstall. In particular, registry settings can be painful.
Unfortunately, the only sure cure for them is to reinstall the
operating system. Not something to do lightly. Even more
unfortunately, I don't know nearly enough to help guide you much.
"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
-----------------------------------------
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
.
- 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
- Prev by Date: Re: UnsupportedPlatforms
- Next by Date: Re: suspend problem
- 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
|
Loading