Chinaunix首页 | 论坛 | 博客
  • 博客访问: 577903
  • 博文数量: 752
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 5005
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:47
文章分类

全部博文(752)

文章存档

2011年(1)

2008年(751)

我的朋友

分类:

2008-10-13 16:55:25

编译时出错,怎么办?:编译 目录中的项目时,出现错误,如下:
--------------------Configuration: PicViewer - Win32 Debug--------------------
Compiling resources...
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE/l.chs\afxres.rc (120): error RC2151 : cannot reuse string constants, 61446(0xF006) - "Picture Files (*.bmp, *.jpg, *.gif, *.tif, *.pcx, *.tga, *.png)|*.bmp; *.jpg; *.jpeg; *.gif; *.tif; *.tif
f; *.pcx; *.tga; *.png|Bitmap Files (*.bmp)|*.bmp|JPEG Files (*.jpg;*.jpeg)|*.jpg; *.jpeg|Gif Files (*.gif)|*.gif|Png Files (*.png)|*.png|Tiff Files (*.tif)|*.tif; *.tiff|Pcx Files (*.pcx)|*.pcx|Tga Files (*.tga)|*.tga|All Files (*.*)|*.*||" already
 defined. Cannot add 61446(0xF006) - "一未命名文件".
Error executing rc.exe.

PicViewer.exe - 1 error(s), 0 warning(s)
怎么解决?
(发表于2002-11-16 0:10:00)

YJK:我把PicViewer.dsw项目中的resource.h文件中的一句宏定义
#define IDS_PICFORMAT                   61446
改为了
#define IDS_PICFORMAT                   61896
这个错误就解决了,不知这个61446值,是否是作者故意设置的?
(发表于2002-11-16 10:43:00)

sunnf:我想直接用png tiff的源码,读取png tiff的格式的文件,保存为指定格式的.我该怎么用
(发表于2002-11-29 16:11:00)

crazybit:新的主页地址:
~crazybit/
(发表于2003-1-15 12:04:00)

crazybit:这回买了一个,稳定了。

(发表于2003-8-6 10:49:00)

caizhouze:我在編譯時出現如下問題:
F:\图象处理\PicViewer(MFC)\stdafx.h(19) : fatal error C1083: Cannot open include file: 'fool.h': No such file or directory
不只为何?



(发表于2004-8-2 16:53:00)

..........................................................................
--------------------next---------------------

阅读(793) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~