libjpeg 安装 - 如何完成说明
libjpeg installation- how to go through the instruction
我的 libjpeg 有问题 installation.I 需要它以便使用 CImg 库并可以保存 .jpg 文件。
我从以下位置下载文件:
http://www.ijg.org/ 并按照说明逐步进行(我使用 VS2015)。
不幸的是我无法完成第一点:
- Open the command prompt, change to the main directory and execute the command line NMAKE /f makefile.vc setup-v10
我在命令提示符中遇到错误:error message
fatal error U1025:file 'makefile.vc' not found
你能告诉我出了什么问题吗?或者,也许您知道安装此库的一些最简单方法?
致命错误
fatal error U1025:file 'makefile.vc' not found
是由于nmake
在您执行命令
的文件夹中找不到文件makefile.vc
造成的
NMAKE /f makefile.vc setup-v10
查看源 zip 文件,源代码似乎位于 jpeg-9b
文件夹中。
要解决此问题,您需要在 运行 nmake 命令之前将命令提示符 cmd.exe 的目录更改为 jpeg-9b
文件夹。为此,请在 cmd.exe 会话中使用 cd
命令。语法是
cd fullpath
其中 fullpath 是 jpeg-9b
文件夹所在的完整路径。如果您的路径包含空格,请确保将路径用双引号引起来。
我的 libjpeg 有问题 installation.I 需要它以便使用 CImg 库并可以保存 .jpg 文件。 我从以下位置下载文件: http://www.ijg.org/ 并按照说明逐步进行(我使用 VS2015)。 不幸的是我无法完成第一点:
- Open the command prompt, change to the main directory and execute the command line NMAKE /f makefile.vc setup-v10
我在命令提示符中遇到错误:error message
fatal error U1025:file 'makefile.vc' not found
你能告诉我出了什么问题吗?或者,也许您知道安装此库的一些最简单方法?
致命错误
fatal error U1025:file 'makefile.vc' not found
是由于nmake
在您执行命令
makefile.vc
造成的
NMAKE /f makefile.vc setup-v10
查看源 zip 文件,源代码似乎位于 jpeg-9b
文件夹中。
要解决此问题,您需要在 运行 nmake 命令之前将命令提示符 cmd.exe 的目录更改为 jpeg-9b
文件夹。为此,请在 cmd.exe 会话中使用 cd
命令。语法是
cd fullpath
其中 fullpath 是 jpeg-9b
文件夹所在的完整路径。如果您的路径包含空格,请确保将路径用双引号引起来。