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

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

新規登録して質問してみよう
ただいま回答率
85.35%
CNN (Convolutional Neural Network)

CNN (Convolutional Neural Network)は、全結合層のみではなく畳み込み層とプーリング層で構成されるニューラルネットワークです。画像認識において優れた性能を持ち、畳み込みニューラルネットワークとも呼ばれています。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

Python

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

Q&A

解決済

2回答

1925閲覧

ImportErrorがわかりません。

退会済みユーザー

退会済みユーザー

総合スコア0

CNN (Convolutional Neural Network)

CNN (Convolutional Neural Network)は、全結合層のみではなく畳み込み層とプーリング層で構成されるニューラルネットワークです。画像認識において優れた性能を持ち、畳み込みニューラルネットワークとも呼ばれています。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

Python

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

0グッド

0クリップ

投稿2021/08/11 09:51

編集2021/08/11 10:03

リンク内容のUsageの

python3 hdrcnn_predict.py -h

を実行したところ、以下のようになってしまいます。
何がいけないのでしょうか?

$ python3 hdrcnn_predict.py -h Traceback (most recent call last): File "hdrcnn_predict.py", line 7, in <module> import network, img_io File "/Users/1831083/hdrcnn/hdrcnn-master/img_io.py", line 42, in <module> import OpenEXR, Imath ImportError: dlopen(/Users/1831083/Library/Python/3.7/lib/python/site-packages/OpenEXR.cpython-37m-darwin.so, 2): Symbol not found: __ZN7Imf_2_314TypedAttributeIN9Imath_2_53BoxINS1_4Vec2IfEEEEE13readValueFromERNS_7IStreamEii Referenced from: /Users/1831083/Library/Python/3.7/lib/python/site-packages/OpenEXR.cpython-37m-darwin.so Expected in: flat namespace in /Users/1831083/Library/Python/3.7/lib/python/site-packages/OpenEXR.cpython-37m-darwin.so

ls

1% ls 2#hdrcnn_predict.py# Untitled.ipynb hdrcnn_params.npz img_io.py training_code 3LICENSE __pycache__ hdrcnn_predict.py network.py 4README.md data hdrcnn_predict.py~ test.py

初めて見るエラーなので教えてください。
お願い致します。

試したこと

似たようなエラーにscikit-learnがあったのでインストールしました。

Successfully installed joblib-1.0.1 scikit-learn-0.24.2 scipy-1.7.1 threadpoolctl-2.2.0

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

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

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

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

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

jbpb0

2021/08/12 00:38

pipで入るのは、2018年9月にリリースされたものです https://pypi.org/project/OpenEXR/ 一方、brewで入る3.1.1は、今年の8月にリリースされたものです https://formulae.brew.sh/formula/openexr https://www.openexr.com/#announ もしかしたら、3年間でいろいろ変わって互換性が無くなってるのかもしれません brewで、2018年9月に存在していたバージョン、たとえば2.3.0や2.2.1をインストールできるなら、それに入れ換えてみてから、pipで再インストールしてみたら、いかがでしょうか? なお、pipで再インストールする場合は、古いものが中途半端に残って悪さしないように、一旦pipでアンインストールしてから再インストールすることをお勧めします
jbpb0

2021/08/12 15:01

> brewで、2018年9月に存在していたバージョン、たとえば2.3.0や2.2.1をインストールできるなら、 を簡単にやる方法が分からなかったのですが、2.5.7は簡単にインストールできるので、当方のMacに入れてみました 下記を順番に実行してインストールしました そうしないと、コンパイルエラーが出てインストールできませんでした brew install openexr@2 brew install zlib export LDFLAGS="-L/usr/local/opt/openexr@2/lib -L/usr/local/opt/ilmbase/lib $LDFLAGS" export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" pip install openexr --no-cache-dir 「export」で始まる行は、それぞれが1行です 長いので、途中で改行されて表示されるかもしれませんが あと、「export CPPFLAGS=...」の2ヵ所の「-I」は、大文字のアイです 小文字のエルではありません 上記のようにしてインストールした後に、Pythonで import OpenEXR, Imath を実行したら、エラーは出ませんでした もし、同じやり方を行ってみる場合は、「pip install...」の前に pip uninstall openexr を実行して、現在入ってるのを削除してください
guest

回答2

0

ベストアンサー

import OpenEXR, Imath

