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\include;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
>> >>> 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
>>
>
_______________________________________________
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

_______________________________________________
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


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

Reply via email to