<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [TOC] ## 概述 今天在github上找到了《仙劍奇俠傳》的rpg單機游戲`sdlpal`,`sdlpal` 是一個開源項目,基于` sdl `把仙劍奇俠傳重寫了一遍。 下面是我的編譯過程總結。 ## 環境 * win10 * sdl1.2 * sdlpal * vs2017 * DirectX SDK10 下載`sdlpal` ``` $ git clone https://github.com.cnpmjs.org/sdlpal/sdlpal.git ``` 下載`sdl1.2` ``` $ git clone https://github.com.cnpmjs.org/libsdl-org/SDL-1.2.git sdlpal/3rd/SDL/ ``` 下載 [DirectX SDK10](https://www.microsoft.com/zh-CN/download/confirmation.aspx?id=6812), 雙擊安裝即可 ## 編譯sdlpal 打開解決方案: `sdlpal\win32\sdlpal.sln` sdl解決方案右鍵屬性,附加依賴項加入如下內容 ``` d3d8.lib dxerr8.lib uuid.lib dxguid.lib dinput8.lib d3dxof.lib ``` 否則會出現如下錯誤 ``` 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_RzAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_RyAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_RxAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_ZAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_YAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_XAxis 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_Key 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_IID\_IDirectDrawSurface3 1>sdl.lib(SDL\_dx5yuv.obj) : error LNK2001: 無法解析的外部符號 \_IID\_IDirectDrawSurface3 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_IID\_IDirectDraw2 1>sdl.lib(SDL\_dx5video.obj) : error LNK2001: 無法解析的外部符號 \_IID\_IDirectDrawGammaControl 1>sdl.lib(SDL\_dx5events.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_SysMouse 1>sdl.lib(SDL\_dx5events.obj) : error LNK2001: 無法解析的外部符號 \_GUID\_SysKeyboard 1>sdl.lib(SDL\_dx5events.obj) : error LNK2001: 無法解析的外部符號 \_IID\_IDirectInputDevice2A 1>.\\Release\\sdlpal.exe : fatal error LNK1120: 15 個無法解析的外部命令 ``` ## 運行sdlpal 編譯出可執行文件`sdlpal.exe`,運行發現需要資源文件。 下載資源文件 ``` git clone https://github.com.cnpmjs.org/paldn/sdlpal.git DATA ``` 資源文件在`DATA/Data`目錄下,運行程序,需要指定資源文件。 >`sdlpal`配置文件和可執行文件在同級目錄:`sdlpal.cfg`
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看