zoukankan      html  css  js  c++  java
  • windows下编译jpeg

    项目为了脱离OpenCV,直接采用libjpeg,记录在windows下jpeg安装。

    项目地址http://www.ijg.org/

    下载解压缩jpeg-9a

    看了看OpenCV中对libjpeg的整合通过Cmakefiles,不过看了压缩包下的帮助文档

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

    We include makefiles that should work as project files in Visual Studio
    2010 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.

    可以进行上述安装

    通过EveryThing找一下win32.mak

    在路径C:Program Files (x86)Microsoft SDKsWindowsv7.1AInclude下,修改win32.mak的路径为绝对路径

    重新生成,生成成功之后用vs打开。

  • 相关阅读:
    CSS强制英文、中文换行与不换行 强制英文换行
    vue 解决IE不能用的问题
    mysql 删除所有表
    sql server 删除所有表
    MySQL通过Navicat实现远程连接的过程
    php升级版本
    linux下与windows下的换行符 [转载]
    linux 的mysql数据库 数据库的路径的软连接
    并查集学习
    Mariadb开机自启动
  • 原文地址:https://www.cnblogs.com/fengbing/p/4419378.html
Copyright © 2011-2022 走看看