Sunday, October 12th 2008, 12:49am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, December 3rd 2007, 3:47pm

Configuring 4.3.2 under XP

Hey folks!

Currently I´m trying my hands on Qt 4.3.2 under Windows XP
I guess all ennvironment variables are set correctly, but running configure with the options

-static -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005 -release

results in the following error:

project.cpp
C:\Programme\Microsoft Visual Studio 8\VC\ce\include\crtdefs.h(100) : fatal error C1189: #error : ERROR: Use of C runtime library internal header file.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
Stop.
Building qmake failed, return code 2

I assume there is something wrong with the include path, and that the crtdefs.h might be the file in question. Nevertheless the environment should be set up correctly by using the vsvars32.bat

Paths are set as follows:
set INCLUDE=C:\Programme\Microsoft Visual Studio 8\VC\ce\include;C:\Programme\Microsoft Visual Studio 8\VC\crt\src;C:\Programme\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i

set LIB=C:\Programme\Microsoft Visual Studio 8\VC\ce\lib\armv4i;C:\Programme\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I

set PATH=C:\Programme\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;C:\Programme\Microsoft Visual Studio 8\VC\bin;C:\Programme\Microsoft Visual Studio 8\Common7\IDE;%PATH%


Somebody help me?

Thanks, Jens

This post has been edited 3 times, last edit by "RacePhase" (Dec 4th 2007, 3:51pm)

  • Go to the top of the page

2

Monday, December 3rd 2007, 3:58pm

RE: Configuring 4.3.2 under XP

UP!

This post has been edited 1 times, last edit by "RacePhase" (Dec 4th 2007, 3:51pm)

  • Go to the top of the page

Xaar

Beginner

3

Tuesday, December 4th 2007, 11:34pm

a) To use msvc you need to install:
1. Microsoft Platform SDK for Windows Server 2003 R2
2. Microsoft Visual Studio Express Editions 2005 Service Pack 1

b) My environment:

Quoted

INCLUDE C:\msvc\VC\include;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\;C:\msvc\VC\qt\include

Quoted

LIB C:\msvc\VC\lib;C:\msvc\SDK\v2.0\Lib;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\LIB\;C:\msvc\VC\qt\lib

Quoted

PATH C:\msvc\Common7\IDE;C:\msvc\VC\qt\bin

Quoted

QMAKESPEC win32-msvc2005


c)
1) start->programy->visual studio->visual studio tools->visual studio command prompt
2) cd c:\msvc\vc\qt
3) configure -platform win32-msvc
4) nmake

It works for me 8)
  • Go to the top of the page

4

Wednesday, December 5th 2007, 7:09am

Well, yes. But the issue is, I need to crosscompile from win32-msvc2005 to wincewm50pocket-msvc2005 of the new 4.3.2 version.
It was working for a couple of platforms with 4.3, but after i went abroad and came back it simply doesnt.
I know cam over that problem once ago, but i simply cnt remember as i failed to take my notes....
  • Go to the top of the page

5

Thursday, January 31st 2008, 7:09pm

resolution?

Has anyone resolved this problem? Do we know what the fatal error points to or what causes it? I am seeing this same problem on an app that I am trying to port to windows Mobile Classic 6.
  • Go to the top of the page

Rate this thread