質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.46%
ビルド

ソースコードを単体で実行可能なソフトウェアへ変換する過程をビルド(build)と呼びます

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Blender

Blenderとは、オープンソースの3DCGソフトウェアです。フリーでありながら、3Dモデル作成、レンダリング、アニメーション、コンポジットなどのハイエンドに匹敵する高い機能を持ち、さらにゲームエンジンも搭載しています。

Q&A

1回答

896閲覧

makeコマンドでエラー

kkm1617

総合スコア1

ビルド

ソースコードを単体で実行可能なソフトウェアへ変換する過程をビルド(build)と呼びます

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Blender

Blenderとは、オープンソースの3DCGソフトウェアです。フリーでありながら、3Dモデル作成、レンダリング、アニメーション、コンポジットなどのハイエンドに匹敵する高い機能を持ち、さらにゲームエンジンも搭載しています。

0グッド

0クリップ

投稿2020/08/18 09:29

こちらのサイト様を参考にして、ブレンダーをpythonモジュール(make bpy)としてビルドできるようにしたいのですが
http://mtkazblog.blogspot.com/2016/10/macblenderpython.html

makeコマンドを実行すると以下のようなエラーが発生するのですが何が原因なのでしょうか。
よろしければ教えていただければと思います。
よろしくお願いいたします。

[ 85%] Building CXX object source/blender/io/usd/CMakeFiles/bf_usd.dir/intern/usd_capi.cc.o In file included from /Users/名前/Documents/BlenderBuild/blender-2.83.4/source/blender/io/usd/intern/usd_capi.cc:24: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/usd/stage.h:32: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/usd/editTarget.h:31: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/node.h:29: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/types.h:29: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/site.h:31: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/sdf/types.h:65: /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:64:49: error: too few template arguments for class template 'less' typedef std::map<std::string, VtValue, std::less<>> _Map; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__functional_base:51:29: note: template is declared here struct _LIBCPP_TEMPLATE_VIS less : binary_function<_Tp, _Tp, bool> ^ In file included from /Users/名前/Documents/BlenderBuild/blender-2.83.4/source/blender/io/usd/intern/usd_capi.cc:24: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/usd/stage.h:32: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/usd/editTarget.h:31: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/node.h:29: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/types.h:29: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/pcp/site.h:31: In file included from /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/usd/sdf/types.h:65: /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:151:13: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef _Map::key_type key_type; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:152:13: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef _Map::mapped_type mapped_type; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:153:13: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef _Map::value_type value_type; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:154:13: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef _Map::allocator_type allocator_type; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:155:13: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef _Map::size_type size_type; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:157:29: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef Iterator<_Map*, _Map::iterator> iterator; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:158:35: error: 'usdBlender__pxrReserved__::VtDictionary::_Map' (aka 'int') is not a class, namespace, or enumeration typedef Iterator<_Map const*, _Map::const_iterator> const_iterator; ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:285:21: error: member reference base type 'int' is not a structure or union _dictMap->insert(f, l); ~~~~~~~~^ ~~~~~~ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:384:15: error: member reference type 'VtDictionary::const_iterator' (aka 'int') is not a pointer return i->second.IsHolding<T>(); ~ ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:384:32: error: 'T' does not refer to a value return i->second.IsHolding<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:374:20: note: declared here template <typename T> ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:384:35: error: expected expression return i->second.IsHolding<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:398:15: error: member reference type 'VtDictionary::const_iterator' (aka 'int') is not a pointer return i->second.IsHolding<T>(); ~ ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:398:32: error: 'T' does not refer to a value return i->second.IsHolding<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:388:20: note: declared here template <typename T> ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:398:35: error: expected expression return i->second.IsHolding<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:423:15: error: member reference type 'VtDictionary::const_iterator' (aka 'int') is not a pointer return i->second.Get<T>(); ~ ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:423:26: error: 'T' does not refer to a value return i->second.Get<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:412:20: note: declared here template <typename T> ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:423:29: error: expected expression return i->second.Get<T>(); ^ /Users/名前/Documents/BlenderBuild/lib/darwin/usd/include/pxr/base/vt/dictionary.h:438:15: error: member reference type 'VtDictionary::const_iterator' (aka 'int') is not a pointer return i->second.Get<T>(); ~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [source/blender/io/usd/CMakeFiles/bf_usd.dir/intern/usd_capi.cc.o] Error 1 make[1]: *** [source/blender/io/usd/CMakeFiles/bf_usd.dir/all] Error 2 make: *** [all] Error 2

Mac
python3.7.5
Xcode Version 10.0
blender 2.83.4

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

記事が4年前と古いので当時の環境と事情が異なると思います。英語になりますがBlenderの公式ページにある手順を試すのが良いです。

