Our Mac build (and running osgversion) worked, as did a linux build.

 

I had the same Windows build failure as below, with "return" repeated in
two different lines in Registry.cpp.

 

andy

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Egli
Sent: Wednesday, October 03, 2007 9:07 AM
To: OpenSceneGraph Users
Subject: [osg-users] COMPILATION ERROR : win32

 

return return error in Registry.cpp line 614 


std::string Registry::createLibraryNameForNodeKit(const std::string&
name)
{
#if defined(__CYGWIN__)
    return "cyg"+name+".dll";
#elif defined(__MINGW32__)
    return "lib"+name+".dll";
#elif defined(WIN32)
    #ifdef _DEBUG
        return return name+"d.dll"; // <= ERROR (*)
    #else
        return return name+".dll"; // <= ERROR 
    #endif
#elif macintosh
    return name;
#elif defined(__hpux__)
    // why don't we use PLUGIN_EXT from the makefiles here?
    return "lib"+name+".sl";
#else
    return "lib"+name+".so"; 
#endif
}


(*) => return return name+"d.dll"; 
-- 
********************************************
Adrian Egli 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to