Dear Daniel
I have tried
"apt-cache search openimageio"
You then enter: "sudo apt-get install [PACKAGENAME(S)]".
I installed all needed packages, but it still causes error during
compilation of code.
How can I test it?

I just simply run this code.
#include <OpenImageIO/imageio.h>
#include <memory>

using namespace OIIO;
int main() {
const char *filename = "foo.jpg";
const int xres = 640, yres = 480;
const int channels = 3; // RGB
unsigned char pixels[xres*yres*channels];
ImageOutput* out = ImageOutput::create (filename);
if (! out)
return -1;
ImageSpec spec (xres, yres, channels, TypeDesc::UINT8);
out->open (filename, spec);
out->write_image (TypeDesc::UINT8, pixels);
out->close ();
}

On Fri, 26 Apr 2019 at 12:45, Hrach Martirosyan <
[email protected]> wrote:

> Hi
> Thank you for your quick response.
> Actually I need built version. Binaries include files and .so files.
>
> If you have already built version and can give me a link I would really
> appreciate it.
>
> Thank you
> Hrach
>
>
> On Fri, 26 Apr 2019 at 12:07, Daniel Flehner Heen <[email protected]>
> wrote:
>
>> Hi!
>>
>> Have you tried: "apt-cache search openimageio" in a terminal?
>> It will list the correct name of the package(s).
>> You then enter: "sudo apt-get install [PACKAGENAME(S)]"
>>
>> On Fri, Apr 26, 2019 at 9:44 AM Hrach Martirosyan <
>> [email protected]> wrote:
>>
>>> Hi
>>>
>>>
>>> I want to find built version of ImageIO tools in linux ubuntu.
>>>
>>> Where can i find it?
>>>
>>> When I click to the link it opens the page where is written page not
>>> found.
>>>
>>>
>>> Thank you
>>>
>>> Best regards.
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected]
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>>
>>
>>
>> --
>> -Daniel
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to