[追記]
こちらで試してbpy.soを作成できたシェルスクリプトを示します。下記の内容をbuild_bpy.shと言うファイル名で作成してターミナルからbash build_bpy.shと実行すれば$HOME/blender-git/build_bpy/bin以下にbpy.soが作成されます(コメント欄の結果よりWITH_CYCLES=OFFを追記)。

bash

1#!/bin/sh 2 3BUILD_DIR="$HOME/blender-git/build_bpy" 4 5mkdir $BUILD_DIR 6cd $BUILD_DIR 7 8cmake ../blender \ 9 -DWITH_PYTHON_MODULE=ON \ 10 -DWITH_INSTALL_PORTABLE=OFF \ 11 -DWITH_PYTHON_INSTALL=OFF \ 12 -DWITH_AUDASPACE=OFF \ 13 -DWITH_OPENMP=OFF \ 14 -DWITH_CYCLES_EMBREE=OFF \ 15 -DWITH_CYCLES=OFF 16 17make -j4

投稿2020/08/19 00:29

編集2020/08/21 03:51
yymmt

総合スコア1615

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

kkm1617

2020/08/19 01:15

公式ページを参考にし、Xcodeの実行ボタンからBlenderを起動することできたのですが、自作のpythonを実行すると環境構築前と同様のエラーが発生します。 raceback (most recent call last): File "Test.py", line 3, in <module> import bpy ImportError: No module named 'bpy' 実行するディレクトリが悪いのでしょうか。
kkm1617

2020/08/19 03:57

上記手順試してみます。
kkm1617

2020/08/19 07:14

公式ページの手順で改めてmakeコマンドを実行したらエラーが発生してしまうようになってしまいました。 以前は問題なく実行できたのですが、何が原因でしょうか。 ``` 98%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_network.cpp.o In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:142:18: error: unknown type name 'DeviceTask' void add(const DeviceTask &task) ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:18: error: no member named 'interpolation' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:37: error: no member named 'extension' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; 省略 ^ make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_multi.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 14 errors generated. make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_network.cpp.o] Error 1 make[2]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 ```
yymmt

2020/08/19 14:47

エラー発生の原因となっているモジュールをOFFにしてみるのはどうでしょうか? make bpyのあと ccmake ../blender_darwin_bpy としてWITH_CYCLES_DEVICE_OPENCLをOFFにして再コンパイルはどうでしょうか。 私の方でも試して見ましたが、アプリケーションのmakeには成功しますがbpyモジュールのmakeには失敗しています。
kkm1617

2020/08/20 02:00

