Blender and opencv2-core

Herbert J. Skuhra herbert at mailbox.org
Sun Jul 23 19:57:32 UTC 2017


Grzegorz Junka skrev:
> 
> On 23/07/2017 12:42, Grzegorz Junka wrote:
>> I am getting the following error when setting up blender
>> dependencies in poudriere:
>> 
>> ===> Setting user-specified options for blender-2.78c_3 and dependencies
>> blender-2.78c_3:
>> "/usr/local/poudriere/ports/local/graphics/opencv2-core"
>> non-existent -- dependency list incomplete
>> 
>> Has this been removed but not updated in one of dependent ports?
>> 
>> Grzegorz J
>> 
> 
> Sent too early, this is the actual error when trying to compile:
> 
> [00:00:17] ====>> Error: graphics/openimageio depends on nonexistent
> origin 'graphics/opencv2-core'; Please contact maintainer of the port
> to fix this.
> [00:00:33] ====>> Error: Fatal errors encountered calculating dependencies
> 
> This is of course when OpenImageIO setting is enabled in blender.

Have you tried to modify Makefile?

Index: graphics/openimageio/Makefile
===================================================================
--- graphics/openimageio/Makefile	(revision 446433)
+++ graphics/openimageio/Makefile	(working copy)
@@ -69,7 +69,7 @@
 OPENCV_CMAKE_ON=	-DUSE_OPENCV:BOOL=ON
 OPENCV_CMAKE_OFF=	-DUSE_OPENCV:BOOL=OFF
 OPENCV_LIB_DEPENDS=	libopencv_highgui.so:graphics/opencv \
-			libopencv_core.so:graphics/opencv2-core \
+			libopencv_core.so:graphics/opencv-core \
 			libopenjpeg.so:graphics/openjpeg15
 
 OPENJPEG_CMAKE_ON=	-DUSE_OPENJPEG:BOOL=ON

--
Herbert


More information about the freebsd-ports mailing list