Re: [osg-users] Unable to find plugin
Hi, It's not a problem of Debug or Release version... debug compilation make some libd.dll and release make lib.dll (see advanced options in Cmake) but if you linker in debug search for libd.dll and you linker in release search lib.dll, all is good. :-) This morning I'm trying to compil osg 2.5.1 with Cmake 2.6 and visual studio 2005 SP1 (and last 3rdparty from SVN for vs80 sp1). I'll tell you if everything is good. Vincent. 2008/6/6 Brian Keener [EMAIL PROTECTED]: Vincent Bourdier wrote: 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 see it is more than just the ttf plugin - are you building a debug version or a Release version. I have found on the Cygwin compile that with the latest svn the dll's are being built with the postfix of d in the name but in the build of the examples the library open routines is not looking for the postfix of d so when it looks for in my case with a debug version it builds a gifd.dll for a gif file but the library routine is still looking for a gif.dll and thus doesn't find it - I'm assuming you are on windows and I am guessing that it is not Cygwin or MingW but I thought I would mention this. bk ___ 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
Re: [osg-users] Unable to find plugin
hi, This morning I'm trying to compil osg 2.5.1 with Cmake 2.6 and visual studio 2005 SP1 (and last 3rdparty from SVN for vs80 sp1). I'll tell you if everything is good. Everything looks fine. No problems. Thanks for your help. Regards, Vincent. Vincent. 2008/6/6 Brian Keener [EMAIL PROTECTED]: Vincent Bourdier wrote: 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 see it is more than just the ttf plugin - are you building a debug version or a Release version. I have found on the Cygwin compile that with the latest svn the dll's are being built with the postfix of d in the name but in the build of the examples the library open routines is not looking for the postfix of d so when it looks for in my case with a debug version it builds a gifd.dll for a gif file but the library routine is still looking for a gif.dll and thus doesn't find it - I'm assuming you are on windows and I am guessing that it is not Cygwin or MingW but I thought I would mention this. bk ___ 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
Re: [osg-users] Unable to find plugin
Bonjour Vincent, This morning I'm trying to compil osg 2.5.1 with Cmake 2.6 and visual studio 2005 SP1 (and last 3rdparty from SVN for vs80 sp1). I'll tell you if everything is good. Everything looks fine. No problems. Excellent, good to know it's all working for you now. J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
-Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of Peter Wraae Marino Sent: Thursday, June 05, 2008 3:50 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin ... Any chance we could get a 2008 (express,professional) dep package soon? Peter Not from me, I'll be on vs2005sp1 for the forseeable future, and I don't have vs2008 anyway. -- mew ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
-Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of Gordon Tomlinson Sent: Thursday, June 05, 2008 3:58 PM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Unable to find plugin You have 2008 ;). so you could contribute I'm sure Mike would share his build stuff etc ... All my 3rdParty build documentation and scripts are checked in to the osgToy repository with the binaries. -- mew ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
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
Re: [osg-users] Unable to find plugin
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
Re: [osg-users] Unable to find plugin
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
Re: [osg-users] Unable to find plugin
I had a similar problem and it was related to the version of Visual Studio used for building OSG. Mike's 3rd party binaries were compiled with VS2005 Service Pack 1. If you're using the standard VS2005 the plugins will build ok but won't get loaded. I found that upgrading SP1 fixed the problem. Colin Colin Rayment Principal Consultant Tel: 01373 852063 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Bourdier Sent: 05 June 2008 12:25 To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin 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 This email has been scanned for all known viruses by the MessageLabs Email Security System. Please help out the environment by only printing this e-mail if absolutely necessary - Thank You. This email has been scanned for all known viruses by the MessageLabs Email Security System. Systems Engineering Assessment Ltd - Beckington Castle, 17 Castle Corner, Beckington, Frome, Somerset, BA11 6TA, UK is registered in England and Wales with the company number 2430846. The contents of this email (including any attachments) are confidential and may be legally privileged. If you are not the intended recipient of this email any disclosure, copying, distribution or use of its contents is strictly prohibited. You should notify the sender immediately and then delete it (including any attachments) from your system. Please help out the environment by only printing this e-mail if absolutely necessary - Thank You.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
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
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
Re: [osg-users] Unable to find plugin
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 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
Re: [osg-users] Unable to find plugin
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-Sbatien, 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-Sbastien 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.opensceneg
Re: [osg-users] Unable to find plugin
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][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
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\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-Sbatien, I'm currently downloading the good 3dParties from SVN... it looks better :) I'll try to compile just after. Thanks for theses goo
Re: [osg-users] Unable to find plugin
If there is a new in freetype235_D.lib or any STL calls then you are likely to run into CRT and heap issues at some point sadly this is one of the bad features of Windows and MS you should not mix release and debug, we have had many discussion on this in the past a search of the archive should show quite a few dialogs on the issue ;).. __ 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 Lionel Lagarde Sent: 05 June 2008 17:22 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
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
Re: [osg-users] Unable to find plugin
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
Re: [osg-users] Unable to find plugin
Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. So i'm kinda at square 1 with this problem. the osgdb_freetyped.dll exists on my machine, all other plugins work fine, but the osgdb_freetyped.dll fails when osg trys to load it. anyone have a suggestion to what I can try? Peter On Thu, Jun 5, 2008 at 9:19 PM, Paul Martz [EMAIL PROTECTED] wrote: 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][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
Re: [osg-users] Unable to find plugin
Peter Wraae Marino wrote: Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. This is only true if you're running Visual Studio 2005 I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. I don't think Mike has created a 2008 version of the 3rdPary binaries yet, so if you want to use them, you may have to grab the sources and compile them yourself. --J ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
Hi, you might be on to something there.. i used the following dep. https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1/ these version numbers are really confusing from microsoft vs80sp1 is that for 2005 and vs90sp1 is 2008?? or other? Peter On Thu, Jun 5, 2008 at 10:15 PM, Jason Daly [EMAIL PROTECTED] wrote: Peter Wraae Marino wrote: Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. This is only true if you're running Visual Studio 2005 I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. I don't think Mike has created a 2008 version of the 3rdPary binaries yet, so if you want to use them, you may have to grab the sources and compile them yourself. --J ___ 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
Re: [osg-users] Unable to find plugin
Cool. I thought that was the favored hypothesis, glad to hear its been proven FWIW I've checked in the output of About Visual Studio from my build machine at: http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1/VisualStudio_raptor.txt?revision=525view=markup -- mew -Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of Paul Martz Sent: Thursday, June 05, 2008 2:19 PM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Unable to find plugin 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:osg- [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
Re: [osg-users] Unable to find plugin
its for Visual Studio 2005/VS8.0 I HIGHLY would recommend that any one running 2005 installs Sp1 for VS2005/VS8.0 I know we will be still on V2005 for at least 2 years __ 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 Peter Wraae Marino Sent: 05 June 2008 21:20 To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Hi, you might be on to something there.. i used the following dep. https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty _win32binaries_vs80sp1/ these version numbers are really confusing from microsoft vs80sp1 is that for 2005 and vs90sp1 is 2008?? or other? Peter On Thu, Jun 5, 2008 at 10:15 PM, Jason Daly [EMAIL PROTECTED] wrote: Peter Wraae Marino wrote: Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. This is only true if you're running Visual Studio 2005 I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. I don't think Mike has created a 2008 version of the 3rdPary binaries yet, so if you want to use them, you may have to grab the sources and compile them yourself. --J ___ 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
Re: [osg-users] Unable to find plugin
Hello Peter, I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. So i'm kinda at square 1 with this problem. the osgdb_freetyped.dll exists on my machine, all other plugins work fine, but the osgdb_freetyped.dll fails when osg trys to load it. If you're using 2008, you'll most likely have to recompile the 3rd party dependencies with that compiler yourself, as no one has yet contributed a precompiled dependencies package for 2008. I don't use 2008 myself, but that's what I've read from the past threads on the subject. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
If your running VS 2008 then you will HAVE to compile all the 3rd party dependencies yourself... At this time nobody is contributing a package like Mike W's package for VS2005/SP1 __ 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 Gordon Tomlinson Sent: 05 June 2008 21:35 To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Unable to find plugin its for Visual Studio 2005/VS8.0 I HIGHLY would recommend that any one running 2005 installs Sp1 for VS2005/VS8.0 I know we will be still on V2005 for at least 2 years __ 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 Peter Wraae Marino Sent: 05 June 2008 21:20 To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Hi, you might be on to something there.. i used the following dep. https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty _win32binaries_vs80sp1/ these version numbers are really confusing from microsoft vs80sp1 is that for 2005 and vs90sp1 is 2008?? or other? Peter On Thu, Jun 5, 2008 at 10:15 PM, Jason Daly [EMAIL PROTECTED] wrote: Peter Wraae Marino wrote: Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. This is only true if you're running Visual Studio 2005 I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. I don't think Mike has created a 2008 version of the 3rdPary binaries yet, so if you want to use them, you may have to grab the sources and compile them yourself. --J ___ 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
Re: [osg-users] Unable to find plugin
Hi Jean, I download freetype and built an express2008 verison of it... and it works... thx Any chance we could get a 2008 (express,professional) dep package soon? Peter On Thu, Jun 5, 2008 at 10:35 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Hello Peter, I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. So i'm kinda at square 1 with this problem. the osgdb_freetyped.dll exists on my machine, all other plugins work fine, but the osgdb_freetyped.dll fails when osg trys to load it. If you're using 2008, you'll most likely have to recompile the 3rd party dependencies with that compiler yourself, as no one has yet contributed a precompiled dependencies package for 2008. I don't use 2008 myself, but that's what I've read from the past threads on the subject. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.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
Re: [osg-users] Unable to find plugin
There are many ways that the truetype plugin might fail to load; read this thread for several possible causes/fixes. Using VS2005 SP1 is,._possibly_, the fix for just one of the possible failures. (It appears to be a fix for me, but I haven't seen anyone else chime in and state that it solved their problem -- yet). I have used VS2008 with Mike's VS2005 3rdParty libs, but we only built release. So, you could try that, and it should work (but I wouldn't recommend shipping product in volume with that configuration). If you really need a debug build of OSG, then you could try linking OSG with the release (non-d) version of Mike's libs. (Again, not really recommended for production shipments.) All this has been discussed in this thread, so please read through it and try a few things and see what works. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Wraae Marino Sent: Thursday, June 05, 2008 2:00 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. So i'm kinda at square 1 with this problem. the osgdb_freetyped.dll exists on my machine, all other plugins work fine, but the osgdb_freetyped.dll fails when osg trys to load it. anyone have a suggestion to what I can try? Peter On Thu, Jun 5, 2008 at 9:19 PM, Paul Martz [EMAIL PROTECTED] wrote: 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 http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com/ __ Self defence is not a function of learning tricks
Re: [osg-users] Unable to find plugin
You have 2008 ;). so you could contribute I'm sure Mike would share his build stuff etc ... __ 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 Peter Wraae Marino Sent: 05 June 2008 21:50 To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Hi Jean, I download freetype and built an express2008 verison of it... and it works... thx Any chance we could get a 2008 (express,professional) dep package soon? Peter On Thu, Jun 5, 2008 at 10:35 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Hello Peter, I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. So i'm kinda at square 1 with this problem. the osgdb_freetyped.dll exists on my machine, all other plugins work fine, but the osgdb_freetyped.dll fails when osg trys to load it. If you're using 2008, you'll most likely have to recompile the 3rd party dependencies with that compiler yourself, as no one has yet contributed a precompiled dependencies package for 2008. I don't use 2008 myself, but that's what I've read from the past threads on the subject. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.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
Re: [osg-users] Unable to find plugin
FYI, in my personal experience, the release VS2005 3rdParty binaries seem to work OK with a release VS2008 OSG build. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Tomlinson Sent: Thursday, June 05, 2008 2:50 PM To: [EMAIL PROTECTED]; 'OpenSceneGraph Users' Subject: Re: [osg-users] Unable to find plugin If your running VS 2008 then you will HAVE to compile all the 3rd party dependencies yourself... At this time nobody is contributing a package like Mike W's package for VS2005/SP1 __ 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 Gordon Tomlinson Sent: 05 June 2008 21:35 To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Unable to find plugin its for Visual Studio 2005/VS8.0 I HIGHLY would recommend that any one running 2005 installs Sp1 for VS2005/VS8.0 I know we will be still on V2005 for at least 2 years __ 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 Peter Wraae Marino Sent: 05 June 2008 21:20 To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Hi, you might be on to something there.. i used the following dep. https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty _win32binaries_vs80sp1/ these version numbers are really confusing from microsoft vs80sp1 is that for 2005 and vs90sp1 is 2008?? or other? Peter On Thu, Jun 5, 2008 at 10:15 PM, Jason Daly [EMAIL PROTECTED] wrote: Peter Wraae Marino wrote: Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. This is only true if you're running Visual Studio 2005 I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 version has indirectly installed service pack 1 when the application got it installed. I don't think Mike has created a 2008 version of the 3rdPary binaries yet, so if you want to use them, you may have to grab the sources and compile them yourself. --J ___ 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
Re: [osg-users] Unable to find plugin
Vincent Bourdier wrote: 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 see it is more than just the ttf plugin - are you building a debug version or a Release version. I have found on the Cygwin compile that with the latest svn the dll's are being built with the postfix of d in the name but in the build of the examples the library open routines is not looking for the postfix of d so when it looks for in my case with a debug version it builds a gifd.dll for a gif file but the library routine is still looking for a gif.dll and thus doesn't find it - I'm assuming you are on windows and I am guessing that it is not Cygwin or MingW but I thought I would mention this. bk ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
Vincent Bourdier wrote: (Re) Hi, From osg 2.2 to 2.4 and 2.5.1, I've a warning on loading data : Could not find plugin to read object from file [...]\arial.ttf How can I solve it ? It depends on what is the problem. Things to check: - Did the ttf plugin compile successfully? If not, check the freetype dependency, I think there were some changes lately - If so, is it installed in a place where OSG can find it (among other working plugins)? Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
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 juste have an error on compilation of osgwrapper_osgDB.dll. Any idea ? Thanks, Vincent 2008/6/4 Paul Melis [EMAIL PROTECTED]: Vincent Bourdier wrote: (Re) Hi, From osg 2.2 to 2.4 and 2.5.1, I've a warning on loading data : Could not find plugin to read object from file [...]\arial.ttf How can I solve it ? It depends on what is the problem. Things to check: - Did the ttf plugin compile successfully? If not, check the freetype dependency, I think there were some changes lately - If so, is it installed in a place where OSG can find it (among other working plugins)? 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
Re: [osg-users] Unable to find plugin
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. I juste have an error on compilation of osgwrapper_osgDB.dll. Any idea ? You don't need to compile the wrappers, and indeed if you don't need them, they take a really long time to compile on Windows, so just disable them in CMake (set BUILD_OSG_WRAPPERS to false). J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
Ok, right it is not in the .dll list... But how to compile it ? I have tried to add freetype in the Cmake2.6 configuration, but when I compile OSG 2.5.1 freetype is not int the list... ? I can get if from 2.2 but I don't think it is the best way... Thanks, Regards, Vincent. 2008/6/4 Jean-Sébastien Guay [EMAIL PROTECTED]: 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. I juste have an error on compilation of osgwrapper_osgDB.dll. Any idea ? You don't need to compile the wrappers, and indeed if you don't need them, they take a really long time to compile on Windows, so just disable them in CMake (set BUILD_OSG_WRAPPERS to false). J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.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
Re: [osg-users] Unable to find plugin
In cmake, supply correct values for all the FREETYPE_ variables. Then regenerate your project files. When you reload the project in Visual Studio (I'm assuming you're using Visual Studio), the freetype plugin will be one of the projects in the list. If this isn't working, go back and make sure you set the FREETYPE_ variables correctly. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Bourdier Sent: Wednesday, June 04, 2008 7:31 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Unable to find plugin Ok, right it is not in the .dll list... But how to compile it ? I have tried to add freetype in the Cmake2.6 configuration, but when I compile OSG 2.5.1 freetype is not int the list... ? I can get if from 2.2 but I don't think it is the best way... Thanks, Regards, Vincent. 2008/6/4 Jean-Sébastien Guay [EMAIL PROTECTED]: 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. I juste have an error on compilation of osgwrapper_osgDB.dll. Any idea ? You don't need to compile the wrappers, and indeed if you don't need them, they take a really long time to compile on Windows, so just disable them in CMake (set BUILD_OSG_WRAPPERS to false). J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.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
Re: [osg-users] Unable to find plugin
Hello Vincent, Ok, right it is not in the .dll list... But how to compile it ? I have tried to add freetype in the Cmake2.6 configuration, but when I compile OSG 2.5.1 freetype is not int the list... ? I can get if from 2.2 but I don't think it is the best way... As has been discussed a lot in the past few months, OSG = 2.3.x requires a new version of the Freetype library, so you need to update your 3rdParty dependencies to Mike's version in the osgtoy SVN. See the dependencies page on the wiki for the link. Then, delete your CMake cache (or your build directory), and re-do the CMake setup. It should detect Freetype correctly and generate the project for the freetype plugin. If you added freetype manually to the CMake config, this could be the problem because one of the freetype libraries is set as an advanced option (either debug or release, can't remember) so if it's not set, you won't see it, and CMake will just not generate a project for the freetype plugin without telling you. When opening the generated solution file, you should have a Plugin freetype project in the project list. If you don't, then something is wrong and you should re-do the steps. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Unable to find plugin
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
Re: [osg-users] Unable to find plugin
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