Build issues with Xcode 4.2

369 views
Skip to first unread message

Len

unread,
Jan 7, 2012, 7:58:12 PM1/7/12
to osgworks-users
Hello.
I'm running into some problems building osgWorks with OSG 3.0.1.
I've built OSG 3.0.1 32bit successfully on my MacBook Pro in Xcode 4.2
after CMake.
osgWorks though will not build and I'm getting errors that are very
hard to understand:
The errors are in locale_facets.h
and say
"Semantic error:
Implicit instantiation of undefined template 'std::basic_string<char,
std::char_traits<char>, std::allocator<char> >' "

And I get a whole slew (30-40) of those.
This is a core Apple file so I would think there's an architecture
mismatch or something of the sort but I can't figure it out.

Strangely, I had osgWorks working several months ago but my libs
vanished so I downloaded the latest stable 2.0.0.

Any help is sure appreciated.

-Len

Doug McCorkle

unread,
Jan 7, 2012, 8:22:07 PM1/7/12
to osgwork...@googlegroups.com
Hey Len,

What version of Mac OS are you using? Does the makefile build system work on your Mac?

Doug

> --
> You received this message because you are subscribed to the Google Groups "osgworks-users" group.
> To post to this group, send email to osgwork...@googlegroups.com.
> To unsubscribe from this group, send email to osgworks-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/osgworks-users?hl=en.
>

Len

unread,
Jan 8, 2012, 12:20:57 AM1/8/12
to osgworks-users
I'm on OS 10.6.8.
As far as I know the makefile build system works fine. Make runs from
the command line fine.
That said, I haven't tried running CMake with the makefile option
instead of Xcode. Xcode has always worked in the past.

Could it have something to do with the changes installing Xcode 4
causes?
From what I understand other software builds can get mucked up going
from Xcode 3.x to 4.x.
Thanks for the help.

-Len

Doug McCorkle

unread,
Jan 8, 2012, 8:41:13 AM1/8/12
to osgwork...@googlegroups.com

On Jan 7, 2012, at 11:20 PM, Len wrote:

> I'm on OS 10.6.8.
> As far as I know the makefile build system works fine. Make runs from
> the command line fine.
> That said, I haven't tried running CMake with the makefile option
> instead of Xcode.

This is what you would need to run. If you can run this and the build succeeds then we can rule out a problem with osgWorks. It would probably be a CMake or some other host specific issue.

> Xcode has always worked in the past.
>
> Could it have something to do with the changes installing Xcode 4
> causes?

I have no idea.

> From what I understand other software builds can get mucked up going
> from Xcode 3.x to 4.x.

That could be but we are not XCode gurus. Most of the folks on the list who build on mac use the makefile build option in CMake.

Paul Martz

unread,
Jan 8, 2012, 10:56:29 AM1/8/12
to osgwork...@googlegroups.com
Hey guys --

I just tested OSG 3.0.1 and osgWorks trunk using makefiles, and this built
cleanly. I'm 100% certain I did the same thing, and got the same results, at the
time of the osgWorks 2.0 release.

I'm not an XCode expert, but I understand it uses gcc under the hood. If the
compiler is the same and the only difference is makefiles versus XCode files --
and therefore the arguments they pass to the compiler -- then I'd look at CMake
settings. I know there are a slew that are specific to XCode, but not being an
XCode user, I've never tinkered with them.

Not sure where you'd go for more information. Web searching the error text gives
some results. If anything in osgWorks needs a patch, let us know.
-Paul

Len White

unread,
Jan 8, 2012, 1:01:36 PM1/8/12
to osgwork...@googlegroups.com
Thanks for the ideas.
Unfortunately, I just rebuilt my cmake cache for osgWorks using Makefiles and got, from what I can tell, the same errors as with Xcode 4.2.
Looking more closely they seem to be caused by the inclusion of iostream and then "ios" from within the osg Notify header. I've copied the top chunk below. It's almost as if the c++ standard libraries are not getting included.
I did build OSG with Xcode, if that could account for this. -Len


In file included from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/ios_base.h:224: error: field ‘_M_msg’ has incomplete type
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2.1/ios:50,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘std::string std::numpunct<_CharT>::grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:1772: error: return type ‘struct std::string’ is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘virtual std::string std::numpunct<_CharT>::do_grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:1840: error: return type ‘struct std::string’ is incomplete
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2.1/ios:50,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘std::string std::moneypunct<_CharT, _Intl>::grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:3728: error: return type ‘struct std::string’ is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘virtual std::string std::moneypunct<_CharT, _Intl>::do_grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:3873: error: return type ‘struct std::string’ is incomplete
In file included from /usr/include/c++/4.2.1/locale:46,
                 from /usr/include/c++/4.2.1/bits/ostream.tcc:46,
                 from /usr/include/c++/4.2.1/ostream:572,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&) const’:
/usr/include/c++/4.2.1/bits/locale_facets.tcc:343: error: invalid use of incomplete type ‘struct std::string’



--
You received this message because you are subscribed to the Google Groups "osgworks-users" group.
To post to this group, send email to osgworks-users@googlegroups.com.
To unsubscribe from this group, send email to osgworks-users+unsubscribe@googlegroups.com.

Paul Martz

unread,
Jan 8, 2012, 1:14:57 PM1/8/12
to osgwork...@googlegroups.com
Have you checked very carefully to ensure that you've configured osgWorks CMake exactly the same way as you configured OSG CMake? For example, CMAKE_BUILD_TYPE, CMAKE_OSX_ARCHITECTURE, CMAKE_OSX_DEPLOYMENT_TARGET, CMAKE_OSX_SYSROOT, etc.

It *might* make a difference if OSG was built for XCode and osgWorks was not. Definitely something to try.
�� -Paul



On 1/8/2012 11:01 AM, Len White wrote:
Thanks for the ideas.
Unfortunately, I just rebuilt my cmake cache for osgWorks using Makefiles and got, from what I can tell, the same errors as with Xcode 4.2.
Looking more closely they seem to be caused by the inclusion of iostream and then "ios" from within the osg Notify header. I've copied the top chunk below. It's almost as if the c++ standard libraries are not getting included.
I did build OSG with Xcode, if that could account for this. -Len


In file included from /usr/include/c++/4.2.1/ios:48,
� � � � � � � � �from /usr/include/c++/4.2.1/ostream:45,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/ios_base.h:224: error: field �_M_msg� has incomplete type
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
� � � � � � � � �from /usr/include/c++/4.2.1/ios:50,
� � � � � � � � �from /usr/include/c++/4.2.1/ostream:45,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function �std::string std::numpunct<_CharT>::grouping() const�:
/usr/include/c++/4.2.1/bits/locale_facets.h:1772: error: return type �struct std::string� is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function �virtual std::string std::numpunct<_CharT>::do_grouping() const�:
/usr/include/c++/4.2.1/bits/locale_facets.h:1840: error: return type �struct std::string� is incomplete
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
� � � � � � � � �from /usr/include/c++/4.2.1/ios:50,
� � � � � � � � �from /usr/include/c++/4.2.1/ostream:45,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function �std::string std::moneypunct<_CharT, _Intl>::grouping() const�:
/usr/include/c++/4.2.1/bits/locale_facets.h:3728: error: return type �struct std::string� is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function �virtual std::string std::moneypunct<_CharT, _Intl>::do_grouping() const�:
/usr/include/c++/4.2.1/bits/locale_facets.h:3873: error: return type �struct std::string� is incomplete
In file included from /usr/include/c++/4.2.1/locale:46,
� � � � � � � � �from /usr/include/c++/4.2.1/bits/ostream.tcc:46,
� � � � � � � � �from /usr/include/c++/4.2.1/ostream:572,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
� � � � � � � � �from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function �_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&) const�:
/usr/include/c++/4.2.1/bits/locale_facets.tcc:343: error: invalid use of incomplete type �struct std::string�



On Sun, Jan 8, 2012 at 10:56 AM, Paul Martz <pma...@skew-matrix.com> wrote:
Hey guys --

I just tested OSG 3.0.1 and osgWorks trunk using makefiles, and this built cleanly. I'm 100% certain I did the same thing, and got the same results, at the time of the osgWorks 2.0 release.

I'm not an XCode expert, but I understand it uses gcc under the hood. If the compiler is the same and the only difference is makefiles versus XCode files -- and therefore the arguments they pass to the compiler -- then I'd look at CMake settings. I know there are a slew that are specific to XCode, but not being an XCode user, I've never tinkered with them.

Not sure where you'd go for more information. Web searching the error text gives some results. If anything in osgWorks needs a patch, let us know.

� -Paul


--
You received this message because you are subscribed to the Google Groups "osgworks-users" group.
To post to this group, send email to osgwork...@googlegroups.com.
To unsubscribe from this group, send email to osgworks-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/osgworks-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "osgworks-users" group.
To post to this group, send email to osgwork...@googlegroups.com.
To unsubscribe from this group, send email to osgworks-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/osgworks-users?hl=en.