make bpyの時点でエラーが発生してしまいました。 [ 98%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/cuda/device_cuda_impl.cpp.o 5 errors generated. make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_multi.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:142:18: error: unknown type name 'DeviceTask' void add(const DeviceTask &task) 省略 そのままccmake ../blender_darwin_bpyをするとエラーが発生してしまいます。 CMake Error: The source directory "/Users/名前/blender-git/blender_darwin_bpy" does not exist. Specify --help for usage, or press the help button on the CMake GUI.
yymmt

2020/08/20 03:29

おそらくmake bpyをしていないために該当するディレクトリが作られていないのだと思います。それとは別にこちらではbpy.soの作成はできましたので、回答欄に作成に成功したシェルスクリプトを追記しますので参考にしてください。
kkm1617

2020/08/20 03:38

ありがとうございます。 make bpyが成功したら上記シェルを試してみます。 make bpyが失敗してしまうのは何故でしょうか。 何から何まで申し訳ございません。
yymmt

2020/08/20 03:45 編集

私と全く同じ状況かは分かりませんが、私の場合は -stack_size option can only be used when linking a main executable というエラーが発生していました。blender-git/blender/build_files/cmake/platform/platform_apple.cmakeを確認して、WITH_CYCLES_EMBREEが有効になっているとリンカーのオプションに-Xlinker -stack_size -Xlinker 0x100000が付与されるため、このオプションを無効にすることで対処しています。
kkm1617

2020/08/20 03:56

上記エラーとは別のエラーが発生しておりました。 In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_multi.cpp:22: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:18: error: no member named 'interpolation' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:37: error: no member named 'extension' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:275:19: error: no member named 'interpolation' in 'ccl::network_device_memory' *archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:275:38: error: no member named 'extension' in 'ccl::network_device_memory' *archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/device_multi.cpp:131:27: error: no matching conversion for functional-style cast from 'ccl::Device *' to 'ccl::MultiDevice::SubDevice' devices.push_back(SubDevice(device)); ^~~~~~~~~~~~~~~~ /Users/名前/blender-git/blender/intern/cycles/device/device_multi.cpp:36:10: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ccl::Device *' to 'const ccl::MultiDevice::SubDevice' for 1st argument struct SubDevice { ^ /Users/名前/blender-git/blender/intern/cycles/device/device_multi.cpp:36:10: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ccl::Device *' to 'ccl::MultiDevice::SubDevice' for 1st argument struct SubDevice { ^ /Users/名前/blender-git/blender/intern/cycles/device/device_multi.cpp:36:10: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:142:18: error: unknown type name 'DeviceTask' void add(const DeviceTask &task) ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:18: error: no member named 'interpolation' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:133:37: error: no member named 'extension' in 'ccl::device_memory' archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:305:13: error: unknown type name 'DeviceTask' void read(DeviceTask &task) ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:275:19: error: no member named 'interpolation' in 'ccl::network_device_memory' *archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:275:38: error: no member named 'extension' in 'ccl::network_device_memory' *archive &mem.interpolation &mem.extension; ~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:316:18: error: use of undeclared identifier 'DeviceTask' task.type = (DeviceTask::Type)type; ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:187:32: error: no member named 'max_closure' in 'ccl::DeviceRequestedFeatures' snd.add(requested_features.max_closure); ~~~~~~~~~~~~~~~~~~ ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:235:13: error: no matching function for call to object of type 'function<bool (ccl::Device *, ccl::RenderTile &, ccl::uint)>' (aka 'function<bool (ccl::Device *, ccl::RenderTile &, unsigned int)>') if (the_task.acquire_tile(this, tile)) { /* write return as bool */ ^~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:1677:9: note: candidate function not viable: requires 3 arguments, but 2 were provided _Rp operator()(_ArgTypes...) const; ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:510:26: error: assigning to 'void *' from incompatible type 'ccl::device_ptr' (aka 'unsigned long long') mem.host_pointer = (device_ptr) & (data_v[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:541:37: error: expected expression mem.host_pointer = (void *) ? (device_ptr) & (data_v[0]) : 0; ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:581:35: error: no member named 'max_closure' in 'ccl::DeviceRequestedFeatures' rcv.read(requested_features.max_closure); ~~~~~~~~~~~~~~~~~~ ^ 5 errors generated. make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_multi.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: In file included from /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:22: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/basic_binary_iprimitive.hpp:53: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/array_wrapper.hpp:19: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/nvp.hpp:26: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/split_member.hpp:23: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/access.hpp:116:11: error: no member named 'serialize' in 'ccl::DeviceTask' t.serialize(ar, file_version); ~ ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:68:13: note: in instantiation of function template specialization 'boost::serialization::access::serialize<boost::archive::binary_oarchive, ccl::DeviceTask>' requested here access::serialize(ar, t, static_cast<unsigned int>(file_version)); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:126:5: note: in instantiation of function template specialization 'boost::serialization::serialize<boost::archive::binary_oarchive, ccl::DeviceTask>' requested here serialize(ar, t, v); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/oserializer.hpp:153:27: note: in instantiation of function template specialization 'boost::serialization::serialize_adl<boost::archive::binary_oarchive, ccl::DeviceTask>' requested here boost::serialization::serialize_adl( ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::oserializer<boost::archive::binary_oarchive, ccl::DeviceTask>::save_object_data' requested here singleton_wrapper(){ ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:171:47: note: in instantiation of member function 'boost::serialization::detail::singleton_wrapper<boost::archive::detail::oserializer<boost::archive::binary_oarchive, ccl::DeviceTask> >::singleton_wrapper' requested here static detail::singleton_wrapper< T > t; ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:196:16: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return get_instance();
kkm1617

2020/08/20 03:56

/Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_oarchive_impl.hpp:59:47: note: in instantiation of function template specialization 'boost::archive::basic_binary_oarchive<boost::archive::binary_oarchive>::save_override<ccl::DeviceTask>' requested here this->basic_binary_oarchive<Archive>::save_override(t); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_oarchive.hpp:70:23: note: in instantiation of function template specialization 'boost::archive::binary_oarchive_impl<boost::archive::binary_oarchive, char, std::__1::char_traits<char> >::save_override<const ccl::DeviceTask>' requested here this->This()->save_override(t); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_oarchive.hpp:77:32: note: in instantiation of function template specialization 'boost::archive::detail::interface_oarchive<boost::archive::binary_oarchive>::operator<<<ccl::DeviceTask>' requested here return * this ->This() << t; ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:139:13: note: in instantiation of function template specialization 'boost::archive::detail::interface_oarchive<boost::archive::binary_oarchive>::operator&<ccl::DeviceTask>' requested here archive &data; ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:206:9: note: in instantiation of function template specialization 'ccl::RPCSend::add<ccl::DeviceTask>' requested here snd.add(task); ^ In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: In file included from /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:22: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/basic_binary_iprimitive.hpp:53: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/array_wrapper.hpp:19: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/nvp.hpp:26: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/split_member.hpp:23: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/access.hpp:116:11: error: no member named 'serialize' in 'ccl::DeviceTask' t.serialize(ar, file_version); ~ ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:68:13: note: in instantiation of function template specialization 'boost::serialization::access::serialize<boost::archive::binary_iarchive, ccl::DeviceTask>' requested here access::serialize(ar, t, static_cast<unsigned int>(file_version)); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:126:5: note: in instantiation of function template specialization 'boost::serialization::serialize<boost::archive::binary_iarchive, ccl::DeviceTask>' requested here serialize(ar, t, v); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/iserializer.hpp:187:27: note: in instantiation of function template specialization 'boost::serialization::serialize_adl<boost::archive::binary_iarchive, ccl::DeviceTask>' requested here boost::serialization::serialize_adl( ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::iserializer<boost::archive::binary_iarchive, ccl::DeviceTask>::load_object_data' requested here singleton_wrapper(){ ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:171:47: note: in instantiation of member function 'boost::serialization::detail::singleton_wrapper<boost::archive::detail::iserializer<boost::archive::binary_iarchive, ccl::DeviceTask> >::singleton_wrapper' requested here static detail::singleton_wrapper< T > t; ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:196:16: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return get_instance(); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:58:47: note: in instantiation of function template specialization 'boost::archive::basic_binary_iarchive<boost::archive::binary_iarchive>::load_override<ccl::DeviceTask>' requested here this->basic_binary_iarchive<Archive>::load_override(t); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:68:23: note: in instantiation of function template specialization 'boost::archive::binary_iarchive_impl<boost::archive::binary_iarchive, char, std::__1::char_traits<char> >::load_override<ccl::DeviceTask>' requested here this->This()->load_override(t); ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:75:32: note: in instantiation of function template specialization 'boost::archive::detail::interface_iarchive<boost::archive::binary_iarchive>::operator>><ccl::DeviceTask>' requested here return *(this->This()) >> t; ^ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:289:14: note: in instantiation of function template specialization 'boost::archive::detail::interface_iarchive<boost::archive::binary_iarchive>::operator&<ccl::DeviceTask>' requested here *archive &data; ^ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:595:11: note: in instantiation of function template specialization 'ccl::RPCReceive::read<ccl::DeviceTask>' requested here rcv.read(task); ^ 14 errors generated. make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_network.cpp.o] Error 1 make[2]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 MB-882:blender 名前$ MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_oarchive.hpp:77:32: note: in instantiation of function template specialization -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_oarchive.hpp:77:32:: No such file or directory MB-882:blender 名前$ 'boost::archive::detail::interface_oarchive<boost::archive::binary_oarchive>::operator<<<ccl::DeviceTask>' requested here -bash: boost::archive::detail::interface_oarchive<boost::archive::binary_oarchive>::operator<<<ccl::DeviceTask>: command not found MB-882:blender 名前$ return * this ->This() << t; -bash: syntax error near unexpected token `(' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:139:13: note: in instantiation of function template specialization 'boost::archive::detail::interface_oarchive<boost::archive::binary_oarchive>::operator&<ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:139:13:: No such file or directory MB-882:blender 名前$ archive &data; [1] 37745 -bash: archive: command not found -bash: data: command not found [1]+ Exit 127 archive MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:206:9: note: in instantiation of function template specialization 'ccl::RPCSend::add<ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:206:9:: No such file or directory MB-882:blender 名前$ snd.add(task); -bash: syntax error near unexpected token `task' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ In file included from /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:17: -bash: In: command not found In file included from /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:22: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:20: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/basic_binary_iprimitive.hpp:53: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/array_wrapper.hpp:19: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/nvp.hpp:26: In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/split_member.hpp:23:
kkm1617

2020/08/20 03:57

MB-882:blender 名前$ In file included from /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/split_member.hpp:23: -bash: In: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boos/Users/de/boost/serialization/access.hpp:116:11: error: no member named 'serialize' in 'ccl::DeviceTask' -bash: /Users/名前/blender-git/blender/../lib/darwin/boos/Users/de/boost/serialization/access.hpp:116:11:: No such file or directory MB-882:blender 名前$ t.serialize(ar, file_version); -bash: syntax error near unexpected token `ar,' MB-882:blender 名前$ ~ ^ -bash: /Users/名前: is a directory MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:68:13: note: in instantiation of function template specialization 'boost::serialization::access::serialize<boost::archive::binary_iarchive, ccl::DeviceTask>' requested -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:68:13:: No such file or directory MB-882:blender 名前$ here -bash: here: command not found MB-882:blender 名前$ access::serialize(ar, t, static_cast<unsigned int>(file_version)); -bash: syntax error near unexpected token `ar,' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:126:5: note: in instantiation of function template specialization 'boost::serialization::serialize<boost::archive::binary_iarchive, ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/serialization.hpp:126:5:: No such file or directory MB-882:blender 名前$ serialize(ar, t, v); -bash: syntax error near unexpected token `ar,' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/iserializer.hpp:187:27: note: in instantiation of function template specialization 'boost::serialization::serialize_adl<boost::archive::binary_iarchive, ccl::DeviceTask>' requested here boost::serialization::serialize_adl( ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::iserializer<boost::archive::binary_iarchive, ccl::DeviceTask>::load_object_data' requested here singleton_wrapper(){ ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:171:47: note: in instantiation of member function 'boost::serialization::detail::singleton_wrapper<boost::archive::detail::iserializer<boost::archive::binary_iarchive, ccl::DeviceTask> >::singleton_wrapper' requested here static detail::singleton_wrapper< T > t; ^ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:196:16: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) return get_instance-bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/iserializer.hpp:187:27:: No such file or directory MB-882:blender 名前$ boost::serialization::serialize_adl( -bash: syntax error near unexpected token `newline' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:147:5: note: in instantiation of member function 'boost::archive::detail::iserializer<boost::archive::binary_iarchive, ccl::DeviceTask>::load_object_data' requested here -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:147:5:: No such file or directory MB-882:blender 名前$ singleton_wrapper(){ > ^ > /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:171:47: note: in instantiation of member function 'boost::serialization::detail::singleton_wrapper<boost::archive::detail::iserializer<boost::archive::binary_iarchive, > ccl::DeviceTask> >::singleton_wrapper' requested here > static detail::singleton_wrapper< T > t; > ^ > /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/serialization/singleton.hpp:196:16: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) -bash: syntax error near unexpected token `(' MB-882:blender 名前$ return get_instance(); -bash: syntax error near unexpected token `(' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:58:47: note: in instantiation of function template specialization -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/binary_iarchive_impl.hpp:58:47:: No such file or directory MB-882:blender 名前$ 'boost::archive::basic_binary_iarchive<boost::archive::binary_iarchive>::load_override<ccl::DeviceTask>' requested here -bash: boost::archive::basic_binary_iarchive<boost::archive::binary_iarchive>::load_override<ccl::DeviceTask>: command not found MB-882:blender 名前$ this->basic_binary_iarchive<Archive>::load_override(t); -bash: syntax error near unexpected token `(' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:68:23: note: in instantiation of function template specialization 'boost::archive::binary_iarchive_impl<boost::archive::binary_iarchive, char, > std::__1::char_traits<char> >::load_override<ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:68:23:: No such file or directory MB-882:blender 名前$ this->This()->load_override(t); -bash: syntax error near unexpected token `(' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:75:32: note: in instantiation of function template specialization -bash: /Users/名前/blender-git/blender/../lib/darwin/boost/include/boost/archive/detail/interface_iarchive.hpp:75:32:: No such file or directory MB-882:blender 名前$ 'boost::archive::detail::interface_iarchive<boost::archive::binary_iarchive>::operator>><ccl::DeviceTask>' requested here -bash: boost::archive::detail::interface_iarchive<boost::archive::binary_iarchive>::operator>><ccl::DeviceTask>: command not found MB-882:blender 名前$ return *(this->This()) >> t; -bash: syntax error near unexpected token `(' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:289:14: note: in instantiation of function template specialization 'boost::archive::detail::interface_iarchive<boost::archive::binary_iarchive>::operator&<ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/intern/cycles/device/../device/device_network.h:289:14:: No such file or directory MB-882:blender 名前$ *archive &data; [1] 37778 -bash: *archive: command not found -bash: data: command not found [1]+ Exit 127 *archive MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:595:11: note: in instantiation of function template specialization 'ccl::RPCReceive::read<ccl::DeviceTask>' requested here -bash: /Users/名前/blender-git/blender/intern/cycles/device/device_network.cpp:595:11:: No such file or directory MB-882:blender 名前$ rcv.read(task); -bash: syntax error near unexpected token `task' MB-882:blender 名前$ ^ -bash: ^: command not found MB-882:blender 名前$ 14 errors generated. -bash: 14: command not found MB-882:blender 名前$ make[3]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/device_network.cpp.o] Error 1 -bash: make[3]:: command not found MB-882:blender 名前$ make[2]: *** [intern/cycles/device/CMakeFiles/cycles_device.dir/all] Error 2 -bash: make[2]:: command not found MB-882:blender 名前$ make[1]: *** [all] Error 2 -bash: make[1]:: command not found MB-882:blender 名前$ make: *** [all] Error 2
yymmt

2020/08/20 04:18

エラーをみる限り、WITH_BOOST=OFFにして様子見でしょうか。ccmakeで設定するか、上のシェルスクリプトに -DWITH_BOOST=OFF \ を追加してコンパイルして見てください。
kkm1617

2020/08/20 06:51

上のシェルスクリプトに-DWITH_BOOST=OFF \を追加して試したところ 100%時点でエラーが発生しました。 bpy.soは作成されておりませんでした。 [100%] Linking CXX shared module ../../bin/bpy.so ld: warning: directory not found for option '-L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m' Undefined symbols for architecture x86_64: "boost::filesystem::path::replace_extension(boost::filesystem::path const&)", referenced from: OpenImageIO_v2_1::Filesystem::replace_extension(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::operator/=(boost::filesystem::path const&)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::remove_all(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::unique_path(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::current_path(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::current_path() in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::dir_itr_close(void*&, void*&)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) boost::filesystem::directory_iterator::~directory_iterator() in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o) boost::intrusive_ptr<boost::filesystem::detail::dir_itr_imp>::~intrusive_ptr() in libOpenImageIO.a(filesystem.cpp.o) boost::filesystem::recursive_directory_iterator::recursive_directory_iterator(boost::filesystem::path const&, boost::system::error_code&) in libOpenImageIO.a(filesystem.cpp.o) std::__1::__split_buffer<boost::filesystem::directory_iterator, std::__1::allocator<boost::filesystem::directory_iterator>&>::~__split_buffer() in libOpenImageIO.a(filesystem.cpp.o) ... "boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::last_write_time(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::last_write_time(OpenImageIO_v2_1::string_view, long) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::create_directory(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::recur_dir_itr_imp::increment(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::temp_directory_path(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::temp_directory_path() in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::system::error_code&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::copy(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::copy(OpenImageIO_v2_1::string_view, OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::remove(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::rename(OpenImageIO_v2_1::string_view, OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::is_directory(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::is_regular(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::exists(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o)
kkm1617

2020/08/20 06:52

"boost::filesystem::detail::file_size(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::file_size(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::detail::get_tss_data(void const*)", referenced from: OpenImageIO_v2_1::pvt::seterror(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::geterror() in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::oiio_tiff_last_error() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::my_error_handler(char const*, char const*, __va_list_tag*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::seek_subimage(int, int) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::read_native_scanline(int, int, int, int, void*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::read_native_scanlines(int, int, int, int, int, void*) in libOpenImageIO.a(tiffinput.cpp.o) ... "boost::detail::set_tss_data(void const*, void (*)(void (*)(void*), void*), void (*)(void*), void*, bool)", referenced from: boost::thread_specific_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~thread_specific_ptr() in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::pvt::seterror(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::geterror() in libOpenImageIO.a(imageio.cpp.o) boost::thread_specific_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~thread_specific_ptr() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::oiio_tiff_last_error() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::my_error_handler(char const*, char const*, __va_list_tag*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::seek_subimage(int, int) in libOpenImageIO.a(tiffinput.cpp.o) ... "boost::thread::physical_concurrency()", referenced from: OpenImageIO_v2_1::Sysutil::physical_concurrency() in libOpenImageIO.a(sysutil.cpp.o) "boost::filesystem::path::parent_path() const", referenced from: OpenImageIO_v2_1::Filesystem::parent_path(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::root_directory() const", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::filename() const", referenced from: OpenImageIO_v2_1::Filesystem::filename(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::extension() const", referenced from: OpenImageIO_v2_1::Filesystem::extension(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) in libOpenImageIO.a(filesystem.cpp.o) "___kmpc_dispatch_init_8", referenced from: _.omp_outlined. in libbf_intern_eigen.a(linear_solver.cc.o) "___kmpc_dispatch_next_8", referenced from: _.omp_outlined. in libbf_intern_eigen.a(linear_solver.cc.o) "___kmpc_end_serialized_parallel", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _SIM_mass_spring_solve_velocities in libbf_simulation.a(implicit_blender.c.o) "___kmpc_for_static_fini", referenced from: _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..3 in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined. in libbf_simulation.a(implicit_blender.c.o) "___kmpc_for_static_init_4", referenced from: _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o)
kkm1617

2020/08/20 06:52

_.omp_outlined..3 in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined. in libbf_simulation.a(implicit_blender.c.o) "___kmpc_fork_call", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o) _SIM_mass_spring_solve_velocities in libbf_simulation.a(implicit_blender.c.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o) ... "___kmpc_global_thread_num", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined. in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..1 in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _.omp_outlined..2 in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) ... "___kmpc_push_num_threads", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) Eigen::internal::sparse_time_dense_product_impl<Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double, 1, true>::run(Eigen::Transpose<Eigen::SparseMatrix<double, 0, int> > const&, Eigen::Matrix<double, -1, 1, 0, -1, 1> const&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double const&) in libbf_intern_eigen.a(linear_solver.cc.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WDLSSolver.cpp.o) void Eigen::internal::parallelize_gemm<true, Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >, long>(Eigen::internal::gemm_functor<double, long, Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> > const&, long, long, long, bool) in libbf_intern_itasc.a(WSDLSSolver.cpp.o) ... "___kmpc_serialized_parallel", referenced from: void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::ApplyIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<unsigned char>(unsigned char const*, int, int, int, unsigned char*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Apply<float>(float const*, int, int, int, float*) in libbf_intern_libmv.a(camera_intrinsics.cc.o) void libmv::internal::LookupWarpGrid::Update<libmv::(anonymous namespace)::InvertIntrinsicsFunction>(libmv::CameraIntrinsics const&, int, int, double) in libbf_intern_libmv.a(camera_intrinsics.cc.o) _SIM_mass_spring_solve_velocities in libbf_simulation.a(implicit_blender.c.o)
kkm1617

2020/08/20 06:53

"_omp_get_thread_num", referenced from: _.omp_outlined. in libbf_intern_itasc.a(WDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WDLSSolver.cpp.o) _.omp_outlined. in libbf_intern_itasc.a(WSDLSSolver.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(WSDLSSolver.cpp.o) _.omp_outlined. in libbf_intern_itasc.a(Scene.cpp.o) Eigen::internal::general_matrix_matrix_product<long, double, 0, false, double, 0, false, 0>::run(long, long, long, double const*, long, double const*, long, double*, long, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<long>*) in libbf_intern_itasc.a(Scene.cpp.o) _.omp_outlined. in libbf_intern_libmv.a(distortion_models.cc.o) ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/bpy.so] Error 1 make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2 make: *** [all] Error 2
yymmt

2020/08/20 11:02

WITH_BOOST=OFFを追加すると色々な機能が使えなくなるようなので、エラーが発生するごとに関連するオプションを追記してコンパイルと言う感じでしょうか。WITH_BOOST=OFFの代わりに WITH_CYCLES=OFF とするとどうでしょうか?
kkm1617

2020/08/20 14:00

試したところ以下のエラーが発生しました。 ld: warning: directory not found for option '-L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m' ld: -stack_size option can only be used when linking a main executable clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/bpy.so] Error 1 make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2 make: *** [all] Error 2
yymmt

2020/08/20 15:19 編集

-DWITH_CYCLES_EMBREE=OFFが正しく設定されていればそのエラーは解消されると思います。
kkm1617

2020/08/20 23:30

#!/bin/sh BUILD_DIR="$HOME/blender-git/build_bpy" mkdir $BUILD_DIR cd $BUILD_DIR cmake ../blender \ -DWITH_PYTHON_MODULE=ON \ -DWITH_INSTALL_PORTABLE=OFF \ -DWITH_PYTHON_INSTALL=OFF \ -DWITH_AUDASPACE=OFF \ -DWITH_OPENMP=OFF \ -DWITH_CYCLES_EMBREE=OFF \ -WITH_CYCLES=OFF make -j4
kkm1617

2020/08/20 23:30

上記シェルスクリプトを実行しましたがエラーが発生してしまいます。
yymmt

2020/08/20 23:33

最後の行にDが抜けていますがそこは大丈夫でしょうか?こちらでも試してみます。
kkm1617

2020/08/20 23:38

[100%] Linking CXX shared module ../../bin/bpy.so ld: warning: directory not found for option '-L/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m' Undefined symbols for architecture x86_64: "boost::filesystem::path::replace_extension(boost::filesystem::path const&)", referenced from: OpenImageIO_v2_1::Filesystem::replace_extension(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::operator/=(boost::filesystem::path const&)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::remove_all(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::unique_path(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::unique_path(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::current_path(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::current_path() in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::dir_itr_close(void*&, void*&)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) boost::filesystem::directory_iterator::~directory_iterator() in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o) boost::intrusive_ptr<boost::filesystem::detail::dir_itr_imp>::~intrusive_ptr() in libOpenImageIO.a(filesystem.cpp.o) boost::filesystem::recursive_directory_iterator::recursive_directory_iterator(boost::filesystem::path const&, boost::system::error_code&) in libOpenImageIO.a(filesystem.cpp.o) std::__1::__split_buffer<boost::filesystem::directory_iterator, std::__1::allocator<boost::filesystem::directory_iterator>&>::~__split_buffer() in libOpenImageIO.a(filesystem.cpp.o) ... "boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::last_write_time(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::last_write_time(OpenImageIO_v2_1::string_view, long) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::create_directory(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::recur_dir_itr_imp::increment(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::temp_directory_path(boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::temp_directory_path() in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::system::error_code&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::get_directory_entries(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::copy(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::copy(OpenImageIO_v2_1::string_view, OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::remove(OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::rename(OpenImageIO_v2_1::string_view, OpenImageIO_v2_1::string_view, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::is_directory(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::is_regular(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::exists(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) OpenImageIO_v2_1::Filesystem::scan_for_matching_filenames(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) in libOpenImageIO.a(filesystem.cpp.o)
kkm1617

2020/08/20 23:38

"boost::filesystem::detail::file_size(boost::filesystem::path const&, boost::system::error_code*)", referenced from: OpenImageIO_v2_1::Filesystem::file_size(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(filesystem.cpp.o) "boost::detail::get_tss_data(void const*)", referenced from: OpenImageIO_v2_1::pvt::seterror(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::geterror() in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::oiio_tiff_last_error() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::my_error_handler(char const*, char const*, __va_list_tag*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::seek_subimage(int, int) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::read_native_scanline(int, int, int, int, void*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::read_native_scanlines(int, int, int, int, int, void*) in libOpenImageIO.a(tiffinput.cpp.o) ... "boost::detail::set_tss_data(void const*, void (*)(void (*)(void*), void*), void (*)(void*), void*, bool)", referenced from: boost::thread_specific_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~thread_specific_ptr() in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::pvt::seterror(OpenImageIO_v2_1::string_view) in libOpenImageIO.a(imageio.cpp.o) OpenImageIO_v2_1::geterror() in libOpenImageIO.a(imageio.cpp.o) boost::thread_specific_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::~thread_specific_ptr() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::oiio_tiff_last_error() in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::my_error_handler(char const*, char const*, __va_list_tag*) in libOpenImageIO.a(tiffinput.cpp.o) OpenImageIO_v2_1::TIFFInput::seek_subimage(int, int) in libOpenImageIO.a(tiffinput.cpp.o) ... "boost::thread::physical_concurrency()", referenced from: OpenImageIO_v2_1::Sysutil::physical_concurrency() in libOpenImageIO.a(sysutil.cpp.o) "boost::filesystem::path::parent_path() const", referenced from: OpenImageIO_v2_1::Filesystem::parent_path(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::root_directory() const", referenced from: OpenImageIO_v2_1::Filesystem::searchpath_find(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, bool) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::filename() const", referenced from: OpenImageIO_v2_1::Filesystem::filename(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libOpenImageIO.a(filesystem.cpp.o) "boost::filesystem::path::extension() const", referenced from: OpenImageIO_v2_1::Filesystem::extension(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) in libOpenImageIO.a(filesystem.cpp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/bpy.so] Error 1 make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2 make: *** [all] Error 2
yymmt

2020/08/21 00:02

下記で普通にコンパイルは通りました。 #!/bin/sh BUILD_DIR="$HOME/blender-git/build_bpy" mkdir $BUILD_DIR cd $BUILD_DIR cmake ../blender \ -DWITH_PYTHON_MODULE=ON \ -DWITH_INSTALL_PORTABLE=OFF \ -DWITH_PYTHON_INSTALL=OFF \ -DWITH_AUDASPACE=OFF \ -DWITH_OPENMP=OFF \ -DWITH_CYCLES_EMBREE=OFF \ -DWITH_CYCLES=OFF make -j4
kkm1617

2020/08/21 02:58

公式ページの設定を一からやり直し上記スクリプトを試したところbpy.soが作成することができました。 ありがとうございます! 公式ページを参考に https://wiki.blender.org/wiki/Building_Blender/Other/BlenderAsPyModule cp ./bin/bpy.so /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ mkdir -p /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/Resources を実行しましたが、最後の下記コマンドがbin以下の2.81がないため実行できません。 cp -R ./bin/2.81 /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/Resources/
kkm1617

2020/08/21 03:01

今までの手順をまとめます。 mkdir ~/blender-git cd ~/blender-git git clone https://git.blender.org/blender.git cd blender make update 上記スクリプトを実行 cp ./bin/bpy.so /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ mkdir -p /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/Resources bin以下に2.81がないという状況です。 bin以下はこのようになっております。 pwd /Users/名前/blender-git/build_bpy/bin ls Blender.app bpy.so datatoc datatoc_icon makesdna makesrna msgfmt
yymmt

2020/08/21 03:40

後一息ですね。恐らくmake installが必要なのではないかと思います。 cd ~/blender-git/build_bpy make install 私の方では2.81ではなく2.91となっていました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.46%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問