Wince Crypthography



  • Hi,

    was someone able to compile qca for wince platform using vs2005?

    I'm trying but when i run configure in the qca folder i gives me:

    fatal error LNK1112: module type 'X86' conflict with destination'THUMB'

    ...

    thanks,
    Riccardo


  • Lifetime Qt Champion

    Hi,

    I did not do that but it seems you are not using the correct compiler. Are you sure you are using the wince SDK ?

    Hope it helps



  • Gi,

    i'm using the same cmd used to compile qt.
    I also set QTDIR to point at the Qt for wince folder

    I'm missing something?


  • Lifetime Qt Champion

    Seems that cmake use your desktop Qt version rather that the cross-compiled. Check the CMakeFiles to verify that and try to force the detection of the cross-compiled Qt



  • This is the conf.log created when I run configure

    @
    Microsoft (R) Program Maintenance Utility versione 8.00.50727.762
    Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

    "C:\Programmi\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Debug

    Microsoft (R) Program Maintenance Utility versione 8.00.50727.762
    Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

    C:\Qt\4.8.5\bin\moc.exe -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DUNDER_CE -DWINCE -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=0x600 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_WIN32 -D__arm__ -DHAVE_MODULES -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NO_DYNAMIC_CAST -I"c:\Qt\4.8.5\include\QtCore" -I"c:\Qt\4.8.5\include" -I"c:\Qt\4.8.5\include\ActiveQt" -I"debug" -I"c:\Qt\4.8.5\mkspecs\default" -D_MSC_VER=1400 conf4.cpp -o debug\conf4.moc
    cl -c -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -EHs-c- -W3 -w34100 -w34189 -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DUNDER_CE -DWINCE -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=0x600 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_WIN32 -D__arm__ -DHAVE_MODULES -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NO_DYNAMIC_CAST -I"c:\Qt\4.8.5\include\QtCore" -I"c:\Qt\4.8.5\include" -I"c:\Qt\4.8.5\include\ActiveQt" -I"debug" -I"c:\Qt\4.8.5\mkspecs\default" -Fodebug\ @C:\WINDOWS\TEMP\nm118.tmp
    conf4.cpp
    .\conf4.cpp(23) : warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    C:\Programmi\Microsoft Visual Studio 8\VC\INCLUDE\stdlib.h(483): vedere la dichiarazione di 'getenv'
    link /LIBPATH:"c:\Qt\4.8.5\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /ENTRY:mainACRTStartup /OUT:conf.exe @C:\WINDOWS\TEMP\nm119.tmp
    debug\conf4.obj : fatal error LNK1112: il tipo di computer del modulo 'X86' è in conflitto con il tipo di computer di destinazione 'THUMB'
    NMAKE : fatal error U1077: '"C:\Programmi\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : codice restituito '0x458'
    Stop.
    NMAKE : fatal error U1077: '"C:\Programmi\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : codice restituito '0x2'
    Stop.
    @


  • Lifetime Qt Champion

    Are you sure you are using a Qt built for Windows CE ?



  • I'm pretty sure...but thre is a way to check ?


  • Lifetime Qt Champion

    Check the dlls's architecture in the lib folder in C:\Qt\4.8.5


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.