Re: [osg-users] dll tiff

2009-04-24 Thread Gordon Tomlinson
Sounds like it could either be a manifest problem, or your mixing release
and debug libs,

 

Also turn up the OSG notify level to debug to get more info , are you  sure
that image file is being found etc.

 


__

Gordon Tomlinson 

 <mailto:gor...@gordontomlinson.com> gor...@gordontomlinson.com
IM:  <mailto:gordon3db...@3dscenegraph.com> gordon3db...@3dscenegraph.com
 <http://www.vis-sim.com/> www.vis-sim.com
<http://www.gordontomlinson.com/> www.gordontomlinson.com 


__

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Adaya
Lorenzo
Sent: Friday, April 24, 2009 7:17 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] dll tiff

 

I forgot some things. The code is like this:
osg::ref_ptr dummy;
std::string icon_path = "C:\\file.tif";
dummy = osgDB::readImageFile(icon_path.c_str());

and the dummy returns null.

2009/4/24 Adaya Lorenzo 

Hi! I have some problems with osgdb_tiff and osgdb_tiffd.I have compiled osg
2.8, 3rdStudio with visual studio 2008 express Edition. I used Cmake first
and I included all the dependencies for that image format. When I execute a
program with that dll (in release or in debug) the dll loads and inmediatly
it unloads.Does somebody know why??What can I do??

Thx!

-- 
Adaya Lorenzo Leon




-- 
Adaya Lorenzo Leon

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] dll tiff

2009-04-24 Thread Adaya Lorenzo
I forgot some things. The code is like this:
osg::ref_ptr dummy;
std::string icon_path = "C:\\file.tif";
dummy = osgDB::readImageFile(icon_path.c_str());

and the dummy returns null.

2009/4/24 Adaya Lorenzo 

> Hi! I have some problems with osgdb_tiff and osgdb_tiffd.I have compiled
> osg 2.8, 3rdStudio with visual studio 2008 express Edition. I used Cmake
> first and I included all the dependencies for that image format. When I
> execute a program with that dll (in release or in debug) the dll loads and
> inmediatly it unloads.Does somebody know why??What can I do??
>
> Thx!
>
> --
> Adaya Lorenzo Leon
>



-- 
Adaya Lorenzo Leon
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] dll tiff

2009-04-24 Thread Adaya Lorenzo
Hi! I have some problems with osgdb_tiff and osgdb_tiffd.I have compiled osg
2.8, 3rdStudio with visual studio 2008 express Edition. I used Cmake first
and I included all the dependencies for that image format. When I execute a
program with that dll (in release or in debug) the dll loads and inmediatly
it unloads.Does somebody know why??What can I do??

Thx!

-- 
Adaya Lorenzo Leon
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org