I have only tested vcpkg with Windows, but from what I understand it should work with all OS. With a bit of luck it should be as easy as:
.\vcpkg.exe install openimageio[libraw,opencolorio,ffmpeg,freetype,opencv,gif,openjpeg,python,tools]:x64-windows (or x64-windows-static). The "tools" argument will build the command line tools like oiiotool. /Simon ------------------------------- Simon Björk Compositor/TD +46 (0)70-2859503 www.bjorkvisuals.com Den fre 1 maj 2020 kl 18:39 skrev Jakub Trllo <jakub.tr...@gmail.com>: > Hi OpenImageIO devs, > > I need your help beacuse I would like to use `oiiotool` (and other tools) > but I'm noob with C++ and building. I need portable static builds (with all > dependendent libraries without Qt and Python binding) for windows and > linux(mac would be also nice to have), but I'm not able to achieve that. > > First of all I didn't found any "Easy to Understand" guide how to > compile/build/make library and what that even mean. All I know is what I > understood from answers on stackovrflow, what i've tried an saw during > testing and google. I was probably googling bad keywords. > > I found out that windows has vcpkg which, as I understood, helps to get > most of libraries for building, but I didn't find guide how to make those > libraries from source code without vcpkg (for dependencies that are not > achievable with vcpkg). Also noticed that vcpkg has openimageio library in, > but don't see way how to get executable tools from that. Once, with help of > Cmake, vckpg and Visual studio, I was able to create solution, which didn't > crash during build process and also added dependencies to release build > (except `vcruntime140_1.dll`). There were only basic dependecies so it's > quite poor version without most of image/video formats. > > Linux is very similar to windows with advantage of built-in package > managers. With them it is easy to get "dev" libraries, but I'm not able to > make build containing those libraries, to be able just copy folder on > another linux machine and execute tool without installing any dependency. > > I just need static, portable, copiable folder with tools for each OS. Is > that even possible? > > I look forward to reply, > > Jakub Trllo > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org