XCode , OSX mac book pro <br><br>    cd /Users/PWD/dev/OpenSceneGraphSVN<br>    /usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DCMAKE_INTDIR=\"Release\" -fmessage-length=0 -mtune=G4 -mmacosx-version-min=
10.4 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -O3 -F/Users/PWD/dev/OpenSceneGraphSVN/lib/Release -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -I/Users/PWD/dev/OpenSceneGraphSVN/lib/Release/include -I/Users/PWD/dev/OpenSceneGraphSVN/include -I/Users/PWD/dev/OpenSceneGraphSVN/lib/OpenSceneGraph.build/Release/libosgUtil.dylib.build/DerivedSources -mmacosx-version-min=
10.4 -ftree-vectorize -fvisibility-inlines-hidden -DNDEBUG -fPIC -DosgUtil_EXPORTS -DOSGUTIL_LIBRARY -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp -o /Users/PWD/dev/OpenSceneGraphSVN/lib/OpenSceneGraph.build/Release/libosgUtil.dylib.build/Objects-normal/ppc/Tessellator-
62A7363A.o<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp: In member function 'void osgUtil::Tessellator::beginTessellation()':<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:44: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:44: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:45: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:45: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:46: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:46: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:47: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:47: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:48: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>/Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:48: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:44: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:44: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:45: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:45: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:46: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:46: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:47: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:47: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:48: error: invalid conversion from 'void (*)()' to 'GLvoid (*)(...)'
<br>    /Users/PWD/dev/OpenSceneGraphSVN/src/osgUtil/Tessellator.cpp:48: error:   initializing argument 3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'<br><br><br><div><span class="gmail_quote">
2007/10/3, Andy Skinner <<a href="mailto:Andy.Skinner@mathworks.com">Andy.Skinner@mathworks.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Our Mac build (and running osgversion)
worked, as did a linux build.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I had the same Windows build failure as
below, with "return" repeated in two different lines in
Registry.cpp.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">andy</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:osg-users-bounces@lists.openscenegraph.org">osg-users-bounces@lists.openscenegraph.org</a>
[mailto:<a href="mailto:osg-users-bounces@" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">osg-users-bounces@</a><a href="http://lists.openscenegraph.org">lists.openscenegraph.org</a>]
<b><span style="font-weight: bold;">On Behalf Of </span></b>Adrian Egli<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, October 03, 2007
9:07 AM<br>
<b><span style="font-weight: bold;">To:</span></b> OpenSceneGraph
 Users<br>
<b><span style="font-weight: bold;">Subject:</span></b> [osg-users] COMPILATION
ERROR : win32</span></font></p>

</div><div><span class="e" id="q_115660fd54441c8b_1">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">return return error in Registry.cpp line 614 <br>
<br>
<br>
std::string Registry::createLibraryNameForNodeKit(const std::string& name)<br>
{<br>
#if defined(__CYGWIN__)<br>
    return "cyg"+name+".dll";<br>
#elif defined(__MINGW32__)<br>
    return "lib"+name+".dll";<br>
#elif defined(WIN32)<br>
    #ifdef _DEBUG<br>
        return return
name+"d.dll"; // <= ERROR (*)<br>
    #else<br>
        return return name+".dll";
// <= ERROR <br>
    #endif<br>
#elif macintosh<br>
    return name;<br>
#elif defined(__hpux__)<br>
    // why don't we use PLUGIN_EXT from the makefiles here?<br>
    return "lib"+name+".sl";<br>
#else<br>
    return "lib"+name+".so"; <br>
#endif<br>
}<br clear="all">
<br>
<br>
(*) => return return name+"d.dll"; <br>
-- <br>
********************************************<br>
Adrian Egli </span></font></p>

</span></div></div>

</div>


<br>_______________________________________________<br>osg-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>********************************************<br>Adrian Egli