读书人

CxImag设置有关问题, 无法识别头文件

发布时间: 2012-03-04 11:13:33 作者: rapoo

CxImag设置问题, 无法识别头文件 ximage.h
To use CxImage in your project, you must edit these settings:

Project Settings
|- C/C++
| |- Code Generation
| | |- Use run-time library : Multithreaded DLL (must be the same for
| | | all the linked libraries)
| | |- Struct member alignment : must be the same for all the linked
| | | libraries
| |- Precompiled headers : not using precompiled headers
| |- Preprocessor
| |- Additional Include Directories: ..\cximage
|- Link
|- General
|- Object/library modules: ../png/Debug/png.lib
../jpeg/Debug/jpeg.lib
../zlib/Debug/zlib.lib
../tiff/Debug/tiff.lib
../cximage/Debug/cximage.lib ...

无成如上设置后, 使用CxImage对像时,添加了头文件 ximage.h 系统出现下面三个提示:

d:\c_study\transdata\clientpoint\clientpointdlg.h(12) : fatal error C1083: Cannot open include file: 'ximage.h ': No such file or directory
ClientPointDlg.cpp
d:\c_study\transdata\clientpoint\clientpointdlg.h(12) : fatal error C1083: Cannot open include file: 'ximage.h ': No such file or directory
Generating Code...
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\ClientPoint.sbr ': No such file or directory
Error executing bscmake.exe.

ClientPoint.exe - 3 error(s), 0 warning(s)

Cxiamge存放path: D:\C_Study\TransData\CXimage

Additional Include Directories: ..\cximage修改为: ..\TransData




这是怎么个问题, 我的另一个工程却能够使用cximage, 而这个却出现这样的问题!
各位大哥大姐多多帮帮小弟呀 ..
谢谢先了




[解决办法]
在你的工程目录里面,设置.h文件的目录
lib文件都复制道一个目录下,在工程里面设置lib路径

读书人网 >VC/MFC

热点推荐