compilation error on codeblock/mingw with spInputOutputOSInformator.cpp :
sprintf : undefined
solution : add #include <stdio.h> at the top of the file.
thanks. I have re updated SVN and sadky a new error has appeared :
[ 1%] Building CXX object CMakeFiles/SoftPixelEngine.dir/sources/Base/spBasicMeshGenerator.cpp.o
In file included from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeBuilder.hpp:19:0,
from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/SceneGraph/spSceneGraph.hpp:17,
from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spBasicMeshGenerator.cpp:10:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp: In member function ‘sp::scene::ImageTreeNode<T>* sp::scene::ImageTreeNode<T>::getChildA() const’:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp:147:20: erreur: ‘ChidlA_’ was not declared in this scope
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp: In member function ‘sp::scene::ImageTreeNode<T>* sp::scene::ImageTreeNode<T>::getChildB() const’:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp:151:20: erreur: ‘ChidlB_’ was not declared in this scope
Just a typing error :
ChidlA_ vs ChildA_
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are welcome.
Now some boost error :
[ 1%] Building CXX object CMakeFiles/SoftPixelEngine.dir/sources/Base/spBasicMeshGenerator.cpp.o
In file included from /cygdrive/g/perso/devel/softpixelengine/softpixelengine/trunk/sources/Base/spBasicMeshGenerator.cpp:12:0:
/usr/include/boost/foreach.hpp:125:12: erreur: redefinition of ‘struct boost::BOOST_FOREACH::is_lightweight_proxy<T>’
/usr/include/boost/foreach_fwd.hpp:63:5: erreur: previous definition of ‘struct boost::BOOST_FOREACH::is_lightweight_proxy<T>’
/usr/include/boost/foreach.hpp:135:12: erreur: redefinition of ‘struct boost::BOOST_FOREACH::is_noncopyable<T>’
/usr/include/boost/foreach_fwd.hpp:68:5: erreur: previous definition of ‘struct boost::BOOST_FOREACH::is_noncopyable<T>’
In file included from /usr/include/boost/foreach.hpp:89:0,
Which version of boost do we have to use ?
Does cmake check the version of boost ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
301 Moved Permanently I was recommended this web site by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble. Youre incredible! Thanks! your article about 301 Moved PermanentlyBest Regards Veronica
<a href="http://en.netlog.com/gabrielborre/blog/blogid=14565238" title="Articles">Articles</a>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Writing is an art that takes dedication and effort to produce content like this writer has written. Thank you for this informative and interesting content.
[url=http://help9freeze.autisable.com/769928731/plus-size-prom-dresses-exciting-colour-choices/]Prom gowns[/url]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No news.
Is there anybody here ?
Allo ?
Thanks for you repot :-)
Have you used the SVN sources?
I'll fix this for the next SVN revision.
Fixed: I'm no longer using sprintf in this file. It's up to date in the SVN sources ;-)
thanks. I have re updated SVN and sadky a new error has appeared :
[ 1%] Building CXX object CMakeFiles/SoftPixelEngine.dir/sources/Base/spBasicMeshGenerator.cpp.o
In file included from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeBuilder.hpp:19:0,
from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/SceneGraph/spSceneGraph.hpp:17,
from /cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spBasicMeshGenerator.cpp:10:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp: In member function ‘sp::scene::ImageTreeNode<T>* sp::scene::ImageTreeNode<T>::getChildA() const’:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp:147:20: erreur: ‘ChidlA_’ was not declared in this scope
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp: In member function ‘sp::scene::ImageTreeNode<T>* sp::scene::ImageTreeNode<T>::getChildB() const’:
/cygdrive/g/devel/softpixelengine/softpixelengine/trunk/sources/Base/spTreeNodeImage.hpp:151:20: erreur: ‘ChidlB_’ was not declared in this scope
Just a typing error :
ChidlA_ vs ChildA_
Thanks, you're right. VisualC++ does not check those errors when templates are not instantiated.
You are welcome.
Now some boost error :
[ 1%] Building CXX object CMakeFiles/SoftPixelEngine.dir/sources/Base/spBasicMeshGenerator.cpp.o
In file included from /cygdrive/g/perso/devel/softpixelengine/softpixelengine/trunk/sources/Base/spBasicMeshGenerator.cpp:12:0:
/usr/include/boost/foreach.hpp:125:12: erreur: redefinition of ‘struct boost::BOOST_FOREACH::is_lightweight_proxy<T>’
/usr/include/boost/foreach_fwd.hpp:63:5: erreur: previous definition of ‘struct boost::BOOST_FOREACH::is_lightweight_proxy<T>’
/usr/include/boost/foreach.hpp:135:12: erreur: redefinition of ‘struct boost::BOOST_FOREACH::is_noncopyable<T>’
/usr/include/boost/foreach_fwd.hpp:68:5: erreur: previous definition of ‘struct boost::BOOST_FOREACH::is_noncopyable<T>’
In file included from /usr/include/boost/foreach.hpp:89:0,
Which version of boost do we have to use ?
Does cmake check the version of boost ?
Yes, CMake should check for boost version 1.47.0.
But this seems to be an internal boost error :-(
301 Moved Permanently I was recommended this web site by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble. Youre incredible! Thanks! your article about 301 Moved PermanentlyBest Regards Veronica
<a href="http://en.netlog.com/gabrielborre/blog/blogid=14565238" title="Articles">Articles</a>
Writing is an art that takes dedication and effort to produce content like this writer has written. Thank you for this informative and interesting content.
[url=http://help9freeze.autisable.com/769928731/plus-size-prom-dresses-exciting-colour-choices/]Prom gowns[/url]