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.
>
> 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.
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 osgworks-users@googlegroups.com.
To unsubscribe from this group, send email to osgworks-users+unsubscribe@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�
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.
--
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.
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.