Hello Phoung (I hope this is you first name)
First of all, your description is a bit vague.
Is it a compiler error or a crash? I guess it is a compiler error.
If your compiler points to an osg header file, the error is most
probably in your code.
Check if there are any missing semicolons (especially at the end of your
class definitions) and check if all curly braces are closed.
Errors like this usually happen in a header file.
If this doesn't help (or you simply oversee the error) try to strip down
your code.
hth
Sebastian
Hi,
I am trying to run some of my c++ code in OpenSUSE 12.1 using OSG. I installed
the RPMs and should be good to go with OSG on that end.
When I build my project though, all I do is #include <osgDB/FileUtils> and my
compiler (gcc 4.6.2) crashes inside FileUtils saying "expected identifier before '('
token.
I go to the error in FileUtils and it brings me to
enum Value
{
OK,
SOURCE_EQUALS_DESTINATION,
... and so on
}
I have no idea why it is crashing inside of OSG code. I have not modified it
obviously because it's not my code but any help would be appreiciated.
Thank you!
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49198#49198
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org