Tell me please, why doesn't work function readImageFile?
In OpenSceneGraph examples it is called like
osg::Image * img = osgDB::readImageFile (filename);
I get exception - heap allocation error. The size that function tries to
allocate is ~ 3458768586 bytes (picture size is 4 KB).
HI Sergey,
There isn't anyway anyone in the community can answer your question as
there just isn't a fraction of the required information for us to
guess.
Details that would be useful are:
file type you are trying to load
An example of the image that causes the failure.
What version of
Hello Sergey,
I get exception - heap allocation error. The size that function tries to
allocate is ~ 3458768586 bytes (picture size is 4 KB).
Pre-complilated examples work well. Compilator VC++ 2010 Express.
It sounds like you're mixing debug/release libraries / executable. You
need to
3 matches
Mail list logo