StupidBeauty
Read times:542Posted at:Mon Jan 7 19:45:10 2013
- no title specified

转载undefined reference to `OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'

OpenImageIO源代码中一处头文件包含顺序的错误导致无法编译成功。 可手动应用此文中提供的补丁以解决问题。

https://github.com/OpenImageIO/oiio/issues/473

亮点

This problem also was reported in Blender community:

http://lists.blender.org/pipermail/bf-committers/2012-November/038164.html
http://blenderartists.org/forum/showthread.php?272473-Troubles-building-Blender-on-32bit-Linux-with-cmake

And Blender's install_deps.sh script uses the following patch to avoid the build failure:

diff --git a/src/libutil/SHA1.cpp b/src/libutil/SHA1.cpp

index b9e6c8b..c761185 100644

--- a/src/libutil/SHA1.cpp

+++ b/src/libutil/SHA1.cpp

@@ -8,9 +8,9 @@

// If compiling with MFC, you might want to add #include "StdAfx.h"

+#include "SHA1.h"

#include "hash.h"

#include "dassert.h"

-#include "SHA1.h"

#ifdef SHA1_UTILITY_FUNCTIONS

#define SHA1_MAX_FILE_BUFFER 8000

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4