oiio reader/writer plugin not showing up in Centos 7.1

26 views
Skip to first unread message

Satheesh Ram

unread,
Jul 30, 2015, 1:57:39 PM7/30/15
to tuttleo...@googlegroups.com
Hi,
I am using CentOS 7.1 for my deployment. I installed dependencies for Tuttle OFX, ffmpeg, Boost 1.55. I compiled Tuttle OFX from github latest code (develop branch July 28) and installed the plugins.

But the sam plugins list is not showing 2 of the plugins that I use 
tuttle.oiioreader,
tuttle.oiiowriter
How to debug the issue?

cmake/make logs shows no issues w.r.to OpenImageIO.


here is cmake logs: 

here are make logs: 

Installation logs

Rgds

Satheesh Ram

 

Clément Champetier

unread,
Jul 31, 2015, 4:33:05 AM7/31/15
to tuttleofx-user, sathee...@gmail.com
Hello, 

Can you show use the plugins list returned by sam?
sam do -n

According to you cmake log, OpenImageIO plugin has been built. Maybe at runtime, the plugin does not load the correct OpenImageIO library (or an other dependency...). Can you show us the dependencies of your plugin?
ldd /usr/local/OFX/OpenImageIO-1.0.ofx.bundle/Contents/Linux-x86-64/OpenImageIO-1.0.ofx

Glad to hear you succeed to compile and install the project! Thanks to report this issue.

Regards,

Clement

Clément Champetier

unread,
Jul 31, 2015, 4:51:05 AM7/31/15
to tuttleofx-user, sathee...@gmail.com, c...@mikrosimage.eu
An other option is to add an environment variable to set the host log level, and see loading problems when you try to list all plugins:
TUTTLE_LOG_LEVEL=trace sam do -n --no-plugin-cache

Hope this will help you.

Regards,
Clement

Satheesh Ram

unread,
Jul 31, 2015, 2:23:42 PM7/31/15
to Clément Champetier, tuttleofx-user
Thanks a lot Clement. That debug tips helped.

I found that OpenImageIO plugins trying to link against boost 'mt' for filesystem, regex, system, thread.

there are couple of posts online that talks about boost mt libraires
[1] [2] and if the libraries are missing, the suggested solution was soft link to non-mt named libraires.

So I tried this:
    cd /usr/local/lib
    sudo ln -s libboost_filesystem.so.1.55.0 libboost_filesystem-mt.so.1.53.0
    sudo ln -s libboost_regex.so.1.55.0 libboost_regex-mt.so.1.53.0
    sudo ln -s libboost_system.so.1.55.0  libboost_system-mt.so.1.53.0
    sudo ln -s libboost_thread.so.1.55.0  libboost_thread-mt.so.1.53.0
and then linking worked and the missing plugin started showing up again.

But the hack looks ugly.
Whats the correct way to fix this issue?

Note: I saw UseTuttleBoost.cmake. and there is no mention for filesystem-mt libraries there. I checked cmakelists.txt in OpenImageIO plugin folder, and there is no mention of filesystem-mt there as well. Do you know how that dependency got added?
Reply all
Reply to author
Forward
0 new messages