• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            數據加載中……

            libjpeg在vs2010下編譯

            1、第一步當然是先下載源碼了,下載地址:http://www.ijg.org/
            2、解壓后所有的東西都在一個文件夾里了,如果有耐心可以看一下自帶的說明文檔(install.txt)
            3、其中有一段在vs2010下的說明

            ==================================================================
            Microsoft Windows, Microsoft Visual C++ 2010 Developer Studio (v10):

            We include makefiles that should work as project files in Visual Studio2010 or later.  There is a library makefile that builds the IJG library
            as a static Win32 library, and application makefiles that build the sample applications as Win32 console applications.  (Even if you only want the
            library, we recommend building the applications so that you can run the self-test.)

            To use:
            1. Open the command prompt, change to the main directory and execute the  command line

             NMAKE /f makefile.vc  setup-v10

               This will move jconfig.vc to jconfig.h and makefiles to project files.   (Note that the renaming is critical!)

            2. Open the solution file jpeg.sln, build the library project.
               (If you are using Visual Studio more recent than 2010 (v10), you'll  probably get a message saying that the project files are being updated.)
            3. Open the solution file apps.sln, build the application projects.
            4. To perform the self-test, execute the command line
             

            NMAKE /f makefile.vc  test-build

            5. Move the application .exe files from `app`\Release to an   appropriate location on your path.

            Note:
            There seems to be an optimization bug in the compiler which causes the self-test to fail with the color quantization option.
            We have disabled optimization for the file jquant2.c in the library project file which causes the self-test to pass properly.

            =============================================================================================

            簡單的操作其實也就兩行,一個是生成vs2010的工程文件 NMAKE /f makefile.vc  setup-v10
            運行結果如下:


            Microsoft (R) Program Maintenance Utility Version 
            9.00.30729.01
            Copyright (C) Microsoft Corporation.  All rights reserved.

                    ren jconfig.vc jconfig.h
                    ren makejsln.v10 jpeg.sln
                    ren makeasln.v10 apps.sln
                    ren makejvcx.v10 jpeg.vcxproj
                    ren makejfil.v10 jpeg.vcxproj.filters
                    ren makecvcx.v10 cjpeg.vcxproj
                    ren makecfil.v10 cjpeg.vcxproj.filters
                    ren makedvcx.v10 djpeg.vcxproj
                    ren makedfil.v10 djpeg.vcxproj.filters
                    ren maketvcx.v10 jpegtran.vcxproj
                    ren maketfil.v10 jpegtran.vcxproj.filters
                    ren makervcx.v10 rdjpgcom.vcxproj
                    ren makerfil.v10 rdjpgcom.vcxproj.filters
                    ren makewvcx.v10 wrjpgcom.vcxproj
                    ren makewfil.v10 wrjpgcom.vcxproj.filters

            然后打開jpeg.sln,直接編譯就ok了

            posted on 2010-10-13 17:03 Stone xin 閱讀(6421) 評論(4)  編輯 收藏 引用

            評論

            # re: libjpeg在vs2010下編譯  回復  更多評論   

            感謝,原來里面帶了對應的工程文件的……
            2012-01-07 19:52 | littlewater

            # re: libjpeg在vs2010下編譯  回復  更多評論   

            很好,這應該就是所謂的軟解碼了,先學習學習這個。
            2013-02-08 15:52 | kangear

            # re: libjpeg在vs2010下編譯  回復  更多評論   

            不知道如何進行編譯
            2014-09-25 17:31 | sansan
            狠狠色婷婷久久综合频道日韩| 亚洲国产成人乱码精品女人久久久不卡 | 天天躁日日躁狠狠久久| 三级三级久久三级久久| 日本欧美久久久久免费播放网| 综合人妻久久一区二区精品| 久久99精品国产| 亚洲日本久久久午夜精品| 久久亚洲欧美国产精品| 国产精品熟女福利久久AV| 久久99精品国产麻豆宅宅| 久久se精品一区精品二区| 久久中文字幕人妻丝袜| 国产成人久久777777| 久久久高清免费视频| 精品一久久香蕉国产线看播放| 国内精品九九久久精品| 久久人人爽人人爽人人片AV东京热| 久久久久久午夜成人影院| 亚洲欧美成人久久综合中文网| 狠狠色丁香婷综合久久| 久久精品国产2020| 婷婷久久综合九色综合九七| 伊人丁香狠狠色综合久久| 精品久久8x国产免费观看| 久久精品中文字幕一区| 亚洲乱码日产精品a级毛片久久| 国产 亚洲 欧美 另类 久久 | 久久精品国产99国产电影网| 日产精品久久久久久久| 香蕉久久AⅤ一区二区三区| 国产精品九九久久免费视频 | 国产A三级久久精品| 久久综合鬼色88久久精品综合自在自线噜噜 | 久久亚洲精品无码aⅴ大香| 亚洲美日韩Av中文字幕无码久久久妻妇 | 99久久国产亚洲高清观看2024| 国产亚洲精久久久久久无码| 久久久一本精品99久久精品66| 久久久精品2019免费观看| 日韩人妻无码精品久久免费一|