[osg-users] COMPILATION ERROR : win32

Andy Skinner Andy.Skinner at mathworks.com
Wed Oct 3 06:30:05 PDT 2007

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.





From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Adrian
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&
#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 (*)
        return return name+".dll"; // <= ERROR 
#elif macintosh
    return name;
#elif defined(__hpux__)
    // why don't we use PLUGIN_EXT from the makefiles here?
    return "lib"+name+".sl";
    return "lib"+name+".so"; 

(*) => 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/ac171494/attachment-0003.htm>

More information about the osg-users mailing list