⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.msvc

📁 Datamatrix二维码库和测试程序,运行于linux,仔细研究可以很容易转化成VC程序,有这就没必要化钱买个控件了,本人libdmtx-0.3版本转化过,的确可行,现在把找到该版本的libdmtx
💻 MSVC
字号:
=================================================================            libdmtx - Open Source Data Matrix Software=================================================================               libdmtx README file (MS Visual C++)This README.msvc file contains information on building libdmtx inMS Visual C++ for use on Windows. The general README file, alsofound in this directory, contains a high level summary of libdmtxand its components.1. Introduction-----------------------------------------------------------------The following instructions will create static builds of dmtxreadand dmtxwrite for Windows using MS Visual C++.2. Create a New Project-----------------------------------------------------------------  a. Download newest versions of libdmtx, libpng, and zlib     packages from their official sites.  b. Unpack into a directory as siblings (same folder level).  c. Create project     * Open Visual C++ 2008 Express Edition and select "File >       New > Project From Existing Code..."     * Click Next to indicate you want to create a "Visual C++"       project.     * Specify Project file location to indicate where the       Visual C++ project files should be saved.     * Set Project name to "libdmtx_utils" (or whatever).     * Important: Uncheck the Add files to the project from       these folders checkbox.     * Click Next.  d. Select Use Visual Studio and change Project Type to     "Console application project".     Click Next.  e. Keep clicking Next and then click Finish.3. Add Necessary Project Files-----------------------------------------------------------------Next we need to tell Visual C++ which files we want to include aspart of our project. For this example we're going to include"dmtxread" but you alternatively could choose "dmtxwrite" if thatis your goal. Files can be included by right-clicking entirefolders or individual files in the Solution Explorer window, thenselecting Include In Project from the resulting pop-up. Doingthis, go through the list and include the following items:   * libdmtx-0.6.0/dmtx.c   * libdmtx-0.6.0/dmtx.h   * libdmtx-0.6.0/util/dmtxread (whole folder)   * libdmtx-0.6.0/util/common (whole folder)   * All *.c and *.h files in the main libpng folder (not     including subdirectories) except for example.c and pngtest.c   * All *.c and *.h files in the main zlib folder (not including     subdirectories) except for example.c and minigzip.c4. Add Necessary Include Paths-----------------------------------------------------------------Almost done. We still need to tell Visual C++ where to look forheader files. This step can be done only after adding the projectfiles above, since the C/C++ options won't appear otherwise. Toadd the include paths, right-click on the project name("libdmtx_utils" in this example) in the Solution Explorer andselect Properties. This brings up a dialog that offers severalconfigurations. Expand Configuration Properties > C/C++ > Generaland you should see a field on the right called Additional IncludeDirectories. Click on the "..." within this field and add thefollowing directories by clicking on the "new folder" icon.   * Path to the main libdmtx directory   * Path to libdmtx/util/common directory   * Path to libdmtx/util/dmtxread or libdmtx/util/dmtxwrite     (depending on which utility want)   * Path to the main libpng directory   * Path to the main zlib directoryThat's it. You should now be able to "Build Solution" (F7) andafter a bunch of warnings it will say "1 succeeded". It is leftas an exercise for the reader to find where Visual C++ placed theresulting executable.5. This Document-----------------------------------------------------------------This document is derived from the wiki page located at:  http://libdmtx.wiki.sourceforge.net/libdmtx+on+Windows+(MSVC)If you find an error or have additional helpful information,please edit the wiki directly with your updates.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -