Re: Strange compilation error on Visual Studio 2005 and CE custom SDK




It was some smart evc to vs2005 wizard available
for the earlier versions of vs2005. Strange, can't
find the download now. May be it is already integrated
in the final release. Anyway, you may want to try
service pack 1 for vs2005, which is fixing quite
a lot of issues.

Possibly the problem is with some missing preprocessor
defs. Start a new project in vs2005 witch is working
fine with your Platform SDK, then goto Project Settings ->
C++ -> Preprocessor -> Preprocessor defs and compare vs
your converted evc project. Are there any differences there?


RFOG wrote:
It is a PB5 Platform that works fine with eMbedded Visual C++ 4sp4, and SDK is built with PB5 in same Workspace than OS that runs on device. Visual Studio recognizes it right, and I can compile and debug a void project.

Project type is C++ | Smart Device | Win 32 smart device app with only that SDK selected. The only non-standard stuff is the OS has no UI, but it compiles right on eVc.

Upgrade our library project form evc to vs2005 does not work, and upgrading any app does not work too. Now I'm capable to compile our library with a lot of hacks into headers, like shown here. BUt form now I cannot compile any app, I'm doing a lot of changes in stdafx and other headers in order to get compiling it.

I think VC2005 forget to compile same headers. Same SDK, same custom CE built. The only difference is VS. In evc it compiles right. In VS2005 gets a lot of nonsense errors... ¿VS2005 bugs?

On Tue, 07 Nov 2006 21:40:06 +0100, voidcoder <voidcoder@xxxxxxxxx> wrote:


What platform/tool your library does originate from? What
Platfrom SDK and project type you are using in VS2005 to
build it?


RFOG wrote:
I'm trying to recompile our library with Visual Studio 2005 for ARM device.
First problems are errors like:
J:\Program Files\Windows CE Tools\wce500\VideoG20Tiny\include\ARMV4I\winbase.h(2055) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
That error occurs becaulse _ARM_ is not defined in anything, then I've to define it in stdafx.h
Other less important are forgot to include other headers. Doc says that Windows.h includes wingdi.h but wingdi.h is not included or if it is included it is forgotten at app level, then I've to include it manually.
Other normal headers like excpt.h or dbgapi.h are not included by default.



--Visita mi blog: http://rfog.blogsome.com
Libros, ciencia ficción y programación
========================================
Lo que para algunos son remordimientos, para otros constituyen reminiscencias.
-- G.H. Brown.
.



Relevant Pages

  • How to compile for HPC 2.0 with eVC++ 3.0 (was: Compiling for H/PC v2.0?)
    ... How to compile for H/PC 2.0 using eVC++ ... The SDK file is called mplatsdk.exe. ... certain is NOT compatible with eVC v3.x. ... including a H/PC 2.0 Jornada 660. ...
    (microsoft.public.pocketpc.developer)
  • Re: Strange compilation error on Visual Studio 2005 and CE custom SDK
    ... It is a PB5 Platform that works fine with eMbedded Visual C++ 4sp4, and SDK is built with PB5 in same Workspace than OS that runs on device. ... Upgrade our library project form evc to vs2005 does not work, and upgrading any app does not work too. ... Now I'm capable to compile our library with a lot of hacks into headers, ... BUt form now I cannot compile any app, I'm doing a lot of changes in stdafx and other headers in order to get compiling it. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MS eVC newbie question
    ... >compile, but then I get one error after another. ... I would expect the SDK to compile this ... The headers that come with VisualStudio link many headers. ... Definitely yes for Pocket PC (all three ...
    (microsoft.public.pocketpc.developer)
  • Re: EVC++ 3.0 X86 option
    ... You don't have the right SDK installed... ... I find problems when I jump to EVC 4. ... I choose MIPS and then compile. ... > no support ...
    (microsoft.public.windowsce.embedded.vc)
  • CE 4.0 SDK??
    ... Does anyone know where once can find that standard Win CE 4.0 SDK for ... eVC++ 4.0? ... I need to compile for CE ... If its not available through MSDN, are there any other places where it ...
    (microsoft.public.windowsce.embedded)

Loading