ImportError: dlopen(...

当方のMacで、下記を順番に実行してインストールしてみました
(そうしないと、コンパイルエラーが出てインストールできませんでした)

sh

1brew install openexr@2 2brew install zlib 3export LDFLAGS="-L/usr/local/opt/openexr@2/lib -L/usr/local/opt/ilmbase/lib $LDFLAGS" 4export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" 5pip install openexr --no-cache-dir

それから、Pythonで

python

1import OpenEXR, Imath

を実行したら、エラーは出ませんでした

 
【追記】
PythonがAnacondaではない場合はXcodeでコンパイルすることになるので、下記のようにする必要があるようです

sh

1export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS"

↓ 変更

sh

1export CPPFLAGS="-std=gnu++14 -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS"

投稿2021/08/15 07:16

編集2021/08/16 11:25
jbpb0

総合スコア7653

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

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

jbpb0

2021/08/15 07:28 編集

https://teratail.com/questions/351651 > pip install OpenEXR pip install OpenEXR --user pip3 install OpenEXR pip3 install OPenEXR --user のどれを行っても のときにインストールに失敗した残骸が、Mac内のあちこちに中途半端に残っていて、それが邪魔してるのかもしれません もし「pip install OpenEXR」をやり直すなら、「pip uninstall...」を行うだけではなく、現状MacのPython内に入ってる「OpenEXR」を全部探して掃除をしてから、インストールをやり直す方がいいかも
退会済みユーザー

退会済みユーザー

2021/08/16 04:11

「pip install OpenEXR」をやり直すなら、「pip uninstall...」を行うだけではなく、現状MacのPython内に入ってる「OpenEXR」を全部探して掃除をしてから、インストールをやり直す方がいいかも OpenEXR をpip uninstallしたところ、危惧されていたように、やり直したら前回と同じようなエラーを吐かれてしまいました。 どうのようにして、Python内のOpenEXRをけせばいいですか?
jbpb0

2021/08/16 04:52 編集

私が回答に書いたコマンドをそのまま実行してみてください たとえば、 brew install openexr@2 は「@2」を付ける必要があります 他も、間違えないように、そっくりそのまま回答をコピペしてください 【追記】 m1 Macだと、brewで入る場所が「/usr/local/opt」ではないかもしれません その場合は、私の回答の4ヶ所の「/usr/local/opt」は、brewで実際に入ってる場所に変える必要があります 当方のMacでは、二つの「brew install...」を実行した後は、下記の状態になります ・「/usr/local/opt」に「openexr@2」と「ilmbase」というディレクトリがある ・「openexr@2」と「ilmbase」のそれぞれの中に「lib」と「include」というディレクトリがある ・それぞれの「lib」の中に「lib*.dylib」というファイルがたくさんある ・それぞれの「include」の中に「OpenEXR」というディレクトリがあり、その中に「*.h」というファイルがたくさんある 上記と同じ状態になるなら、二つの「export...」も私の回答そのままで大丈夫ですが、状態が違うなら、そちらのMacで当方の「/usr/local/opt」に相当する場所を探して、指定場所をそれに置き換える必要があります
jbpb0

2021/08/16 05:13

> どうのようにして、Python内のOpenEXRをけせばいいですか? Pythonで下記のコードを実行してください import sys import pprint pprint.pprint(sys.path) そうすると、たくさんパスが表示されますので、それらを全部調べてください もしそこに、ファイル名やディレクトリ名に「OpenEXR」が付くものがあれば、全部削除してください そうすれば、今お使いのPythonから「OpenEXR」が掃除されます なお、上記は pip install openexr よりも先に行う必要があります 「pip install...」よりも後に掃除したら、その後にもう一度「pip install...」を行う必要があります
退会済みユーザー

退会済みユーザー

2021/08/16 05:21

>Pythonで下記のコードを実行してください やったところ '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC'] '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Users/1831083/Library/Python/3.7/lib/python/site-packages', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages'] でありませんでした。
jbpb0

2021/08/16 05:37 編集

出てきたそれぞれを調べるのです たとえば、 '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', というのが表示されてますよね ファインダーでそこを開いて、そこにファイル名やディレクトリ名に「OpenEXR」が付くものが無いか調べる ずらーっと表示されてるところ全部を、そうやって調べます 【追記】 ターミナルで下記を実行しても分かります もしあれば表示されます du -a /System/Library/Frameworks/Python.framework/Versions/2.7 | grep OpenEXR du -a /Library/Python/2.7 | grep OpenEXR du -a /Library/Frameworks/Python.framework/Versions/3.7 | grep OpenEXR du -a /Users/1831083/Library/Python/3.7 | grep OpenEXR
退会済みユーザー

退会済みユーザー

2021/08/16 05:43

python3のは全部見たけどありませんでした。 また、「/usr/local/opt」にopenexr@2がありました。 pip3 install openexr --no-cache-dir としても、 ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-amijreht/openexr_5ec5a1fd44df468fb36f496335e20bb4/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-amijreht/openexr_5ec5a1fd44df468fb36f496335e20bb4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-qfv735vp cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-amijreht/openexr_5ec5a1fd44df468fb36f496335e20bb4/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" となってしまいます。
退会済みユーザー

退会済みユーザー

2021/08/16 05:44

あと、念のために試したところ pip3 install openexr はできました。 uninstall はしています
退会済みユーザー

退会済みユーザー

2021/08/16 05:45

エラーの最後はこのように書いていありました。 ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-amijreht/openexr_5ec5a1fd44df468fb36f496335e20bb4/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-amijreht/openexr_5ec5a1fd44df468fb36f496335e20bb4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-record-7rwgyyaj/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/openexr Check the logs for full command output. WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command.
jbpb0

2021/08/16 05:54

確認です brew install openexr@2 brew install zlib のどちらも、エラーが出ずに実行できましたか? 「/usr/local/opt」に「ilmbase」もありますか? export...の二つのコマンドは、私の回答と同じですか? pip install openexr --no-cache-dir を実行したときの表示に、「**が見つからない」的な(当然英語表記ですが)エラーはありませんでしたか?
退会済みユーザー

退会済みユーザー

2021/08/16 06:04

$ brew install openexr@2 Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> Updated Formulae Updated 1 formula. ==> Updated Casks Updated 6 casks. Warning: openexr@2 2.5.7 is already installed and up-to-date. To reinstall 2.5.7, run: brew reinstall openexr@2 $ brew install zlib Warning: zlib 1.2.11 is already installed and up-to-date. To reinstall 1.2.11, run: brew reinstall zlib 「/usr/local/opt」に「ilmbase」ありました。 exportはコピペしました。 見つからない的なエラーはわからないので下にコピペします。
退会済みユーザー

退会済みユーザー

2021/08/16 06:05

$ pip install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-in8pilnr cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2"
退会済みユーザー

退会済みユーザー

2021/08/16 06:08

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: この下は、 /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); のようなのが続きます。 107 warnings and 2 errors generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for openexr Running setup.py clean for openexr Failed to build openexr Installing collected packages: openexr Running setup.py install for openexr ... error 最後に 107 warnings and 2 errors generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-record-uk16d2__/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/openexr Check the logs for full command output. WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command.
jbpb0

2021/08/16 06:12 編集

