Windows build question #3885
-
I had an amazingly successful attempt at building oiio on my Windows 10 dev VM. Everything worked right through to the final build in Visual Studio. But there's one problem (or several related ones) with oiiotool: when trying to run it errors out about missing libpng, libgif, libjpeg and one other I can't remember. I assume it needs these libraries even though they're not in the build guide. I did include libjpeg-turbo as recommended, but it still complains about missing libjpeg. Any suggestions how to resolve this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
🎣 Mackerel! Anybody with Windows experience want to take a stab at this? |
Beta Was this translation helpful? Give feedback.
-
I've only got experience with building Windows installers cross-compiled using MINGW. Check that the OIIO libraries and dependencies libraries (".dll") are in the same directory as the oiiotool executable. In the OIIO directory (names guessed) I would expect to see something like:
|
Beta Was this translation helpful? Give feedback.
-
If OIIO components can compile/link but there's still an error at runtime then it could be how the dependencies themselves were built. Myself, I've used If you right-click |
Beta Was this translation helpful? Give feedback.
If OIIO components can compile/link but there's still an error at runtime then it could be how the dependencies themselves were built.
Myself, I've used
vcpkg
to build all the dependencies and used ughm, "proper", cmake integration so thatfind_package
just works for the dependencies without setting the FOO_ROOT vars. Perhaps there's still a missing dll or sorts that isn't copied into the bin directory when building for you.If you right-click
oiiotool
-> Debug -> Start New Instance : Does it give a more helpful error by chance?