OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

DESPERATE!! Tried everything to get JPEGS TO LOAD!


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
gregymann
Newbie


Joined: 12 May 2015
Posts: 1

PostPosted: Tue May 12, 2015 5:57 pm    Post subject:
DESPERATE!! Tried everything to get JPEGS TO LOAD!
Reply with quote

Hello all,

I built osg version 3.3.1 for visual studio 2013 on windows 8.1. I've tried every suggestion on this forum to try to get jpegs to load. I have osgdb_jpeg.dll and osgdb_jpegd.dll in the bin folder, paths are set up correctly, rebuilt multiple times just to be sure. I ran dependancy walker on OSGDB_jpeg.dll and got a few errors relating to microsoft system files, but I do not know what they really mean, or how to fix it. Screen caps attached.

...

Thank you!

Cheers,
Gregory
Back to top
View user's profile Send private message
Jan Ciger
Guest





PostPosted: Sat May 16, 2015 11:54 am    Post subject:
DESPERATE!! Tried everything to get JPEGS TO LOAD!
Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/12/2015 07:58 PM, Gregory Basile wrote:
Quote:
Hello all,

I built osg version 3.3.1 for visual studio 2013 on windows 8.1.
I've tried every suggestion on this forum to try to get jpegs to
load. I have osgdb_jpeg.dll and osgdb_jpegd.dll in the bin folder,
paths are set up correctly, rebuilt multiple times just to be sure.
I ran dependancy walker on OSGDB_jpeg.dll and got a few errors
relating to microsoft system files, but I do not know what they
really mean, or how to fix it. Screen caps attached.

...

There is little we can tell you from that screenshot, because it lacks
information. The error you are getting usually stems either from the
fact that OSG is unable to find the required plugin to load the data
file at runtime or that the plugin didn't load correctly (bad DLL,
bad/missing dependency of that plugin DLL, etc.)

Generally, Dependency walker complaining about dependencies of
Microsoft's DLLs (OpenGL32.dll in this case) is a red herring - those
messages you can ignore.

However, one message stands out in that Dependency walker - "Modules
with different CPU types found".

That means that you are mixing 32bit and 64bit DLLs in one program.
That is not allowed and will not work. Unfortunately Windows is
severely retarded in this regard and will happily load a 32bit DLL
into a 64bit program, only to crash later. E.g. Linux will complain
right away that it didn't find the correct DLL/shared library even if
the one for the wrong architecture is available.

Did you use 32bit dependencies (libjpeg) to with a 64bit version of OSG?

Regards,

J.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFVVy+Ln11XseNj94gRAthTAJoCbKqTmWMNIDwNH85IGXjy9TFiowCgy2/z
GnH/f/95ZY8WJfLxF8Lpmmw=
=eOzU
-----END PGP SIGNATURE-----


------------------
Post generated by Mail2Forum
Back to top
tomhog
Appreciator


Joined: 30 Apr 2009
Posts: 180

PostPosted: Sat May 16, 2015 10:44 pm    Post subject:
Reply with quote

Hi Gregory

First try whacking you notify level to debug_fp

osg::setNotifyLevel(osg::DEBUG_FP);

That will show you where osg is looking for the plugin.

Also unless you changed where osg is looking for plugins you have them in the wrong place. Osg on windows will usually have a osgPlugins-xxx folder in the bin folder with all the plugins in it, that's where it looks for them.
Back to top
View user's profile Send private message
Voerman, L.
Guest





PostPosted: Mon May 18, 2015 7:30 am    Post subject:
DESPERATE!! Tried everything to get JPEGS TO LOAD!
Reply with quote

Hi Gregory,

the command you show in the screenshot is at least missing the JPG extention, (in my copy of OpenSceneGraph-Data the extention is in caps).
The message you get is not related to jpg or jpg loader - just no file found called clockface.




osgviewer --image E:osgOpenSceneGraph-DataImagesclockface.JPG
Regards, Laurens.


On Sun, May 17, 2015 at 12:44 AM, Thomas Hogarth < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi Gregory

First try whacking you notify level to debug_fp

osg::setNotifyLevel(osg::DEBUG_FP);

That will show you where osg is looking for the plugin.

Also unless you changed where osg is looking for plugins you have them in the wrong place. Osg on windows will usually have a osgPlugins-xxx folder in the bin folder with all the plugins in it, that's where it looks for them.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63749#63749





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts regard: &nbsp; how&nbsp; to&a... 韩志平 General 0 Mon Feb 13, 2017 6:57 am View latest post
No new posts how to load 3rdparty-x86-vs-2010.zip 韩志平 General 0 Mon Feb 13, 2017 5:52 am View latest post
No new posts Techniques to shift CPU load to GPU abigail_11 General 3 Thu Apr 28, 2016 6:38 am View latest post
No new posts How to load an osg::Image into a qtwi... Andrea74 General 1 Wed Oct 14, 2015 3:01 pm View latest post
No new posts Unable to load earth file hemaoptima General [3rdparty] 1 Fri Oct 09, 2015 11:52 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP