Hm. Well, I _thought_ I had VS2005 SP1 installed, but apparently I was just
running vanilla VS 2005. After downloading and installing SP1, I'm once
again able to use the "D" version of Mike's 3rdParty binaries. (Confirmed
with "osgviewerd cow.osg", then hit the 's' key, which loads
osgdb_truetyped.dll -- fonts load and render correctly, no error messages in
console.)
 
Please try this on your end and post your results, it'd be good to finally
know we've discovered the root cause of this issue. It's been bugging me --
and Mike -- for weeks.
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz
Sent: Thursday, June 05, 2008 10:37 AM
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] Unable to find plugin


I discovered this problem with the "D" 3rdparty libs some time ago, and have
posted here extensively regarding it, and have discussed the issue at length
with Mike Weiblen. Up until now I was the only person reproducing this
issue. I've found the problem also occurs with "D" versions of libPNG and
libtiff.
 
Are you using VS SP1?
 
Possible issues with CRT would occur if STL were used in the 3rdParty lib
interface, or if the lib's heap were accessed by both release and debug
code.
 
I've been using the non-"D" libs in my debug builds without issue. However,
I primarily develop and test with release builds, and only use debug builds
for, well, debugging. So I wouldn't say that I've exercised this
extensively.
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lionel
Lagarde
Sent: Thursday, June 05, 2008 10:22 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to find plugin


Linking osgdb_freetype with freetype235.lib (not freetype235_D.lib) works. I
hope
this will not lead to crt conflict.

Vincent Bourdier wrote: 

Hi, with osg 2.4 it solves the problem !
All seems to be good now.

I'll try with osg 2.5.1 tomorrow...

Gordon, did you verify your VS proj is configured for dll multithread ?


2008/6/5 Lionel Lagarde <[EMAIL PROTECTED]>:


Hi, 

I have a similar problem.

The debug build of OSG is unable to load the osgdb_freetype plugin.
The release build has no problem with this plugin.

I'm using visual express 2005 SP1. The dependency walker tool from microsoft
says
that msvcp80d.dll and msvcp80d.dll are missing.

I don't know what to do. Most of the threads on this subject say that it's a
SP1 issue.
Maybe I should reinstall my compiler.

Vincent, could you reply this thread if you find any solution.


Gordon Tomlinson wrote: 

Basically you can not use VS SP1 libs with a no SP1 Applications
 
You can use non SP1 libs with SP1 applications in some cases,
 
But I would highly suggest you always use either ALL SP1 libs or ALL none
SP1 libs ( you will have to build all 3rd party files to match)
 
I would also recommend any one using VS2005 upgrade to Sp1, it fixes alot of
issues and saves much grief
 

__________________________________________________________
Gordon Tomlinson 

Email   : [EMAIL PROTECTED]
Website : www.vis-sim.com www.gordontomlinson.com 

__________________________________________________________

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
-Master Tambo Tetsura 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vincent
Bourdier
Sent: 05 June 2008 12:55
To: OpenSceneGraph Users
Subject: Re: [osg-users] Unable to find plugin


Hi Mattias,

Yes I added myself some path for the linker to be sure it was not the
problem...
Before compiling all OSG once again, I'll try to put the SP1 on Visual
Studio as suggested by Collin. Don't know why but I thing It is a problem
like this, because OSG compiles very well and the .dll are generated

Thanks for help,

I'll tell you when I resolve the problem.

Regards,
  Vincent.


2008/6/5 Mattias Helsing <[EMAIL PROTECTED]>:


Hi Vincent,

I'd spend a buck on Colin's reply.

Though it's a bit odd that you have 3rdParty../include/freetype in
your include path. I guess you have added this yourself in CMake
setup. The freetype plugin just includes ft2build.h which is in
3rdParty/include. It probably won't hurt of course, just a notice.

You don't report what output you get when setting
OSG_NOTIFY_LEVEL=DEBUG_INFO. Anything ?

