Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error of building ADSeismic #3

Open
guoketing opened this issue Nov 9, 2021 · 4 comments
Open

The error of building ADSeismic #3

guoketing opened this issue Nov 9, 2021 · 4 comments

Comments

@guoketing
Copy link

Dear Weiqiang and Kailai:

I'm sorry that there are some errors when I build ADSeismic, the log is as follow:

julia> Pkg.build("ADSeismic")
Building Conda ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\299304989a5e6473d985212c28928899c74e9421\build.log
Building PyCall ───→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\4ba3651d33ef76e24fef6a598b63ffd1c5e1cd17\build.log
Building HDF5 ─────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\0713cbabdf855852dfab3ce6447c87145f3d9ea8\build.log
Building CMake ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\50a8b41d2c562fccd9ab841085fc7d1e2706da82\build.log
Building ADCME ────→ C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\4ecfc24dbdf551f92b5de7ea2d99da3f7fde73c9\build.log
Building ADSeismic → C:\Users\Keting\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\5033bd2630a896f43ca390e053d77569202c2e45\build.log
ERROR: Error building ADSeismic, showing the last 100 of log:
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): warning C4003: �ຯ���ĵ��á�max�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2143: ������: ȱ�١�;��(�ڡ�{����ǰ��) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2059: ������:��)�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): warning C4003: �ຯ���ĵ��á�min�������� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2589: ��(��:��::���ұߵķǷ���� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2062: ��������͡�unknown-type�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C3805: �����͡�: �����ǣ�Ӧ���롰}�����ߡ�,�� [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
[ Info: Changed to directory C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps/CustomOps/build
ERROR: LoadError: failed process: Process(cmd /c 'C:\Users\Keting\.julia\packages\CMake\ULbyn\deps\usr\bin\cmake.exe' --build . -j --target ALL_BUILD --config Release, ProcessExited(1)) [1]

Stacktrace:
[1] pipeline_error
@ .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:440
[3] run
@ .\process.jl:438 [inlined]
[4] make()
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\extra.jl:94
[5] #3
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:9 [inlined]
[6] require_library(func::var"#3#4", filename::String)
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\toolchain.jl:217
[7] top-level scope
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8
[8] include(fname::String)
@ Base.MainInclude .\client.jl:444
[9] top-level scope
@ none:5
in expression starting at C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8

Full log at C:\Users\Keting.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\5033bd2630a896f43ca390e053d77569202c2e45\build.log
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
[2] (::Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec})()
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1048
[3] withenv(::Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, ::Pair{String, String}, ::Vararg{Pair{String, B} where B, N} where N)
@ Base .\env.jl:161
[4] (::Pkg.Operations.var"#109#113"{String, Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec})()
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1546
[5] with_temp_env(fn::Pkg.Operations.var"#109#113"{String, Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.PackageSpec}, temp_env::String)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1448
[6] (::Pkg.Operations.var"#108#112"{Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String})(tmp::String)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1521
[7] mktempdir(fn::Pkg.Operations.var"#108#112"{Pkg.Operations.var"#82#87"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String}, parent::String; prefix::String)
@ Base.Filesystem .\file.jl:729
[8] mktempdir(fn::Function, parent::String) (repeats 2 times)
@ Base.Filesystem .\file.jl:727
[9] sandbox(fn::Function, ctx::Pkg.Types.Context, target::Pkg.Types.PackageSpec, target_path::String, sandbox_path::String, sandbox_project_override::Pkg.Types.Project)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1487
[10] build_versions(ctx::Pkg.Types.Context, uuids::Vector{Base.UUID}; verbose::Bool)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1029
[11] build(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, verbose::Bool)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:910
[12] build(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; verbose::Bool, kwargs::Base.Iterators.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:900
[13] build(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:80
[14] build(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:78
[15] #build#71
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:76 [inlined]
[16] build
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:76 [inlined]
[17] #build#70
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:75 [inlined]
[18] build(pkg::String)
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:75
[19] top-level scope
@ REPL[4]:1

I think the reason for the error is that there is a problem with the encoding method of tensorflow. But I have no idea about the solution. Do you konw how to solve it?

Thank you very much!!

Keting Guo

@guoketing
Copy link
Author

The build log is as follow:

TF_ABI=0
TF_LIB_FILE=C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\python_pywrap_tensorflow_internal.lib
OPENMP Found
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Keting/.julia/packages/ADSeismic/WUrz9/deps/CustomOps/build
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

cl : 命令行 warning D9002: 忽略未知选项“--std=c++11” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
cl : 命令行 warning D9002: 忽略未知选项“-fopenmp” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
GetReceive.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocale(319): warning C4530: 使用了 C++ 异常处理程序,但未启用展开语义。请指定 /EHsc [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
c:\users\keting.julia\adcme\lib\site-packages\tensorflow_core\include\eigen\src/Core/arch/Default/Half.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(262): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(261): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(262): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(262): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(262): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(263): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(264): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(265): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(266): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): warning C4003: 类函数宏的调用“max”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/default/logging.h(267): error C2143: 语法错误: 缺少“;”(在“{”的前面) [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/lib/core/error_codes.pb.h(80): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/types.pb.h(108): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(106): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(133): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\google/protobuf/type.pb.h(158): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/platform/tensor_coding.h(46): error C2059: 语法错误:“)” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/framework/api_def.pb.h(90): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/verifier_config.pb.h(72): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(94): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(120): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/rewriter_config.pb.h(150): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(152): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(179): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): warning C4003: 类函数宏的调用“min”参数不足 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2589: “(”:“::”右边的非法标记 [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C2062: 意外的类型“unknown-type” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
C:\Users\Keting.julia\adcme\lib\site-packages\tensorflow_core\include\tensorflow/core/protobuf/config.pb.h(206): error C3805: “类型”: 意外标记,应输入“}”或者“,” [C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\CustomOps\build\ADSeismic.vcxproj]
[ Info: Changed to directory C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps/CustomOps/build
ERROR: LoadError: failed process: Process(cmd /c 'C:\Users\Keting\.julia\packages\CMake\ULbyn\deps\usr\bin\cmake.exe' --build . -j --target ALL_BUILD --config Release, ProcessExited(1)) [1]

Stacktrace:
[1] pipeline_error
@ .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:440
[3] run
@ .\process.jl:438 [inlined]
[4] make()
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\extra.jl:94
[5] #3
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:9 [inlined]
[6] require_library(func::var"#3#4", filename::String)
@ ADCME C:\Users\Keting.julia\packages\ADCME\94vEM\src\toolchain.jl:217
[7] top-level scope
@ C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8
[8] include(fname::String)
@ Base.MainInclude .\client.jl:444
[9] top-level scope
@ none:5
in expression starting at C:\Users\Keting.julia\packages\ADSeismic\WUrz9\deps\build.jl:8

@tianwen220
Copy link

I also face with it . do you solve it.

@guoketing
Copy link
Author

If your os is windows, install the Microsoft Visual studio 2017 or upper version.

@tianwen220
Copy link

tianwen220 commented Apr 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants