(Solved)FreeImage dll fails to load Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
drwbns
Orc Shaman
Posts: 788
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California
x 24

(Solved)FreeImage dll fails to load

Post by drwbns »

Ogre Version: 1.10
Operating System: win10 64
Render System: OpenGL

Hey everyone. I am trying to revive an old project and I am having an issue getting the FreeImage dll to load. All other dlls load just fine in the same directory along with my executable and the dll's name and path are correct. I googled and the only post I could find I read here: ( viewtopic.php?t=23609), which suggests to use dependency walker but I do not see any missing dependencies after running the tool on my exe.

Failing line in OgreDynLib.cpp:

Code: Select all

        mInst = (DYNLIB_HANDLE)DYNLIB_LOAD( name.c_str() );
(returns mInst = 0x00000000)


I also found a very recent thread that suggest to use STBI dll (viewtopic.php?f=2&t=96261) but I am still curious what is causing the freeimage dll to load. Thanks for any help.
Last edited by drwbns on Thu Apr 29, 2021 3:36 pm, edited 1 time in total.
drwbns
Orc Shaman
Posts: 788
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California
x 24

Re: FreeImage dll fails to load

Post by drwbns »

Really dumb but I forgot to include my free image dll in my executable directory.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 155

Re: (Solved)FreeImage dll fails to load

Post by sercero »

Well, I'm glad you solved your problem.
Post Reply