TheFoundryVisionmongers / nuke-ML-server

A Nuke client plug-in which connects to a Python server to allow Machine Learning inference in Nuke.
Apache License 2.0
134 stars 36 forks source link

Plugin Not loading under CentOS 7.4 compiled against protobuf 3.5.1 #5

Closed samhodge closed 5 years ago

samhodge commented 5 years ago

Screenshot from 2019-05-25 02-22-53 Sorry about being lazy but a picture says it all

protobuf-3.5.1 was compiled as follows

cd ~/dev/
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protobuf-cpp-3.5.1.tar.gz
tar -zxvf protobuf-cpp-3.5.1.tar.gz
cd protobuf-3.5.1/cmake
mkdir build && cd build
cmake3 .. -DCMAKE_INSTALL_PREFIX=~/opt/protobuf-3.5.1 -DCMAKE_POSITION_INDEPENDENT_CODE=ON
make -j12
make install

Then the Plugin was compiled as follows

cd ~/dev
git clone https://github.com/TheFoundryVisionmongers/nuke-ML-server
cd nuke-ML-server/build/
cmake3 .. -DCMAKE_INSTALL_PREFIX=~/opt/protobuf-3.5.1 -DNUKE_INSTALL_PATH=/usr/local/Nuke11.3v4/
make -j12

Then Nuke was run

export NUKE_PATH=/home/kognat/dev/nuke-ML-server/build/Plugins/Client
/usr/local/Nuke11.3v4/Nuke11.3

See screenshot attached.

samhodge commented 5 years ago

this page helps

https://learn.foundry.com/nuke/developers/63/pythondevguide/installing_plugins.html

ringdk commented 5 years ago

Thanks for this, we'll clarify in the Install instructions!