pmh47 / dirt

DIRT: a fast differentiable renderer for TensorFlow
MIT License
312 stars 63 forks source link

Fix linking libtensorflow_framework under tensorflow 1.14 #32

Closed pmh47 closed 5 years ago

pmh47 commented 5 years ago

libtensorflow_framework.so has become libtensorflow_framework.so.1 as of tensorflow 1.14, hence it is not found by cmake. The best way to fix this is to change tf.sysconfig.get_lib to tf.sysconfig.get_link_flags, which in turn requires bumping our minimum supported tensorflow version to 1.5, when that function was added.