-- 
  -Paul Martz      Skew Matrix Software    
                   http://www.skew-matrix.com/

Doug McCorkle

unread,
Jan 8, 2012, 1:33:15 PM1/8/12
to osgwork...@googlegroups.com
I have had these:

CMAKE_OSX_ARCHITECTURE, CMAKE_OSX_DEPLOYMENT_TARGET, CMAKE_OSX_SYSROOT

really foul things up on mac between different packages.

On Jan 8, 2012, at 12:14 PM, Paul Martz wrote:

Have you checked very carefully to ensure that you've configured osgWorks CMake exactly the same way as you configured OSG CMake? For example, CMAKE_BUILD_TYPE, CMAKE_OSX_ARCHITECTURE, CMAKE_OSX_DEPLOYMENT_TARGET, CMAKE_OSX_SYSROOT, etc.

It *might* make a difference if OSG was built for XCode and osgWorks was not. Definitely something to try.
   -Paul


On 1/8/2012 11:01 AM, Len White wrote:
Thanks for the ideas.
Unfortunately, I just rebuilt my cmake cache for osgWorks using Makefiles and got, from what I can tell, the same errors as with Xcode 4.2.
Looking more closely they seem to be caused by the inclusion of iostream and then "ios" from within the osg Notify header. I've copied the top chunk below. It's almost as if the c++ standard libraries are not getting included.
I did build OSG with Xcode, if that could account for this. -Len


In file included from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/ios_base.h:224: error: field ‘_M_msg’ has incomplete type
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2.1/ios:50,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘std::string std::numpunct<_CharT>::grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:1772: error: return type ‘struct std::string’ is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘virtual std::string std::numpunct<_CharT>::do_grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:1840: error: return type ‘struct std::string’ is incomplete
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2.1/ios:50,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘std::string std::moneypunct<_CharT, _Intl>::grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:3728: error: return type ‘struct std::string’ is incomplete
/usr/include/c++/4.2.1/bits/locale_facets.h: In member function ‘virtual std::string std::moneypunct<_CharT, _Intl>::do_grouping() const’:
/usr/include/c++/4.2.1/bits/locale_facets.h:3873: error: return type ‘struct std::string’ is incomplete
In file included from /usr/include/c++/4.2.1/locale:46,
                 from /usr/include/c++/4.2.1/bits/ostream.tcc:46,
                 from /usr/include/c++/4.2.1/ostream:572,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Notify:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Object:20,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/Node:18,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/OpenSceneGraph/include/osg/NodeVisitor:17,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/include/osgwTools/AbsoluteModelTransform.h:25,
                 from /Users/lenbus/Documents/Projects/Coding/libraries/osgWorks_02_00_00/src/osgwTools/AbsoluteModelTransform.cpp:21:
/usr/include/c++/4.2.1/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, std::string&) const’:
/usr/include/c++/4.2.1/bits/locale_facets.tcc:343: error: invalid use of incomplete type ‘struct std::string’



On Sun, Jan 8, 2012 at 10:56 AM, Paul Martz <pma...@skew-matrix.com> wrote:
Hey guys --

I just tested OSG 3.0.1 and osgWorks trunk using makefiles, and this built cleanly. I'm 100% certain I did the same thing, and got the same results, at the time of the osgWorks 2.0 release.

I'm not an XCode expert, but I understand it uses gcc under the hood. If the compiler is the same and the only difference is makefiles versus XCode files -- and therefore the arguments they pass to the compiler -- then I'd look at CMake settings. I know there are a slew that are specific to XCode, but not being an XCode user, I've never tinkered with them.

Not sure where you'd go for more information. Web searching the error text gives some results. If anything in osgWorks needs a patch, let us know.

  -Paul


--
You received this message because you are subscribed to the Google Groups "osgworks-users" group.
To post to this group, send email to osgwork...@googlegroups.com.
To unsubscribe from this group, send email to osgworks-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/osgworks-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "osgworks-users" group.
To post to this group, send email to osgwork...@googlegroups.com.
To unsubscribe from this group, send email to osgworks-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/osgworks-users?hl=en.


-- 
  -Paul Martz      Skew Matrix Software    
                   http://www.skew-matrix.com/

Len White

unread,
Jan 8, 2012, 8:00:18 PM1/8/12
to osgwork...@googlegroups.com
Those three variables are left blank on both the OSG and osgWorks Cmake caches.
I suppose rebuilding OSG with make files rather than Xcode will be the next test.
I did try with the mac binaries of osg 3.0.1 that are available on that site with no luck.

-Len
Reply all
Reply to author
Forward
0 new messages