<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The makefiles give a rule to create
it.  I have no idea how (or whether) XCode can.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>For me, I can build it and look at it with
this:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>cd src/osgUtil<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>gmake Tessellator.i<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>more CMakeFiles/osgUtil.dir/Tessellator.i<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I don’t know if you have the make
stuff in your directory, but even if you built it, I’d guess you’d
get the make version, not whatever version isn’t working for you in
XCode.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Let me bug our Mac guy again.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In the meantime, here is my command line:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>[ 78%] Building CXX object
src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.o<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>/usr/bin/c++  
-DosgUtil_EXPORTS   -Os -pipe -fno-common -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -fPIC -I/private/var/
automount/mathworks/devel/sandbox/askinner/Amake/3p/derived/maci/openscenegraph/include
-F/System/Library/Frameworks   -DOSGUTIL_LI BRARY -o
src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.o -c
/private/var/automount/mathworks/devel/sandbox/askinner/Amake/3p/deriv
ed/maci/openscenegraph/src/osgUtil/Tessellator.cpp<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>andy<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

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

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
osg-users-bounces@<st1:PersonName w:st="on">lists</st1:PersonName>.openscenegraph.org
[mailto:osg-users-bounces@<st1:PersonName w:st="on">lists</st1:PersonName>.openscenegraph.org]
<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
10:01 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">OpenSceneGraph
 Users</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [osg-users]
COMPILATION ERROR : win32</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>where can i find this
file Tessellator.i ? OsX<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2007/10/3, Andy Skinner <<a
href="mailto:Andy.Skinner@mathworks.com">Andy.Skinner@mathworks.com</a>>:</span></font></span><o:p></o:p></p>

<div link=blue vlink=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>This is 2.1.14, right?</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Looks like you're expecting (...), where I'm expecting
().  The former breaks my build, the latter breaks yours.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Can you build the preprocessed file?  I did a
"gmake Tessellator.i " in the src/osgUtil directory and got the
preprocessed file, which told me what include files I had, how everything was
actually defined, etc.  It might be interesting to compare Tessellator.i
file and mine, though I don't know if you can make one with XCode.</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

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

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

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

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

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;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">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:40 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">OpenSceneGraph
 Users</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [osg-users]
COMPILATION ERROR : win32</span></font><o:p></o:p></p>

</div>

<div><span id="q_11566256725fd938_1">

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>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 (*)(...))'<o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>2007/10/3,
Andy Skinner <<a href="mailto:Andy.Skinner@mathworks.com" target="_blank">
Andy.Skinner@mathworks.com</a>>:<o:p></o:p></span></font></p>

<div link=blue vlink=purple>

<div>

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

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;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><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

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

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

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

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

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:osg-users-bounces@lists.openscenegraph.org" target="_blank">osg-users-bounces@lists.openscenegraph.org</a>
[mailto:<a href="mailto:osg-users-bounces@" target="_blank">osg-users-bounces@</a><a
href="http://lists.openscenegraph.org" target="_blank">
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> <st1:PersonName w:st="on">OpenSceneGraph
 Users</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [osg-users] COMPILATION
ERROR : win32</span></font><o:p></o:p></p>

</div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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 <o:p></o:p></span></font></p>

</div>

</div>

</div>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org
</a><br>
<a
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
</a><o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
********************************************<br>
Adrian Egli <o:p></o:p></span></font></p>

</div>

</div>

</div>

</span>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org
</a><br>
<a
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
********************************************<br>
Adrian Egli <o:p></o:p></span></font></p>

</div>

</body>

</html>