[osg-users] COMPILATION ERROR : win32

Adrian Egli 3dhelp at gmail.com
Wed Oct 3 06:07:09 PDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071003/a2e083ea/attachment-0002.htm>


More information about the osg-users mailing list