Hi Dmitry,

On 12/10/12 2:56, Dmitry K. wrote:
> I have built OSG as dynamic library and when I attach the release version of 
> the
> library to my test project containing textures tutorial I receive bad alloc 
> mircosoft
> visual c++ exception. When I switch to debug version - everything works ok 
> but image
> doesn't loads with LoadImageFile (the function returns NULL).

You cannot mix debug and release libraries/builds in Visual Studio.
>From your post it's not quite clear which versions you are building and 
>linking but you
have to make sure that they're of the same type.

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to