[osg-users] COMPILATION ERROR : win32

Robert Osfield robert.osfield at gmail.com
Wed Oct 3 06:45:17 PDT 2007


Argghghg copy and past anti-pattern strikes again :-| Now fixed and
checked into SVN.

On 10/3/07, Adrian Egli <3dhelp at gmail.com> wrote:
> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list