cheers
Mattias


On 6/5/08, Vincent Bourdier <[EMAIL PROTECTED]> wrote:
> The problem still here :
>
> My PATH :
>
Z:\OSG_2.4\binaries\bin;Z:\OSG_2.4\binaries\bin\osgplugins-2.4.0;Z:\OSG_2.4\
sources\3rdParty\bin;
>
> Osg 2.4 Freetype compilation : ok. No error, no warnings
>
> in my project :
> linker  : Z:\OSG_2.4\sources\3rdParty\lib;Z:\OSG_2.4\binaries\lib;
> include :
>
\OSG_2.4\sources\3rdParty\include\freetype;Z:\OSG_2.4\sources\3rdParty\inclu
de;Z:\OSG_2.4\sources\OpenSceneGraph-src\include;
>
> And still the error messages :
> "Could not find plugin to read object from file ... arial.ttf"
> "Could not find plugin to read object from file ... picture.jpg"
> "Could not find plugin to read object from file ... picture.png"
>
> I don't know where to search now...
>
> Any idea ?
>
> Regards,
>    Vincent.
>
> 2008/6/5 Mattias Helsing <[EMAIL PROTECTED]>:
>
>> Hi Vincent,
>>
>> is 3rdPart.../bin in your path when you run?
>>
>> CMake should pick up the FREETYPE_INCLUDE_DIR if you give a proper
>> value to ACTUAL_3RDPARTY_DIR.
>>
>> What messages do you get when you set OSG_NOTIFY_LEVEL to DEBUG_INFO
>>
>> cheers
>> MAttias
>>
>> On 6/5/08, Vincent Bourdier <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > After download of the last 3rdParty from SVN, I've some problem on
>> > compilation :
>> > In the Cmake 2.4 config, with advanced values, Freetype ask for
>> > *FREETYPE_INCLUDE_DIR_freetype2
>> > *and I didn't found something about that... If I put some directory
like
>> > ....3rdParty_win32binaries_vs80sp1/include/freetype... it compile, but
>> > after, during the run, I've the "*could not find plugin to read
>> > ....arial.ttf" *message and so I don't know how to make a good 2.4
>> > compilation, with freetype, jpeg and png plugins.
>> >
>> > Thanks,
>> >
>> > Regards,
>> >    Vincent.
>> >
>> > 2008/6/4 Vincent Bourdier <[EMAIL PROTECTED]>:
>> >
>> >> Thanks Jean-Sébatien, I'm currently downloading the good 3dParties
from
>> >> SVN... it looks better :)
>> >>
>> >> I'll try to compile just after.
>> >>
>> >> Thanks for theses good indications
>> >>
>> >> Vincent.
>> >>
>> >> 2008/6/4 Paul Melis <[EMAIL PROTECTED]>:
>> >>
>> >>> Jean-Sébastien Guay wrote:
>> >>>
>> >>>
>> >>>  Hello Vincent,
>> >>>>
>> >>>>  I didn't found some osgbd_ttf.dll in the plugins... in 2.2, 2.4,
>> 2.5.1
>> >>>>> What is the plugin which define it ?
>> >>>>>
>> >>>>
>> >>>>
>> >>>> I think Paul made a small mistake, it's not osgdb_ttf.dll, it's
>> >>>> osgdb_freetype.dll that you're looking for. This should exist to be
>> able
>> >>>> to
>> >>>> load ttf fonts.
>> >>>>
>> >>>
>> >>> Yup, you're right, forgot about that.
>> >>>
>> >>> Paul
>> >>>
>> >>> _______________________________________________
>> >>> osg-users mailing list
>> >>> [email protected]
>> >>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >>>
>> >>
>> >>
>> >
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





  _____  


_______________________________________________

osg-users mailing list

[email protected]

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

  


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






  _____  


_______________________________________________

osg-users mailing list

[email protected]

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

  

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

Reply via email to