Error c2001 in VC 2005

:oops: sorry to ask,first time to using vc2005,here’s the error message what i got

g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(722) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(726) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(730) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(737) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(740) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(741) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(750) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(760) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(764) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(722) : fatal error C1057: 宏展开中遇到意外的文件结束
1>testApp.cpp
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(722) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(726) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(730) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(737) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(740) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(741) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(750) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(760) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(764) : error C2001: 常量中有换行符
1>g:\develop\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\icons.h(722) : fatal error C1057: 宏展开中遇到意外的文件结束

and bla bla…

error C2001: newline in constant

i was followed by the VC++ 2005 setup guide,somehow i don’t know why get such error,am i missing something? thank you in advanced!

I’m really sorry — this is a bug with some foreign languages (I’ve seen this with korean) and the includes in quicktime. What is your operating system language?

there is some info here:
http://www.openframeworks.cc/forum/view-…-4fc2ef8ac0

but since I don’t have korean OS, am a bit unable to jump in with a fix… I’m sorry.

can I ask you to try codeblocks, under openframeworks.cc/setup ?

thanks
zach

hey,zach,thank you for the help.my op system is Chinese,moreover my vc2005 is chinese,i shoud install english version i guess,yeah i’m using codeblock which is really fine.

i’ll let you know if i can fix it.

solved, if you using non-english platform please replace with this file

http://up.rexgo.net/rexgo/Icons.h

also,if you get 4819 error,just type 4819 into the ----“disable specific warings” tab.

that file link’s broken
i’m also developing on a korean machine

i found this link from someone in nui group to give the same fix (maybe same file as you posted before it went down):
http://www.koders.com/c/fidE91900D22F5984676ED9B0CAFDE8BD65BA577B7D.aspx

I faced the same problem and also solved by replacing the Icon.h file.

The Icon.h file can actually be found in OF’s git repo: http://github.com/openframeworks/openFr-…-de/Icons.h