> error: command 'gcc' failed with exit status 1 gccがエラー出してますね どこかに、そのエラーの原因が書かれてるはずなのですが、上記の書かれてる中を探しても見つかりません 省略された中のどこかに書かれてると思うのですが
退会済みユーザー

退会済みユーザー

2021/08/16 06:16

省略しないで全部やりますので、どうかお願い致します. $ pip install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-in8pilnr cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2"
退会済みユーザー

退会済みユーザー

2021/08/16 06:16

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:77:45: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc & operator = (BaseExc&& be) throw (); ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:168:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, ArgExc, BaseExc) // Invalid arguments to a function call ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:168:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:170:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, LogicExc, BaseExc) // General error in a program's logic, ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:170:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:175:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InputExc, BaseExc) // Invalid input data, e.g. from a file ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:175:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:177:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, IoExc, BaseExc) // Input or output operation failed ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:177:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:179:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, MathExc, BaseExc) // Arithmetic exception; more specific ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:17

/usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:179:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:183:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, ErrnoExc, BaseExc) // Base class for exceptions corresponding ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:183:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:188:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, NoImplExc, BaseExc) // Missing method exception e.g. from a ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:188:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:194:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, NullExc, BaseExc) // A pointer is inappropriately null. ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:194:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:196:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, TypeExc, BaseExc) // An object is an inappropriate type, ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:196:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:17

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, NullVecExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:56:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, InfPointExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:56:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:59:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, NullQuatExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:59:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:62:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, SingMatrixExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:62:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:65:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, ZeroScaleExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:65:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:68:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, IntVecNormalizeExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:17

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:68:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:105:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec2 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:308:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec3 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:526:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec4 () = default; ^ In file included from OpenEXR.cpp:37: /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:150:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream (const IStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:151:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream & operator = (const IStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:152:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IStream (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:152:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:153:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IStream & operator = (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:153:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream & operator = (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:218:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream (const OStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:219:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream & operator = (const OStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:220:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OStream (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:220:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:221:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OStream & operator = (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:221:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream & operator = (OStream &&) = delete; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:18

In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:49:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, OverflowExc, MathExc) // Overflow ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:49:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:50:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, UnderflowExc, MathExc) // Underflow ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:50:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:51:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, DivzeroExc, MathExc) // Division by zero ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:51:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:52:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InexactExc, MathExc) // Inexact result ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:52:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InvalidFpOpExc, MathExc) // Invalid operation ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:18

In file included from OpenEXR.cpp:39: /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:123:29: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array (const Array &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:124:42: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array & operator = (const Array &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:125:18: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:125:24: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:126:31: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array & operator = (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:126:37: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array & operator = (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:181:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D (const Array2D &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:182:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D & operator = (const Array2D &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:183:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array2D (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:183:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:184:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array2D & operator = (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:184:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D & operator = (Array2D &&) = delete; ^ In file included from OpenEXR.cpp:40: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:48: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfXdr.h:108: /usr/local/opt/ilmbase/include/OpenEXR/half.h:99:15: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half () = default; // no initialization ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:102:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~half () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:103:27: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half (const half &) = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:104:16: warning: rvalue references are a C++11 extension [-Wc++11-extensions] half (half &&) noexcept = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:104:19: error: expected ';' at end of declaration list half (half &&) noexcept = default; ^ ; /usr/local/opt/ilmbase/include/OpenEXR/half.h:124:43: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half & operator = (const half &h) = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:125:31: warning: rvalue references are a C++11 extension [-Wc++11-extensions] half & operator = (half &&h) noexcept = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:125:35: error: expected ';' at end of declaration list half & operator = (half &&h) noexcept = default; ^ ;
退会済みユーザー

退会済みユーザー

2021/08/16 06:19

In file included from OpenEXR.cpp:40: /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:150:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute () = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:152:55: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute (const TypedAttribute<T> &other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:153:39: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TypedAttribute (TypedAttribute<T> &&other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:153:50: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute (TypedAttribute<T> &&other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:155:34: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] virtual ~TypedAttribute () = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:157:67: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (const TypedAttribute<T>& other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:158:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (TypedAttribute<T>&& other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:158:62: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (TypedAttribute<T>&& other) = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:59: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticitiesAttribute.h:47: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticities.h:47: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:50: /usr/local/opt/ilmbase/include/OpenEXR/ImathShear.h:98:14: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Shear6() = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:59: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticitiesAttribute.h:47: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticities.h:47: /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:122:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix22 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:396:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix33 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:757:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix44 () = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:63: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfKeyCodeAttribute.h:47: /usr/local/opt/openexr@2/include/OpenEXR/ImfKeyCode.h:124:18: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~KeyCode() = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:68: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfTimeCodeAttribute.h:47: /usr/local/opt/openexr@2/include/OpenEXR/ImfTimeCode.h:170:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~TimeCode () = default; ^ In file included from OpenEXR.cpp:51: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:48: /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:506:49: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile (const TiledOutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:507:62: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (const TiledOutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:508:38: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TiledOutputFile (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:508:44: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:509:51: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:509:57: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (TiledOutputFile &&) = delete; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:19

In file included from OpenEXR.cpp:51: /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:260:37: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile (const InputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:261:50: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile & operator = (const InputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:262:26: warning: rvalue references are a C++11 extension [-Wc++11-extensions] InputFile (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:262:32: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:263:39: warning: rvalue references are a C++11 extension [-Wc++11-extensions] InputFile & operator = (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:263:45: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile & operator = (InputFile &&) = delete; ^ In file included from OpenEXR.cpp:56: /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:260:39: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile (const OutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:261:52: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (const OutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:262:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OutputFile (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:262:34: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:263:41: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:263:47: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (OutputFile &&) = delete; ^ 107 warnings and 2 errors generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for openexr
退会済みユーザー

退会済みユーザー

2021/08/16 06:24

/usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:77:45: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc & operator = (BaseExc&& be) throw (); ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:168:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, ArgExc, BaseExc) // Invalid arguments to a function call ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:168:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:170:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, LogicExc, BaseExc) // General error in a program's logic, ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:170:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:175:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InputExc, BaseExc) // Invalid input data, e.g. from a file ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:175:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:177:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, IoExc, BaseExc) // Input or output operation failed ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:177:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:179:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, MathExc, BaseExc) // Arithmetic exception; more specific ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:179:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:183:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, ErrnoExc, BaseExc) // Base class for exceptions corresponding ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:183:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:188:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, NoImplExc, BaseExc) // Missing method exception e.g. from a ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:188:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:194:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, NullExc, BaseExc) // A pointer is inappropriately null. ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:194:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:196:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, TypeExc, BaseExc) // An object is an inappropriate type, ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:196:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:25

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, NullVecExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:56:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, InfPointExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:56:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:59:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, NullQuatExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:59:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:62:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, SingMatrixExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:62:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:26

In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:65:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, ZeroScaleExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:65:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:68:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IMATH_EXPORT, IntVecNormalizeExc, ::IEX_NAMESPACE::MathExc) ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:68:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:105:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec2 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:308:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec3 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:526:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Vec4 () = default; ^ In file included from OpenEXR.cpp:37: /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:150:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream (const IStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:151:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream & operator = (const IStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:152:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IStream (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:152:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:153:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IStream & operator = (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:153:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] IStream & operator = (IStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:218:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream (const OStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:219:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream & operator = (const OStream &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:220:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OStream (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:220:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:221:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OStream & operator = (OStream &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfIO.h:221:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OStream & operator = (OStream &&) = delete; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:26

In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:49:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, OverflowExc, MathExc) // Overflow ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:49:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:50:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, UnderflowExc, MathExc) // Underflow ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:50:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:51:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, DivzeroExc, MathExc) // Division by zero ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:51:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:52:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InexactExc, MathExc) // Inexact result ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:52:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] DEFINE_EXC_EXP (IEX_EXPORT, InvalidFpOpExc, MathExc) // Invalid operation ^ /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:144:24: note: expanded from macro 'DEFINE_EXC_EXP' exp name (name &&other) throw(); \ ^ In file included from OpenEXR.cpp:38: In file included from /usr/local/opt/ilmbase/include/OpenEXR/Iex.h:50: /usr/local/opt/ilmbase/include/OpenEXR/IexMathExc.h:53:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions] /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:146:36: note: expanded from macro 'DEFINE_EXC_EXP' exp name& operator = (name &&other) throw(); \ ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:27

In file included from OpenEXR.cpp:39: /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:123:29: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array (const Array &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:124:42: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array & operator = (const Array &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:125:18: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:125:24: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:126:31: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array & operator = (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:126:37: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array & operator = (Array &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:181:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D (const Array2D &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:182:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D & operator = (const Array2D &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:183:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array2D (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:183:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:184:35: warning: rvalue references are a C++11 extension [-Wc++11-extensions] Array2D & operator = (Array2D &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfArray.h:184:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] Array2D & operator = (Array2D &&) = delete; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:27

In file included from OpenEXR.cpp:40: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:48: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfXdr.h:108: /usr/local/opt/ilmbase/include/OpenEXR/half.h:99:15: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half () = default; // no initialization ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:102:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~half () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:103:27: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half (const half &) = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:104:16: warning: rvalue references are a C++11 extension [-Wc++11-extensions] half (half &&) noexcept = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:104:19: error: expected ';' at end of declaration list half (half &&) noexcept = default; ^ ; /usr/local/opt/ilmbase/include/OpenEXR/half.h:124:43: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] half & operator = (const half &h) = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:125:31: warning: rvalue references are a C++11 extension [-Wc++11-extensions] half & operator = (half &&h) noexcept = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/half.h:125:35: error: expected ';' at end of declaration list half & operator = (half &&h) noexcept = default; ^ ; In file included from OpenEXR.cpp:40: /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:150:25: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute () = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:152:55: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute (const TypedAttribute<T> &other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:153:39: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TypedAttribute (TypedAttribute<T> &&other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:153:50: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute (TypedAttribute<T> &&other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:155:34: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] virtual ~TypedAttribute () = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:157:67: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (const TypedAttribute<T>& other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:158:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (TypedAttribute<T>&& other) = default; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfAttribute.h:158:62: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] TypedAttribute& operator = (TypedAttribute<T>&& other) = default; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:27

In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:59: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticitiesAttribute.h:47: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticities.h:47: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:50: /usr/local/opt/ilmbase/include/OpenEXR/ImathShear.h:98:14: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Shear6() = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:59: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticitiesAttribute.h:47: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfChromaticities.h:47: /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:122:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix22 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:396:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix33 () = default; ^ /usr/local/opt/ilmbase/include/OpenEXR/ImathMatrix.h:757:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~Matrix44 () = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:63: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfKeyCodeAttribute.h:47: /usr/local/opt/openexr@2/include/OpenEXR/ImfKeyCode.h:124:18: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~KeyCode() = default; ^ In file included from OpenEXR.cpp:43: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfStandardAttributes.h:68: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfTimeCodeAttribute.h:47: /usr/local/opt/openexr@2/include/OpenEXR/ImfTimeCode.h:170:20: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] ~TimeCode () = default; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:27

In file included from OpenEXR.cpp:51: In file included from /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:48: /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:506:49: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile (const TiledOutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:507:62: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (const TiledOutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:508:38: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TiledOutputFile (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:508:44: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:509:51: warning: rvalue references are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (TiledOutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfTiledOutputFile.h:509:57: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] TiledOutputFile & operator = (TiledOutputFile &&) = delete; ^ In file included from OpenEXR.cpp:51: /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:260:37: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile (const InputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:261:50: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile & operator = (const InputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:262:26: warning: rvalue references are a C++11 extension [-Wc++11-extensions] InputFile (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:262:32: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:263:39: warning: rvalue references are a C++11 extension [-Wc++11-extensions] InputFile & operator = (InputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfInputFile.h:263:45: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] InputFile & operator = (InputFile &&) = delete; ^ In file included from OpenEXR.cpp:56: /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:260:39: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile (const OutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:261:52: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (const OutputFile &) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:262:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OutputFile (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:262:34: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:263:41: warning: rvalue references are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (OutputFile &&) = delete; ^ /usr/local/opt/openexr@2/include/OpenEXR/ImfOutputFile.h:263:47: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] OutputFile & operator = (OutputFile &&) = delete; ^
退会済みユーザー

退会済みユーザー

2021/08/16 06:28

107 warnings and 2 errors generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-958mnpla/openexr_229214a098ab4cb1a5b9d23f69137409/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-record-uk16d2__/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/openexr Check the logs for full command output. WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command. これで全部です。
jbpb0

2021/08/16 06:34

エラーは下記の2ヶ所です > /usr/local/opt/ilmbase/include/OpenEXR/half.h:104:19: error: expected ';' at end of declaration list half (half &&) noexcept = default; > /usr/local/opt/ilmbase/include/OpenEXR/half.h:125:35: error: expected ';' at end of declaration list half & operator = (half &&h) noexcept = default; でも、当方のMacに入ってる「/usr/local/opt/ilmbase/include/OpenEXR/half.h」の該当行を調べても、同じことが書かれてますけど、当方では特にエラー出てないのです あと、エラーじゃないけど大量に書かれてるwarningも、こちらでは出てないのです 何が違うのだろう? ちょっと考えてみます
退会済みユーザー

退会済みユーザー

2021/08/16 06:42

よろしくお願い致します。
jbpb0

2021/08/16 07:03

which -a gcc gcc -v which -a clang clang -v をターミナルで実行した結果を教えてください あと、下記の内で、いつもPythonを使うときのコマンドの方で実行した結果も教えてください (pythonかpython3か、どちらかだけ) which -a python which -a python3
退会済みユーザー

退会済みユーザー

2021/08/16 07:22 編集

実行しました。 1831083:~ shobu$ which -a gcc /usr/bin/gcc 1831083:~ shobu$ gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin 1831083:~ shobu$ which -a clang /usr/bin/clang 1831083:~ shobu$ clang -v Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin 1831083:~ shobu$ which -a python3 /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 /usr/local/bin/python3 /usr/local/bin/python3 /usr/bin/python3
jbpb0

2021/08/16 07:28

当方のMacで、わざとエラーが出るように「export...」を実行せずに pip uninstall openexr pip install openexr --no-cache-dir を行ったときの表示の最初の方を以下に付けますが、質問者さんの環境では「gcc」と書かれてるところが、当方では「x86_64-apple-darwin13.4.0-clang」となってます つまり、コンパイルに使われてるコンパイラコマンドが違います コンパイラコマンドの仕様の違いで、質問者さんの環境ではエラーや大量のwarningが出てるのだと思います Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/XXX/anaconda3/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/w_/y9txfsbd77xbgtq90d2d3nz80000gn/T/pip-install-c7j_sq_t/openexr_be6b83fad67245a9a6c4f85e33422fc9/setup.py'"'"'; __file__='"'"'/private/var/folders/w_/y9txfsbd77xbgtq90d2d3nz80000gn/T/pip-install-c7j_sq_t/openexr_be6b83fad67245a9a6c4f85e33422fc9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/w_/y9txfsbd77xbgtq90d2d3nz80000gn/T/pip-wheel-cgzutpr5 cwd: /private/var/folders/w_/y9txfsbd77xbgtq90d2d3nz80000gn/T/pip-install-c7j_sq_t/openexr_be6b83fad67245a9a6c4f85e33422fc9/ Complete output (16 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 x86_64-apple-darwin13.4.0-clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O3 -Wall -Wstrict-prototypes -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O3 -pipe -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=/Users/XXX/anaconda3=/usr/local/src/conda-prefix -flto -Wl,-export_dynamic -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O3 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/XXX/anaconda3/include -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -isystem /Users/XXX/anaconda3/include -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/XXX/anaconda3/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" clang-10: warning: -Wl,-export_dynamic: 'linker' input unused [-Wunused-command-line-argument] OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found #include <ImathBox.h> ^~~~~~~~~~~~ 1 error generated. error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
退会済みユーザー

退会済みユーザー

2021/08/16 07:31

どうすればいいでしょうか?
jbpb0

2021/08/16 08:27 編集

当方でのコンパイルに使われてる「x86_64-apple-darwin13.4.0-clang」はAnacondaのものなので、質問者さんがAnacondaを入れたら、当方と同様にコンパイルできる可能性が高いと思います (やってみないと分からないけど) あとは、質問者さんの環境の > clang -v Apple clang version 12.0.5 (clang-1205.0.22.11) を、当方の anaconda3/bin/x86_64-apple-darwin13.4.0-clang -v clang version 10.0.0 と互換性のある仕様でコンパイルできるようにするオプションがあるか、ですね ちょっと調べてみます
退会済みユーザー

退会済みユーザー

2021/08/16 08:01

よろしくお願い致します。
jbpb0

2021/08/16 08:28

export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 を実行してから「pip install...」してみてください
退会済みユーザー

退会済みユーザー

2021/08/16 08:36

$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... done Created wheel for openexr: filename=OpenEXR-1.3.2-cp37-cp37m-macosx_10_9_x86_64.whl size=39074 sha256=b0087582b94671471ff2829b55edb204fef7420b5af880520f6b91587700a78b Stored in directory: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-ephem-wheel-cache-0tbgfv2j/wheels/d1/c6/6c/dcf5d042ed2d547da41021f47957b16bebe9cadfd095765d44 Successfully built openexr Installing collected packages: openexr Successfully installed openexr-1.3.2 WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command. でインストールできたのですが、 >>> import OpenEXR, Imath Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so, 2): Symbol not found: __ZN7Imf_2_314TypedAttributeIN9Imath_2_53BoxINS1_4Vec2IfEEEEE13readValueFromERNS_7IStreamEii Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so でエラーが出ました。
jbpb0

2021/08/16 08:44

export CLANG_CXX_LIBRARY=libc++ も実行してから、 pip uninstall... pip install... してみてください
退会済みユーザー

退会済みユーザー

2021/08/16 08:47

1831083:~ shobu$ export CLANG_CXX_LIBRARY=libc++ 1831083:~ shobu$ pip3 uninstall openexr Found existing installation: OpenEXR 1.3.2 Uninstalling OpenEXR-1.3.2: Would remove: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/Imath.py /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR-1.3.2.dist-info/* /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so Proceed (Y/n)? Y Successfully uninstalled OpenEXR-1.3.2 1831083:~ shobu$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... done Created wheel for openexr: filename=OpenEXR-1.3.2-cp37-cp37m-macosx_10_9_x86_64.whl size=39078 sha256=39c0bdcfb48b3b77a073186c8564cedb9820d2159ff3086b88546dabde7c948a Stored in directory: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-ephem-wheel-cache-g1k79yzd/wheels/d1/c6/6c/dcf5d042ed2d547da41021f47957b16bebe9cadfd095765d44 Successfully built openexr Installing collected packages: openexr Successfully installed openexr-1.3.2 WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command. 1831083:~ shobu$ python3 Python 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import OpenEXR, Imath Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so, 2): Symbol not found: __ZN7Imf_2_314TypedAttributeIN9Imath_2_53BoxINS1_4Vec2IfEEEEE13readValueFromERNS_7IStreamEii Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so やりましたが、変わりません
jbpb0

2021/08/16 08:51

otool -L /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so の結果を教えてください
退会済みユーザー

退会済みユーザー

2021/08/16 08:52

$ otool -L /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so: /usr/local/opt/ilmbase/lib/libIex-2_5.25.dylib (compatibility version 25.0.0, current version 25.0.6) /usr/local/opt/ilmbase/lib/libHalf-2_5.25.dylib (compatibility version 25.0.0, current version 25.0.6) /usr/local/opt/ilmbase/lib/libImath-2_5.25.dylib (compatibility version 25.0.0, current version 25.0.6) /opt/local/lib/libIlmImf-2_3.24.dylib (compatibility version 25.0.0, current version 25.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 905.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5) です。
jbpb0

2021/08/16 08:58

/usr/local/opt/openexr@2/lib/libIlmImf-2_5.25.dylib というファイルはありますか?
退会済みユーザー

退会済みユーザー

2021/08/16 09:18 編集

$ cd /usr/local/opt/openexr@2/lib/ $ ls cmake libIlmImf-2_5.dylib libIlmImfUtil-2_5.25.dylib pkgconfig libIlmImf-2_5.25.0.6.dylib libIlmImf.dylib libIlmImfUtil-2_5.dylib libIlmImf-2_5.25.dylib libIlmImfUtil-2_5.25.0.6.dylib libIlmImfUtil.dylib であります。
jbpb0

2021/08/16 09:23

/usr/local/opt/zlib/lib/libz.1.dylib というファイルはありますか? あと、下記の結果を教えてください env | grep opt env | grep lib env | grep LIB
退会済みユーザー

退会済みユーザー

2021/08/16 09:26

$ cd /usr/local/opt/zlib/lib/ $ ls libz.1.2.11.dylib libz.a pkgconfig libz.1.dylib libz.dylib でありました。 $ env | grep opt OLDPWD=/usr/local/opt/zlib/lib PATH=/opt/local/bin:/opt/local/sbin:/Users/1831083/.pyenv/bin:/Users/1831083/.pyenv/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/user_name/anaconda3/bin:/usr/local/bin:/Users/1831083/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin $ env | grep lib OLDPWD=/usr/local/opt/zlib/lib $ env | grep LIB $ でした。 何卒よろしくお願い致します。
jbpb0

2021/08/16 09:27

Macportsで何か入れたことありませんか?
退会済みユーザー

退会済みユーザー

2021/08/16 09:33

わかりません。 どうしたらわかりますか? $ /opt/local/bin/port -v Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. MacPorts 2.7.1 Entering shell mode... ("help" for help, "quit" to quit) バージョンはこれでした。
jbpb0

2021/08/16 09:49

brewで入れたのは /usr/local/opt/openexr@2/lib/libIlmImf-2_5.25.dylib /usr/local/opt/zlib/lib/libz.1.dylib ですが、otool -Lの結果ではportで入れた /opt/local/lib/libIlmImf-2_3.24.dylib /opt/local/lib/libz.1.dylib にリンクされてます brewとportの両方で「OpenEXR」と「zlib」を入れてるため、混在してます brewとportの両方を使うのは、できれば避けた方がいいですよ 特に今回のような、両方に同じものを入れるのはダメです どうしてもbrewとportの両方を使わないといけない理由があるなら、どちらに何を入れたのかを把握して、重複しないように気をつけてください とりあえず、portから「OpenEXR」と「zlib」を削除して、 pip uninstall... pip install... してみてください それでもエラーが出るなら、もう一度下記を実行して、結果を教えてください otool -L /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so
退会済みユーザー

退会済みユーザー

2021/08/16 09:54

>portから「OpenEXR」と「zlib」を削除して、 portからの削除の仕方を教えていただけませんか? 申し訳ございません、portとbrewを知らないあまり理解できてませんでした。
退会済みユーザー

退会済みユーザー

2021/08/16 10:07

$ port installed Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. The following ports are currently installed: ilmbase @2.3.0_1 (active) $ portの「OpenEXR」と「zlib」を削除したのですが、その状況で pip uninstall... pip install... をしたらエラーが出ました。 とりあえず、コマンドも試しました。 $ otool -L /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/OpenEXR.cpython-37m-darwin.so (No such file or directory) また変なことはしたくないのでどうしたらいいですか?
jbpb0

2021/08/16 10:18

> The following ports are currently installed: ilmbase @2.3.0_1 (active) 「ilmbase」は「OpenEXR」に付随のものなので、それもportから削除してください > pip uninstall... pip install... をしたらエラーが出ました。 どのようなエラーか書いてください export...は、四つ全部してますよね? エラーが止まらないなら、ターミナルを再起動して、四つのexport...を実行してから、 pip uninstall... pip install... してみてください
退会済みユーザー

退会済みユーザー

2021/08/16 10:26

1831083:~ shobu$ export LDFLAGS="-L/usr/local/opt/openexr@2/lib -L/usr/local/opt/ilmbase/lib $LDFLAGS" 1831083:~ shobu$ export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" 1831083:~ shobu$ export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 1831083:~ shobu$ export CLANG_CXX_LIBRARY=libc++ 1831083:~ shobu$ pip3 uninstall openexr WARNING: Skipping openexr as it is not installed. 1831083:~ shobu$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-1ozjz3ie/openexr_e509271ffb9f42d9ae4d8cd7bf471022/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-1ozjz3ie/openexr_e509271ffb9f42d9ae4d8cd7bf471022/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-tkb9w5ku cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-1ozjz3ie/openexr_e509271ffb9f42d9ae4d8cd7bf471022/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); ^
退会済みユーザー

退会済みユーザー

2021/08/16 10:29

と、同じようなエラーが出てきます。 一回ターミナルを終了させてから行いました。 /usr/local/opt のなかに 「openexr」と「openexr@2」があるのは平気ですか?
jbpb0

2021/08/16 10:51 編集

> /usr/local/opt のなかに 「openexr」と「openexr@2」があるのは平気ですか? それは大丈夫なはずです export LDFLAGS=... export CPPFLAGS=... で、「@2」付きの方しか見つからないように設定してるので > warning: rvalue references are a C++11 extension [-Wc++11-extensions] というのが出るのがおかしいのです エラーも、それが原因です そうならないように、 export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 をしてるのに、何で?? > 一回ターミナルを終了させてから行いました。 ターミナルを再起動してから、四つのexportを実行してから、 pip uninstall... pip install... をしたのですよね? 追加のexport...も回答に書いたので、念のために回答からコピペして実行してから、 pip uninstall... pip install... をしてみてください
退会済みユーザー

退会済みユーザー

2021/08/16 10:51

Macを再起動させてみましたが変わりません。 1831083:~ shobu$ pip3 uninstall openexr WARNING: Skipping openexr as it is not installed. 1831083:~ shobu$ brew install openexr@2 Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> Updated Formulae Updated 17 formulae. ==> Updated Casks Updated 25 casks. Warning: openexr@2 2.5.7 is already installed and up-to-date. To reinstall 2.5.7, run: brew reinstall openexr@2 1831083:~ shobu$ brew install zlib Warning: zlib 1.2.11 is already installed and up-to-date. To reinstall 1.2.11, run: brew reinstall zlib 1831083:~ shobu$ export LDFLAGS="-L/usr/local/opt/openexr@2/lib -L/usr/local/opt/ilmbase/lib $LDFLAGS" 1831083:~ shobu$ export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" 1831083:~ shobu$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-zba_zpf8/openexr_eace7b449eb84863a3bfdc1cb6d9e3f4/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-zba_zpf8/openexr_eace7b449eb84863a3bfdc1cb6d9e3f4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-pksag9kj cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-zba_zpf8/openexr_eace7b449eb84863a3bfdc1cb6d9e3f4/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); ^
jbpb0

2021/08/16 10:54

> Macを再起動させてみましたが変わりません。 export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 export CLANG_CXX_LIBRARY=libc++ をやってないですよ
退会済みユーザー

退会済みユーザー

2021/08/16 10:56

やりましたが変わりません。 1831083:~ shobu$ export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 1831083:~ shobu$ export CLANG_CXX_LIBRARY=libc++ 1831083:~ shobu$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-gh1xr8g3/openexr_b33a02cb8f164a3a991f75a12f6178bb/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-gh1xr8g3/openexr_b33a02cb8f164a3a991f75a12f6178bb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-yawy4vqq cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-gh1xr8g3/openexr_b33a02cb8f164a3a991f75a12f6178bb/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); ^
jbpb0

2021/08/16 11:09 編集

何でだろう?? 「2021/08/16 17:36」のコメントの「でインストールできたのですが、」のときはできたのに ターミナルを再起動して、四つのexport...の内の 「export CLANG_CXX_LIBRARY=libc++」 はやらないで、他の三つだけやってから、「pip...」をやってみてください もし、間違って「export CLANG_CXX_LIBRARY=libc++」を実行してしまったら、 export -n CLANG_CXX_LIBRARY を実行したら消えます (ターミナルを再起動しても消えますが)
退会済みユーザー

退会済みユーザー

2021/08/16 11:07

1831083:~ shobu$ export LDFLAGS="-L/usr/local/opt/openexr@2/lib -L/usr/local/opt/ilmbase/lib $LDFLAGS" 1831083:~ shobu$ export CPPFLAGS="-I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" 1831083:~ shobu$ export CLANG_CXX_LANGUAGE_STANDARD=GNU++14 1831083:~ shobu$ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-xhomsu43/openexr_1fe7ef2740c3460bbe95829c74854e3a/setup.py'"'"'; __file__='"'"'/private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-xhomsu43/openexr_1fe7ef2740c3460bbe95829c74854e3a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-wheel-5upcnkui cwd: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-install-xhomsu43/openexr_1fe7ef2740c3460bbe95829c74854e3a/ Complete output (508 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 copying Imath.py -> build/lib.macosx-10.9-x86_64-3.7 running build_ext building 'OpenEXR' extension creating build/temp.macosx-10.9-x86_64-3.7 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c OpenEXR.cpp -o build/temp.macosx-10.9-x86_64-3.7/OpenEXR.o -g -DVERSION="1.3.2" In file included from OpenEXR.cpp:36: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathBox.h:65: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathVec.h:46: In file included from /usr/local/opt/ilmbase/include/OpenEXR/ImathExc.h:47: /usr/local/opt/ilmbase/include/OpenEXR/IexBaseExc.h:73:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions] IEX_EXPORT BaseExc (BaseExc &&be) throw(); ^ 変わりません...
jbpb0

2021/08/16 11:11

export CPPFLAGS="-std=gnu++14 -I/usr/local/opt/openexr@2/include/OpenEXR -I/usr/local/opt/ilmbase/include/OpenEXR $CPPFLAGS" を実行してから、「pip...」をやってみてください 長いですが1行です 先頭に「-std=gnu++14」を追加してて、それ以降はこれまでと同じです
退会済みユーザー

退会済みユーザー

2021/08/16 11:18

できました!!! $ pip3 install openexr --no-cache-dir Collecting openexr Downloading OpenEXR-1.3.2.tar.gz (10 kB) Building wheels for collected packages: openexr Building wheel for openexr (setup.py) ... done Created wheel for openexr: filename=OpenEXR-1.3.2-cp37-cp37m-macosx_10_9_x86_64.whl size=37143 sha256=c5e6c28da9eb4f8ca26c57091187babd7d4a1e7ded1873c45c29b45b739cbbd2 Stored in directory: /private/var/folders/72/fl6l29ds4xvbv0zcgdzj4wc00000gn/T/pip-ephem-wheel-cache-3ylhc1er/wheels/d1/c6/6c/dcf5d042ed2d547da41021f47957b16bebe9cadfd095765d44 Successfully built openexr Installing collected packages: openexr Successfully installed openexr-1.3.2 WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command. 1831083:~ shobu$ python3 Python 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import OpenEXR, Imath 本当にありがとうございます。 後日でよろしいので解決するために何をしたのか教えていただければ幸いです。 今日は本当にありがとうございました。 サイトのプログラムを実行したら他のエラーが出てきたので、自分で解決できなかったらよろしくお願い致します。 今日は本当にありがとうございます。
jbpb0

2021/08/23 03:03

> 解決するために何をしたのか もともとの質問のエラーと、「pip3 install openexr」実行時のエラーでは、対策が異なるので、分けて書きます まずは、もともとの質問のエラーの対策です 「otool -L…」の結果より、質問者さんの環境では、エラーが出ている「OpenEXR.cpython-37m-darwin.so」に、Homebrewで入れたものとMacportsで入れたものが混在してリンクされてるのが分かりました それがエラーの原因ではないかと考え、両者で入れたもので重複するものをMacports側から削除してもらいました
jbpb0

2021/11/29 02:02 編集

> 解決するために何をしたのか 次に、「pip3 install openexr」実行時のエラーの対策です 質問者さんの環境ではコンパイル時にエラーが2ヶ所で出ていて、さらに大量のwarningも出ていましたが、当方の環境ではどちらも出てませんでしたので、コンパイラの仕様が違うのではと考えて確認したところ、まず使われてるコンパイラが違っていました また、warningが「...are a C++11 extension [-Wc++11-extensions]」のようなものなので、やはりコンパイラの仕様の違いが原因ではないかと考えました 質問者さんが使ってるXcodeのコンパイラの仕様は、 https://help.apple.com/xcode/mac/10.2/#/itcaec37c2a6 https://help.apple.com/xcode/mac/11.4/#/itcaec37c2a6 https://help.apple.com/xcode/mac/current/#/itcaec37c2a6 の「C++ Language Dialect (CLANG_CXX_LANGUAGE_STANDARD)」のところを見たら、「-std=gnu++98」のようでした 一方、当方で使ってるAnacondaの「x86_64-apple-darwin13.4.0-clang」の仕様は、 https://cpprefjp.github.io/implementation.html#clang の「Clang」のところを見たら、「-std=gnu++14」のようでした そこで、Xcodeのコンパイラの仕様を当方に合わせるために、環境変数「CPPFLAGS」に「-std=gnu++14」を追加してもらいました
退会済みユーザー

退会済みユーザー

2021/08/23 06:15

ありがとうございます。
退会済みユーザー

退会済みユーザー

2021/08/23 12:34

Anacondaの仮想環境にOpenEXRをインストールしたいのですが、できません また、教えていただけないでしょうか?
guest

0

Macユーザではありませんので一般論になりますが。
import OpenEXR
でOpenEXRが共有オブジェクトファイル(ELF形式)を開いて使用しようとしたとき、そこに含まれる外部シンボル名が期待していたものと違っていたという状況です。
理由として考えられるのは、共有オブジェクトファイルのバージョンが違うことです。
M1を使っているためにAArch64とAMD64(x86_64)の問題である可能性はないとは言い切れませんが少ないでしょう。

Python binding installation issues on OSX. Symbol not found: __ZTIN13IlmThread_2_04TaskE #207 で似たことが起こっています。
ご参考まで

投稿2021/08/11 10:53

編集2021/08/11 10:58
ppaul

総合スコア24670

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.35%

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

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

質問する

関連した質問