VS C++ 2010 express warning error

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sam-irrlicht
Posts: 8
Joined: Tue Jul 19, 2011 2:40 am

VS C++ 2010 express warning error

Post by sam-irrlicht »

Hi all,

I searched the forum and still cannot get the right answer to it.
When I try to compile to example "HelloWorld", I got 2 main warning:
d:\irrlicht-1.7.2\include\keycodes.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1. How to save keycodes.h in unicode format?

2. Where could I change $(OutDir), $(TargetName), $(TargetExt), %(Link.OutputFile)?

Thanks in advance
sam-irrlicht
Posts: 8
Joined: Tue Jul 19, 2011 2:40 am

Re: VS C++ 2010 express warning error

Post by sam-irrlicht »

Anyone?
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Re: VS C++ 2010 express warning error

Post by Insomniacp »

not sure, I use the same program and have had no trouble with that. Go to file -> advanced save options -> encoding: unicode. and of course save the file afterwards ;)
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: VS C++ 2010 express warning error

Post by mongoose7 »

I think Code Page 950 is Chinese. But the source is actually in ASCII, so it should be readable in any code page?
sam-irrlicht
Posts: 8
Joined: Tue Jul 19, 2011 2:40 am

Re: VS C++ 2010 express warning error

Post by sam-irrlicht »

Thank you, Insomniacp and mongoose7.

2. Where could I change $(OutDir), $(TargetName), $(TargetExt), %(Link.OutputFile)?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: VS C++ 2010 express warning error

Post by mongoose7 »

Look in Project > <Project> Properties ... > Configuration Properties > General.
sam-irrlicht
Posts: 8
Joined: Tue Jul 19, 2011 2:40 am

Re: VS C++ 2010 express warning error

Post by sam-irrlicht »

Thank you, mongoose7.
Post Reply