本人NEW了一个img工程,并把已经通过编译Cximge文件夹整个COPY到安装目录的MY Project目录下,Programme Setting 也按使用说明修改了,并在img工程中拷贝加入了ximage.h与ximage.cpp,可出现错误如下:
Compiling...
Skipping... (no relevant changes detected)
ximage.cpp
Linking...
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
../CxImage/png/Debug/png.lib ../CxImage/jpeg/Debug/jpeg.lib ../CxImage/zlib/Debug/zlib.lib ../CxImage/tiff/Debug/tiff.lib ../CxImage/cximage/Debug/cximage.lib /incremental:yes "/pdb:Debug/img.pdb " /machine:IX86 "/out:Debug/img.exe "
".\Debug\dibapi.obj "
".\Debug\img.obj "
".\Debug\imgDoc.obj "
".\Debug\imgView.obj "
".\Debug\MainFrm.obj "
".\Debug\StdAfx.obj "
".\Debug\ximage.obj "
".\Debug\img.res "
Creating library Debug/img.lib and object Debug/img.exp
LINK : fatal error LNK1561: entry point must be defined
Error executing link.exe. img.exe - 1 error(s), 0 warning(s)
Compiling...
Skipping... (no relevant changes detected)
ximage.cpp
Linking...
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
../CxImage/png/Debug/png.lib ../CxImage/jpeg/Debug/jpeg.lib ../CxImage/zlib/Debug/zlib.lib ../CxImage/tiff/Debug/tiff.lib ../CxImage/cximage/Debug/cximage.lib /incremental:yes "/pdb:Debug/img.pdb " /machine:IX86 "/out:Debug/img.exe "
".\Debug\dibapi.obj "
".\Debug\img.obj "
".\Debug\imgDoc.obj "
".\Debug\imgView.obj "
".\Debug\MainFrm.obj "
".\Debug\StdAfx.obj "
".\Debug\ximage.obj "
".\Debug\img.res "
Creating library Debug/img.lib and object Debug/img.exp
LINK : fatal error LNK1561: entry point must be defined
Error executing link.exe. img.exe - 1 error(s), 0 warning(s)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货