<?xml version="1.0" encoding="utf-8"?>
<!--  RSS generated by Flaimo.com RSS Builder [2010-03-18 12:14:41]  --> <rss version="2.0" xmlns:im="http://purl.org/rss/1.0/item-images/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" >
<channel>
<docs>http://www.ogre3d.org/mantis/</docs>
<description>Mantis - ISSUES</description>
<link>http://www.ogre3d.org/mantis/</link>
<title>Mantis - ISSUES</title>
<image>
<title>Mantis - ISSUES</title>
<url>http://www.ogre3d.org/mantis/images/mantis_logo_button.gif</url>
<link>http://www.ogre3d.org/mantis/</link>
<description>Mantis - ISSUES</description>
</image>
<category>All Projects</category>
<ttl>10</ttl>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2010-03-18T12:14:41+00:00</sy:updateBase>
<item>
<title>0000301: CMake Makefiles don't link against stdc++ (OSX)</title>
<link>http://www.ogre3d.org/mantis/view.php?id=301</link>
<description>When generating Unix Makefiles with CMake on OSX (confirmed on 10.5 and 10.6),&lt;br /&gt;
the link.txt does not contain &quot;-lstdc++&quot; and therefore, the build fails due to unmatched references.&lt;br /&gt;
&lt;br /&gt;
How to fix?&lt;br /&gt;
Add stdc++ to the various LIBs etc. vars; maybe some other way?</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=301</guid>
<author>th0br0 &lt;th0br0@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=301#bugnotes</comments>
</item>
<item>
<title>0000304: setPolygonMode doesn't work on the iPhone</title>
<link>http://www.ogre3d.org/mantis/view.php?id=304</link>
<description>OpenGL ES doesn't support setPolygonMode().  Objects can only be rendered solid.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=304</guid>
<author>devildog820 &lt;devildog820@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=304#bugnotes</comments>
</item>
<item>
<title>0000302: No coherence in CMAKE vars (regarding addition features like ZZLIB)</title>
<link>http://www.ogre3d.org/mantis/view.php?id=302</link>
<description>The cmake scripts set &lt;br /&gt;
OGRE_CONFIG_DISABLE_ZIP&lt;br /&gt;
OGRE_CONFIG_DISABLE_DDS&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
However, OgreMain/CMakeLIsts.txt checks against OGRE_CONFIG_ENABLE_ZIP&lt;br /&gt;
&lt;br /&gt;
Therefore, if these flags aren't manually set, Ogre is built without ZIP (etc.) support which makes it unable to run even the samples.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=302</guid>
<author>th0br0 &lt;th0br0@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=302#bugnotes</comments>
</item>
<item>
<title>0000303: VS SDKs include a reference to CMake in pre-build step</title>
<link>http://www.ogre3d.org/mantis/view.php?id=303</link>
<description>Apparently the pre-build step is included and refers to C:\Program Files\Cmake. The intention was not to have any reference to CMake in the prebuilt SDK unless someone chose to use it, but this probably got missed because this was the default install location.&lt;br /&gt;
&lt;br /&gt;
This needs to be removed / resolved.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=303</guid>
<author>sinbad &lt;sinbad@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=303#bugnotes</comments>
</item>
<item>
<title>0000300: CMake picks up debug dependencies for release build if release versions are not available</title>
<link>http://www.ogre3d.org/mantis/view.php?id=300</link>
<description>&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56168&quot;&gt;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56168&lt;/a&gt; [&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56168&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
Apparently on Windows if the user has only built the debug dependencies, CMake will pick those up for the release build too which causes errors at runtime. The dependencies affected are: &lt;br /&gt;
&lt;br /&gt;
Dependencies\lib\debug\OIS_d.lib&lt;br /&gt;
Dependencies\lib\debug\freetype2311_D.lib&lt;br /&gt;
Dependencies\lib\debug\FreeImaged.lib&lt;br /&gt;
Dependencies\lib\debug\zziplibd.lib&lt;br /&gt;
Dependencies\lib\debug\zlibd.lib</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=300</guid>
<author>sinbad &lt;sinbad@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=300#bugnotes</comments>
</item>
<item>
<title>0000264: There is probably a bug in the function Camera::setDirection()</title>
<link>http://www.ogre3d.org/mantis/view.php?id=264</link>
<description>I am confused by the code in Camera::setDirection().  I have posted it in the forum, but I got no response. And I still think there is issue in the code. So I file a bug here. Please check if I am wrong.&lt;br /&gt;
Below is the post link in the forum.&lt;br /&gt;
&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=2&amp;t=54686&amp;p=371819&amp;hilit=Confused#p371819&quot;&gt;http://www.ogre3d.org/forums/viewtopic.php?f=2&amp;t=54686&amp;p=371819&amp;hilit=Confused#p371819&lt;/a&gt; [&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=2&amp;t=54686&amp;p=371819&amp;hilit=Confused#p371819&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
thanks</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=264</guid>
<author>frankmao &lt;frankmao@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=264#bugnotes</comments>
</item>
<item>
<title>0000299: Sequence of light changes can cause crash because of light hash==0</title>
<link>http://www.ogre3d.org/mantis/view.php?id=299</link>
<description>&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56018&quot;&gt;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56018&lt;/a&gt; [&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=56018&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
void SceneManager::useLightsGpuProgram(const Pass* pass, const LightList* lights)&lt;br /&gt;
{&lt;br /&gt;
   // only call the rendersystem if light list has changed&lt;br /&gt;
   if (lights-&gt;getHash() != mLastLightHashGpuProgram)&lt;br /&gt;
   {&lt;br /&gt;
      // Update any automatic gpu params for lights&lt;br /&gt;
      // Other bits of information will have to be looked up&lt;br /&gt;
      mAutoParamDataSource-&gt;setCurrentLightList(lights);&lt;br /&gt;
      mGpuParamsDirty |= GPV_LIGHTS;&lt;br /&gt;
&lt;br /&gt;
      mLastLightHashGpuProgram = lights-&gt;getHash();&lt;br /&gt;
&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
//---------------------------------------------------------------------&lt;br /&gt;
void SceneManager::bindGpuProgram(GpuProgram* prog)&lt;br /&gt;
{&lt;br /&gt;
   // need to reset the light hash, and paarams that need resetting, since program params will have been invalidated&lt;br /&gt;
   mLastLightHashGpuProgram = 0;&lt;br /&gt;
   mGpuParamsDirty = (uint16)GPV_ALL;&lt;br /&gt;
   mDestRenderSystem-&gt;bindGpuProgram(prog);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- lights change, &lt;br /&gt;
- useLightsGpuProgram is called with new light list, currently mLastLightHashGpuProgram = 0;&lt;br /&gt;
- AutoParamDataSource refreshes its mCurrentLightList&lt;br /&gt;
- mLastLightHashGpuProgram is modified to reflect the HASH of Lights&lt;br /&gt;
- somewhere later in the code bindGpuProgram(GpuProgram* prog) is called, RESETS mLastLightHashGpuProgram = 0;&lt;br /&gt;
- HERE I DELETE THE ONLY LIGHT IN THE LIST in frameRenderingStarted&lt;br /&gt;
- useLightsGpuProgram is called with new light list, mLastLightHashGpuProgram = 0;&lt;br /&gt;
- AutoParamDataSource DOES NOT REFRESH its mCurrentLightList because, the new light list is empty and has a hash of 0, where mLastLightHashGpuProgram = 0; due to bindGpuProgram() code above, so AutoParamDataSource.mCurrentLightList has invalid contents (reference to deleted light)&lt;br /&gt;
- AutoParamDataSource::getLight(0)-&gt;getXYZW()&lt;br /&gt;
&lt;br /&gt;
BOOM...CRASH!!!</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=299</guid>
<author>sinbad &lt;sinbad@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=299#bugnotes</comments>
</item>
<item>
<title>0000210: glGetString is failing in GLSupport::initialiseExtensions</title>
<link>http://www.ogre3d.org/mantis/view.php?id=210</link>
<description>When starting freeorion or ember (both are using ogre), they are failing with:&lt;br /&gt;
&lt;br /&gt;
main() caught exception(std::exception): basic_string::_S_construct NULL not valid&lt;br /&gt;
&lt;br /&gt;
When debugging it, I came across GLSupport::initialiseExtensions.&lt;br /&gt;
I've change the code to the following:&lt;br /&gt;
&lt;br /&gt;
    void GLSupport::initialiseExtensions(void)&lt;br /&gt;
    {&lt;br /&gt;
        // Set version string&lt;br /&gt;
       const GLubyte* pcVer = glGetString(GL_VERSION);&lt;br /&gt;
fprintf(stderr,&quot;100\n&quot;);&lt;br /&gt;
     printf(&quot;GL_RENDERER   = %s\n&quot;, (char *) glGetString(GL_RENDERER));&lt;br /&gt;
     printf(&quot;GL_VERSION    = %s\n&quot;, (char *) glGetString(GL_VERSION));&lt;br /&gt;
     printf(&quot;GL_VENDOR     = %s\n&quot;, (char *) glGetString(GL_VENDOR));&lt;br /&gt;
     printf(&quot;GL_EXTENSIONS = %s\n&quot;, (char *) glGetString(GL_EXTENSIONS));&lt;br /&gt;
       assert(pcVer &amp;&amp; &quot;Problems getting GL version string using glGetString&quot;);&lt;br /&gt;
fprintf(stderr,&quot;101\n&quot;);&lt;br /&gt;
       String tmpStr = (const char*)pcVer; &lt;br /&gt;
fprintf(stderr,&quot;102\n&quot;);&lt;br /&gt;
        LogManager::getSingleton().logMessage(&quot;GL_VERSION = &quot; + tmpStr);&lt;br /&gt;
fprintf(stderr,&quot;103\n&quot;);&lt;br /&gt;
        mVersion = tmpStr.substr(0, tmpStr.find(&quot; &quot;));&lt;br /&gt;
fprintf(stderr,&quot;104\n&quot;);&lt;br /&gt;
&lt;br /&gt;
The output is now:&lt;br /&gt;
&lt;br /&gt;
olivleh1@kartoffel olivleh1&gt; freeorion&lt;br /&gt;
unknown chip id 0x9515, can't guess.&lt;br /&gt;
100&lt;br /&gt;
GL_RENDERER   = (null)&lt;br /&gt;
GL_VERSION    = (null)&lt;br /&gt;
GL_VENDOR     = (null)&lt;br /&gt;
GL_EXTENSIONS = (null)&lt;br /&gt;
101&lt;br /&gt;
main() caught exception(std::exception): basic_string::_S_construct NULL not valid&lt;br /&gt;
olivleh1@kartoffel olivleh1&gt; &lt;br /&gt;
&lt;br /&gt;
Why isn't glGetString returning anything. It should return &quot;0&quot; on error.&lt;br /&gt;
I have no 3D support for my ATI HD3850 card, but It worked with at least ogre 1.2 or 1.4 with Software Rasterizer support. So glGetString not workomg on my system (FreeBSD 7.2, Xorg 7.4, libdrm 2.4.9) is a Bug to me.&lt;br /&gt;
&lt;br /&gt;
With glxgears, glGetString is outputting what it should:&lt;br /&gt;
&lt;br /&gt;
olivleh1@kartoffel olivleh1&gt; glxgears -info&lt;br /&gt;
unknown chip id 0x9515, can't guess.&lt;br /&gt;
GL_RENDERER   = Software Rasterizer&lt;br /&gt;
GL_VERSION    = 2.1 Mesa 7.4&lt;br /&gt;
GL_VENDOR     = Mesa Project</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=210</guid>
<author>OliverL &lt;OliverL@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=210#bugnotes</comments>
</item>
<item>
<title>0000280: -DFREEIMAGE_LIB prevents dynamic linking to FreeImage</title>
<link>http://www.ogre3d.org/mantis/view.php?id=280</link>
<description>I'm cross-compiling OGRE for win32 with gcc 4.4.2.&lt;br /&gt;
&lt;br /&gt;
The attached patch removes the -DFREEIMAGE_LIB pre-processor flag, which prevents dynamically linking to FreeImage.&lt;br /&gt;
&lt;br /&gt;
I don't know if you intend to support dynamically linking to FreeImage, hence the low severity of the bug.&lt;br /&gt;
&lt;br /&gt;
I'm afraid I'm not yet familiar enough with CMake to provide a patch that makes the definition depend on whether the user wants to link statically or dynamically. If FREEIMAGE_LIB is not required for static linking then it might be best to remove it altogether.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=280</guid>
<author>yrro &lt;yrro@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=280#bugnotes</comments>
</item>
<item>
<title>0000289: nmake chokes on precompiled header settings</title>
<link>http://www.ogre3d.org/mantis/view.php?id=289</link>
<description>The precompiled header for MSVC is set via add_definitions; unfortunately CMake adds these parameters also to calls to the linker and resource compiler. This results in nmake based builds to fail when compiling resources. The handling of precompiled headers needs to be specialised for nmake.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=289</guid>
<author>CABAListic &lt;CABAListic@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=289#bugnotes</comments>
</item>
<item>
<title>0000252: Build error on linux with thread support == 1</title>
<link>http://www.ogre3d.org/mantis/view.php?id=252</link>
<description>GLX is lacking an implementation of GLEW-based GL context sharing.&lt;br /&gt;
&lt;br /&gt;
Attached patch allows compile, but correctness is unclear.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=252</guid>
<author>sempuki &lt;sempuki@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=252#bugnotes</comments>
</item>
<item>
<title>0000240: TextAreaOverlayElement incorrectly loads Font in background thread (OGRE_THREAD_SUPPORT == 2)</title>
<link>http://www.ogre3d.org/mantis/view.php?id=240</link>
<description>If you have overlay scripts with a TextAreaOverlayElement in it, then calling initialiseAllResourceGroups in the background will cause loading of a Font resouce in the background thread. Triggered in function TextAreaOverlayElement::setFontName. Loading a font in the background causes a segmentation fault for the GLX rendersystem if OGRE_THREAD_SUPPORT is set to 2. &lt;br /&gt;
&lt;br /&gt;
This particular code segment in setFontName needs to be moved someplace else.</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=240</guid>
<author>CABAListic &lt;CABAListic@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=240#bugnotes</comments>
</item>
<item>
<title>0000214: StringConverter localisation issues</title>
<link>http://www.ogre3d.org/mantis/view.php?id=214</link>
<description>Currently StringConverter uses the default locale. This means that if a user has set their locale so that decimal points are commas, material parsing can be screwed up.&lt;br /&gt;
&lt;br /&gt;
Material parsing should use a fixed locale of en_GB. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=50063&amp;p=341435#p341435&quot;&gt;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=50063&amp;p=341435#p341435&lt;/a&gt; [&lt;a href=&quot;http://www.ogre3d.org/forums/viewtopic.php?f=4&amp;t=50063&amp;p=341435#p341435&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=214</guid>
<author>sinbad &lt;sinbad@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=214#bugnotes</comments>
</item>
<item>
<title>0000172: Background loaded resources - failure &amp; infinite retry</title>
<link>http://www.ogre3d.org/mantis/view.php?id=172</link>
<description>Resources should probably stop trying at some point. What to do?&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ogre3d.org/phpBB2/viewtopic.php?p=228035#228035&quot;&gt;http://www.ogre3d.org/phpBB2/viewtopic.php?p=228035#228035&lt;/a&gt; [&lt;a href=&quot;http://www.ogre3d.org/phpBB2/viewtopic.php?p=228035#228035&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]</description>
<guid>http://www.ogre3d.org/mantis/view.php?id=172</guid>
<author>sinbad &lt;sinbad@example.com&gt;</author>
<comments>http://www.ogre3d.org/mantis/view.php?id=172#bugnotes</comments>
</item>
</channel>
</rss>
