On Fri, Mar 27, 2009 at 12:30 AM, Philip Lowman <[email protected]> wrote:

> On Tue, Mar 24, 2009 at 8:21 AM, Csaba Halász <[email protected]>wrote:
>
>> On Tue, Mar 24, 2009 at 4:37 AM, Philip Lowman <[email protected]> wrote:
>> >
>> > Are you enabling BUILD_OSG_WRAPPERS?  This might also account for the
>> > difference.  I noticed my build errors are in osgIntrospection.
>> > http://www.cdash.org/CDashPublic/viewBuildError.php?buildid=15265
>>
>> Hi Philip,
>>
>> You are right, I am not building wrappers, because both of my mingw
>> builds ran out of memory during linking (I have posted about that
>> under "mingw build problems" on 29th october last year). At least that
>> was the case when I set them up, I might check if it is still the
>> same.
>
>
> Robert & Csaba,
>
> When I disabled wrappers I was able to build successfully under MinGW
> 3.4.2.
>
> Subsequently, I traced the problem back to MinGW 3.4.2 not supporting
> wchar_t completely.  Here's a patch that throws an exception if the user
> builds on a GCC/glibc w/o proper support for wostream/wistream and
> subsequently calls osgIntrospection::Value::toWString().
>

Hold off on the patch, it doesn't matter.

After I got osgIntrospection to build I forgot to cd to the toplevel
directory and run make.  Now I get the following build error.  In short,
looks like MinGW 3.4.2 truly does suck and building the wrappers on it is a
lost cause.  No big deal, I'll fix my nightly build on Monday to disable
them.

Creating library file: ..\..\lib\libosgIntrospection.dll.a
[ 60%] Built target osgIntrospection
[ 60%] Building CXX object
src/osgWrappers/CMakeFiles/osgwrapper_OpenThreads.dir/OpenThreads/Atomic.obj
[ 60%] Building CXX object
src/osgWrappers/CMakeFiles/osgwrapper_OpenThreads.dir/OpenThreads/Barrier.obj
P:/code/svn/OSG_trunk/include/osgIntrospection/Value: In constructor
`osgIntrospection::Value::Value(const T&) [with T = int]':
P:/code/svn/OSG_trunk/include/osgIntrospection/Value:354: internal compiler
error: in rest_of_handle_final, at toplev.c:2064
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
mingw32-make[2]: ***
[src/osgWrappers/CMakeFiles/osgwrapper_OpenThreads.dir/OpenThreads/Barrier.obj]
Error 1
mingw32-make[1]: ***
[src/osgWrappers/CMakeFiles/osgwrapper_OpenThreads.dir/all] Error 2
mingw32-make: *** [all] Error 2


-- 
Philip Lowman
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to