I haven't built OIIO itself with vcpkg. And I understand that in its current 
state, the vcpkg recipe only build the library, not the binaries like oiiotool, 
and not the Python bindings, and doesn't build support for many of the file 
formats because it's pretty conservative about which dependencies it 
pre-installs -- though all of those things are fixable.

But I did recently rework our appveyor.yml 
(https://github.com/OpenImageIO/oiio/blob/master/appveyor.yml) to use vcpkg for 
all the dependencies we need a build time, and it works great!

If we beefed up the vcpkg recipe for OIIO to address the issues I mention above 
(and also make a vcpkg for OCIO), it would definitely be a viable way for 
somebody to build OIIO from scratch on Windows with a minimum of fuss.

        -- lg


> On Dec 6, 2018, at 1:07 AM, Simon Björk <[email protected]> wrote:
> 
> Hi all,
> 
> I know there are several threads about building on Windows, but I thought I'd 
> break this out as a separate thread.
> 
> Has anyone used vcpkg <https://github.com/Microsoft/vcpkg> to build 
> OpenImageIO on Windows? It seems like it would be super easy. However, it 
> fails on the firt library it tries to build (libjpeg).
> 
> As I'm extremely inexperienced in building from source on WIndows, I just 
> wanted to confirm if anyone has used it successfully. Is it even possible 
> with the free version of Visual Studio (Community)?
> 
> Downside with this approach is that it seems that OCIO and Python is not part 
> of the build.
> 
> On a related note, is the custom build scripts 
> <https://github.com/vfxpro99/usd-build-club/wiki/USD-on-Windows> supposed to 
> work with the free version of Visual Studio? I've tried it in the past 
> without success. But it may very well be a user error.
> 
> /Simon
> 
> 
> -------------------------------
> Simon Björk
> Compositor/TD
> 
> +46 (0)70-2859503
> www.bjorkvisuals.com 
> <http://www.bjorkvisuals.com/>_______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to