Thanks Michael, fix now merged and submitted to svn/trunk.
On Fri, May 1, 2009 at 9:27 AM, Michael Platings <[email protected]> wrote: > I've attached the fix for the following error > ________________________________ > From: [email protected] > [mailto:[email protected]] On Behalf Of Oleg Dedkow > Sent: 30 April 2009 20:11 > To: [email protected] > Subject: [osg-users] Broken Windows build > > Hi Robert, > > > > the latest SVN revision cannot be build under Windows if > “OSG_USE_UTF8_FILENAME” config option is enabled. The error occurs in > “FileUtils.cpp” file, line 663, since there is no UNICODE-capable version of > the “GetProcAddress” function. The “OSGDB_WINDOWS_FUNCT_STRING” makro is > defined as follows in that case > > > > #define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" > > > > Thus the second parameter cannot be converted from wchar_t to LPCSTR. Should > we convert the second parameter from wchar_t* to LPCSTR or use the same > definition for the “OSGDB_WINDOWS_FUNCT_STRING” makro in both cases? > > > > The second error occurs in the same file, line 669. The second parameter for > the “pGetModuleHandleEx” function should be defined as wchar_t, but it’s > defined as “static char static_variable” in the line 667. > > > > Best Regards, > > Oleg > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
