On Mon, 2011-04-18 at 12:18 +0800, yaoyansi wrote: > Hi all, > I follow this guid > (http://wiki.realxtend.org/index.php/Building_Naali_from_source_trunk) to > build > naali,and check out the source code from github. > When I compile OgreRenderingModule project, it complains the following errors:
Apparently there is some code to handle some Scandinavian characters, which is causing trouble in your Chinese (right?) build environment .. because those characters in the source are not handled right. You could just remove those lines, all the ReplaceCharInplace, and test that it works and tell us / send a patch / make github pull request, so we'll adapt the change. If someone has ideas for how to keep the functionality in place, or fix the root of the problem somehow better, please tell. Am CCing the -dev list where we usually have the programming talks. Thanks for reporting! ~Toni > --------------------------------------------------------------------------------------------------------------------- > > 3>.\EC_OgreMovableTextOverlay.cpp(207) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(207) : error C2146: syntax error : missing > ')' > before identifier 'A' > 3>.\EC_OgreMovableTextOverlay.cpp(207) : error C2660: 'ReplaceCharInplace' : > function does not take 2 arguments > 3>.\EC_OgreMovableTextOverlay.cpp(208) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(209) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(210) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(211) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(212) : error C2001: newline in constant > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ')' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ')' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ')' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ')' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ')' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(215) : error C2143: syntax error : missing > ';' > before '{' > 3>.\EC_OgreMovableTextOverlay.cpp(218) : error C2318: no try block associated > with this catch handler > --------------------------------------------------------------------------------------------------------------------- > > > Here is the screenshot of EC_OgreMovableTextOverlay.cpp in my trundra.sln. > http://hojocn.googlecode.com/files/build_naali_errors.jpg > > and there is the screenshot of EC_OgreMovableTextOverlay.cpp on github > http://hojocn.googlecode.com/files/naali_github_file.jpg > > > Regards > yaoyansi > -- http://groups.google.com/group/realxtend http://www.realxtend.org