求CxImage加载问题
1>------ 已启动生成: 项目: test1, 配置: Debug Win32 ------
1>正在编译...
1>test1Dlg.cpp
1>f:\c++\复件 test1\test1\ximage\header\xiofile.h(25) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> d:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : 参见“fopen”的声明
1>f:\c++\复件 test1\test1\ximage\header\xiofile.h(117) : warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> d:\program files\microsoft visual studio 9.0\vc\include\stdio.h(256) : 参见“fscanf”的声明
1>正在生成代码...
1>正在编译...
1>test1.cpp
1>f:\c++\复件 test1\test1\ximage\header\xiofile.h(25) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> d:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : 参见“fopen”的声明
1>f:\c++\复件 test1\test1\ximage\header\xiofile.h(117) : warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> d:\program files\microsoft visual studio 9.0\vc\include\stdio.h(256) : 参见“fscanf”的声明
1>正在生成代码...
1>正在链接...
1>LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
1>test1Dlg.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall CxImage::Load(char const *,unsigned int)" (?Load@CxImage@@QAE_NPBDI@Z),该符号在函数 "protected: void __thiscall Ctest1Dlg::OnPaint(void)" (?OnPaint@Ctest1Dlg@@IAEXXZ) 中被引用
1>F:\C++\复件 test1\Debug\test1.exe : fatal error LNK1120: 1 个无法解析的外部命令
现在等~
[解决办法]
没找到实现文件(cpp文件),或是没加链接库。
[解决办法]
请正确设置CxImage所在的库文件
以便于程序编译阶段可以正确链接
[解决办法]