I have replied to your questions below.
Thanks for help and summarising. 
I did following things
1). Cleared Cache  
2). Run "build_nmake.bat debug QT_QMAKE_EXECUTABLE=C:\Qt\4.1.2\bin\qmake.exe" 
command.
3). It gave me error:CMake Error: Could not find Boost
4). I googled this and solution I got was: Replace FindBoost.cmake from 
C:\Program Files\CMake 2.4\share\cmake-2.4\Modules to <WengoDir>\cmake\modules
5). After Replacing I run command in 2). again and I get:

-- Configuring done
-- Generating done
-- Build files have been written to: C:/WIP/build
However I still don't see any installer in my directories. 
I believe installer should be created in dir <Wengo Dir>\build\debug\?

6). Also I get lots of errors while building:

*************************************************************
-- Found Qt-Version 4.1.2
-- lupdate C:/WIP/wengophone/src/presentation/qt/lang/qtwengophone_de.ts
lupdate error: Cannot open C++ source file 
'C:/WIP/build/wengophone/src/presentation/qt/moc_QtWengoPhone.cxx': No such 
file or directory
*************************************************************

lupdate error continues for many moc files.

Answers to questions below->
> Hello,
> 
> Your problem seem to be a corner case in the cmake build 
> system that is difficult to track down. Here are a few 
> question to try to help us go further in the analysis.
> 
> --------------------------------------------------------------
> ---------
> Summary of Jayas' config:
> * Visual Studio 2005,Qt4.1.2 on Windows
> * WindowsXP - Service Pack 2, Intel Core2 CPU T7400 @ 2.16GHz (32bit)
> 
> Code source: wengophone-2.1
> 
> Cmake build system corner case (the build has not even started):
> > > CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj : fatal
> > error LNK1112:
> > > module machine type 'X86' conflicts with target machine 
> type 'x64' 
> > > NMAKE
> > > : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC\bin\cl.exe' 
> : return 
> > > code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program 
> > > Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return
> > code '0x2' Stop.
> --------------------------------------------------------------
> ---------

> 
> -1/ can you confirm the description given above ?
      Correct. Only thing is I tried searching google for T7400 processor and 
found that "Intel® Extended Memory 64 Technology" listed as one of the key 
features. Here - 
http://www.intel.com/cd/channel/reseller/asmo-na/eng/products/mobile/processors/index.htm
 but the PROCESSOR_ARCHITECTURE=x86 is set in environment variables.(Details 
below).However I have Windows XP which is 32 bit OS.

> 
> 0/ (open question): has anyone entered into the same problem 
> with VS2005 ?
> 
> 1/ What version of cmake do you have ?
I use CMake 2.4.5
> 
> 2/ How did you install cmake ? (the best would be a link to 
> the installer you used)
I installed it from here - http://www.cmake.org/HTML/Download.html - 
cmake-2.4.5-win32-x86.exe
> 
> 3/ can you test on another machine ?
> For information, I had a problem with cmake that was coming 
> from the "Logitech process monitor" that has nothing to do with cmake.
> 
I don't have the resource(machine) right now, but I will try.
> 4/ can you test with Visual 2003 which is the preferred 
> compiler as of now for WengoPhone (VS2005 is still a work in progress)
I don't have access to Visual 2003 installation. So I can only use VS2005.
> 
> 5/ could you paste on pastebin your environment settings. 
> Maybe someone can spot something in this ?

