Re: Strange compilation error on Visual Studio 2005 and CE custom SDK
- From: voidcoder <voidcoder@xxxxxxxxx>
- Date: Wed, 08 Nov 2006 22:34:46 +0100
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.
- References:
- Prev by Date: Re: How to customize the cross-hair of touch calibration UI
- Next by Date: Re: DOS bootloader Vs. BiosBootLoader
- Previous by thread: Re: Strange compilation error on Visual Studio 2005 and CE custom SDK
- Next by thread: Windows CE 5.0 .pbxml
- Index(es):
Relevant Pages
|
Loading