• <small id='DG1bM'></small><noframes id='DG1bM'>

    1. <legend id='DG1bM'><style id='DG1bM'><dir id='DG1bM'><q id='DG1bM'></q></dir></style></legend>
      <tfoot id='DG1bM'></tfoot>
      1. <i id='DG1bM'><tr id='DG1bM'><dt id='DG1bM'><q id='DG1bM'><span id='DG1bM'><b id='DG1bM'><form id='DG1bM'><ins id='DG1bM'></ins><ul id='DG1bM'></ul><sub id='DG1bM'></sub></form><legend id='DG1bM'></legend><bdo id='DG1bM'><pre id='DG1bM'><center id='DG1bM'></center></pre></bdo></b><th id='DG1bM'></th></span></q></dt></tr></i><div id='DG1bM'><tfoot id='DG1bM'></tfoot><dl id='DG1bM'><fieldset id='DG1bM'></fieldset></dl></div>
          <bdo id='DG1bM'></bdo><ul id='DG1bM'></ul>

      2. 如何为 WinRT/ARM 编译 sqlite?

        时间:2023-08-19

        <i id='Ecshz'><tr id='Ecshz'><dt id='Ecshz'><q id='Ecshz'><span id='Ecshz'><b id='Ecshz'><form id='Ecshz'><ins id='Ecshz'></ins><ul id='Ecshz'></ul><sub id='Ecshz'></sub></form><legend id='Ecshz'></legend><bdo id='Ecshz'><pre id='Ecshz'><center id='Ecshz'></center></pre></bdo></b><th id='Ecshz'></th></span></q></dt></tr></i><div id='Ecshz'><tfoot id='Ecshz'></tfoot><dl id='Ecshz'><fieldset id='Ecshz'></fieldset></dl></div>
          <tbody id='Ecshz'></tbody>

        <small id='Ecshz'></small><noframes id='Ecshz'>

          • <bdo id='Ecshz'></bdo><ul id='Ecshz'></ul>

            • <legend id='Ecshz'><style id='Ecshz'><dir id='Ecshz'><q id='Ecshz'></q></dir></style></legend>

                  <tfoot id='Ecshz'></tfoot>
                  本文介绍了如何为 WinRT/ARM 编译 sqlite?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我已经成功地为 x86 编译了我的 WinRT 版本的 SQLite 如 Tim Heuer 所述.

                  I've successfully compiled my WinRT version of SQLite for x86 as described by Tim Heuer.

                  但是,我仍然在苦苦思索如何在 ARM CPU 上为 WinRT 编译 dll.我已经在 Visual Studio ARM 命令提示符下运行了 nmake,但这只是给了我以下错误:

                  However, I am still struggling how to compile the dll for WinRT on ARM CPUs. I've run nmake with the Visual Studio ARM command prompt, but that just gives me the following error:

                   C:\sqlite>nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WIN
                  API_PARTITION_APP
                  
                  
                  Microsoft (R) Program Maintenance Utility Version 11.00.50522.1
                  Copyright (C) Microsoft Corporation.  All rights reserved.
                  
                          cl.exe -W3 -DNDEBUG -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
                   -O2 -Zi /DEBUG -Femkkeywordhash.exe  -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTR
                  EE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_MAX_TRIGGER_DEPTH=100 /DWINAPI_F
                  AMILY=WINAPI_PARTITION_APP .\tool\mkkeywordhash.c
                  Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50522.1 for ARM
                  
                  Copyright (C) Microsoft Corporation.  All rights reserved.
                  
                  mkkeywordhash.c
                  
                  Microsoft (R) Incremental Linker Version 11.00.50522.1
                  Copyright (C) Microsoft Corporation.  All rights reserved.
                  
                  /machine:arm
                  /debug
                  /out:mkkeywordhash.exe
                  mkkeywordhash.obj
                          .\mkkeywordhash.exe > keywordhash.h
                  This version of C:\sqlite\mkkeywordhash.exe is not compatible with the version o
                  f Windows you're running. Check your computer's system information and then cont
                  act the software publisher.
                  NMAKE : fatal error U1077: '.\mkkeywordhash.exe' : return code '0x1'
                  Stop.
                  

                  我做错了什么?

                  谢谢,

                  阿德里安

                  推荐答案

                  我终于成功了:

                  1. 按照此处所述编译 x86 dll:http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx

                  只删除了 sqlite3* 文件和 sqlitelib(非常感谢 Banthar 和 Tim Heuer 的提示)

                  Deleted only the sqlite3* files and the sqlitelib (many thanks to Banthar and Tim Heuer for the hint)

                  使用以下命令从 ARM VS 命令提示符编译 ARM dll:

                  Compiled the ARM dll from the ARM VS command prompt with this command:

                  nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WINAPI_PARTITION_APP

                  nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WINAPI_PARTITION_APP

                  这篇关于如何为 WinRT/ARM 编译 sqlite?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:致命错误:sqlite3.h:没有那个文件或目录 下一篇:GroovySql:如何使用 Arraylist 变量更新表

                  相关文章

                  最新文章

                1. <i id='WvOSj'><tr id='WvOSj'><dt id='WvOSj'><q id='WvOSj'><span id='WvOSj'><b id='WvOSj'><form id='WvOSj'><ins id='WvOSj'></ins><ul id='WvOSj'></ul><sub id='WvOSj'></sub></form><legend id='WvOSj'></legend><bdo id='WvOSj'><pre id='WvOSj'><center id='WvOSj'></center></pre></bdo></b><th id='WvOSj'></th></span></q></dt></tr></i><div id='WvOSj'><tfoot id='WvOSj'></tfoot><dl id='WvOSj'><fieldset id='WvOSj'></fieldset></dl></div>
                  • <bdo id='WvOSj'></bdo><ul id='WvOSj'></ul>
                  <tfoot id='WvOSj'></tfoot>

                    <small id='WvOSj'></small><noframes id='WvOSj'>

                      <legend id='WvOSj'><style id='WvOSj'><dir id='WvOSj'><q id='WvOSj'></q></dir></style></legend>