Here is my environment settings: 

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\jmeghani\Application Data
BOOSTINCLUDEDIR=C:\Boost\include\boost-1_33_1
BOOSTLIBDIR=C:\boost\lib
Boost_INCLUDE_DIRS=C:\Boost\include\boost-1_33_1
Boost_LIBRARY_DIRS=C:\Boost\lib
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=JMEGHANID820
ComSpec=C:\WINDOWS\system32\cmd.exe
DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (April 2006)\
FP_NO_HOST_CHECK=NO
FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
FrameworkVersion=v2.0.50727
HOMEDRIVE=Y:
HOMEPATH=\
HOMESHARE=\\nj-fs2\homedir$\jmeghani
INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program 
Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;C:\Program 
Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\atl;C:\Program 
Files\Microsoft DirectX SDK (April 
2006)\Include;C:\Python24;C:\Qt\4.1.2\include;
LIB=C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program 
Files\Microsoft Visual Studio 8\SDK\v2.0\lib;C:\Program Files\Microsoft 
Platform SDK for Windows Server 2003 R2\lib;C:\Program Files\Microsoft DirectX 
SDK (April 2006)\lib;C:\Qt\4.1.2\lib;
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
LOGONSERVER=\\NJ-DC2
MAKEMSI_DB_COMPARE_TEMPLATE.MSI=C:\Program Files\MakeMsi\UiSample.MSI
MAKEMSI_DIR=C:\Program Files\MakeMsi\
MAKEMSI_MSIVAL2_DIR=C:\Program Files\MSIVAL2
MAKEMSI_WILOGUTL_EXE=C:\Program Files\Microsoft Platform SDK for Windows Server 
2003 R2\Bin\WiLogUtl.EXE
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program 
Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 
8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program 
Files\Microsoft Visual Studio 8\VC\VCPackages;C:\Program Files\Microsoft 
Platform SDK for Windows Server 2003 R2\Bin;C:\Program Files\Microsoft DirectX 
SDK (April 2006)\Utilities\Bin\x86;c:\Python24;C:\Qt\4.1.2\bin;C:\Program 
Files\CMake 2.4\bin;"C:\Program Files\Microsoft DirectX SDK (April 
2006)\Utilities\Bin\x86";C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\MIT\Kerberos\bin;c:\Program Files\Microsoft SQL 
Server\90\Tools\binn\;c:\qt\4.1.2\bin\;"C:\Python24\";"C:\Program 
Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin";"C:\Program 
Files\CMake 2.4\bin\";C:\Program Files\MakeMsi\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.4mm
PPWIZARD_INCLUDE=C:\Program Files\MakeMsi\
PPWIZARD_TEST_REGINA_VER=3.3(JULIAN)(MT)
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f06
ProgramFiles=C:\Program Files
PROMPT=$P$G
QMAKESPEC=win32-msvc2005
QTDIR=C:\Qt\4.1.2
QTINCLUDEDIR=C:\Qt\4.1.2\include
QTLIBDIR=C:\Qt\4.1.2\lib
REGINA_MACROS=C:\Program Files\MakeMsi\
SESSIONNAME=Console
SonicCentral=C:\Program Files\Common Files\Sonic Shared\Sonic Central\
SystemDrive=C:
SystemRoot=C:\WINDOWS
VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
windir=C:\WINDOWS
> 
> 7/ do you confirm that you erase you cmake build directory 
> and all associated cmake cache files before launching the cmake ?
> 
I was not doing before but now I do. Thanks for this.
> 6/ When your linker says :
> 
> CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj : fatal 
> module machine type 'X86' conflicts with target machine type 'x64', 
> 
> do you have any lead on what has chosen the module machine 
> type and what has chosen the target machine type ?
> 
> maybe looking at what is testCCompiler.(c/cpp) in cmake could help
> 
> more precisely, what would lead cmake to tacget 'x64' if you 
> have a 32 bit machine ?
I guess the error was because of not clearing cache.
> 
> Hoping this will help,
> Jerome
> 
> 
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] De la 
> part de Jaya Meghani Envoyé : mardi 2 janvier 2007 16:56 À : 
> Andreas Schneider Cc : [email protected]
> Objet : RE: [Wengophone-devel] Building using Cmake - Error
> 
>  
> > Jaya Meghani wrote:
> > > Hi,
> > Hi Jaya,
> > 
> > > 
> > > I am using Visual Studio 2005,Qt4.1.2 on Windows.
> > 
> > Windows version, arch? Please be more precise next time. I try to 
> > guess...
> I am using WindowsXP - Service Pack 2, Intel Core2 CPU T7400 
> @ 2.16GHz.
> So its 32 bit.
> >  
> > > 
> > > I get this error:
> > > 
> > 
> > ...
> > 
> > > CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj : fatal
> > error LNK1112:
> > > module machine type 'X86' conflicts with target machine 
> type 'x64' 
> > > NMAKE
> > > : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC\bin\cl.exe' 
> : return 
> > > code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program 
> > > Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return
> > code '0x2' Stop.
> > > 
> > 
> > Looks like you have a 64bit processor and nmake has a 
> problem with the 
> > machine type. Did your VS come with a
> > 
> >    "Visual Studio 2005 x64 Win64 Command Prompt"
> > 
> > If not install the x64 tools.
> > 
> > I googled this ;)
> I got this on google too (before posting query) but since I 
> have 32bit machine..I needed help.
> I also read somewhere that this error comes when libraries 
> are compiled for different configurations (32 and 64) and 
> linker is trying to link them.
> > 
> > 
> > 
> >     -- andreas
> > 
> > --
> > http://www.cynapses.org/ - cybernetic synapses
> > 
> > 
> > 
> _______________________________________________
> Wengophone-devel mailing list
> [email protected]
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel
> 
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to