Bottom Page

Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Installing Tensorflow-GPU Help
#1
When using MSBuild to build the whl file to activate my tensorflow installation, I have encounter some problems... Any experts here can help me with my problem?

Error:
------------------------------------------------------------------------------------------------------
"c:\tensorflow\tensorflow\contrib\cmake\build\tf_python_build_pip_package.vcxproj" (default target) (1) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal.vcxproj" (default target) (3) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal_static.vcxproj" (default target) (4) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_c.vcxproj" (default target) (5) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_cc_framework.vcxproj" (default target) (6) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_framework.vcxproj" (default target) (7) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\proto_text.vcxproj" (default target) (8) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj" (default target) (12) ->
(Lib target) ->
random_distributions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that
consumes this library [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]


"c:\tensorflow\tensorflow\contrib\cmake\build\tf_python_build_pip_package.vcxproj" (default target) (1) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal.vcxproj" (default target) (3) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal_static.vcxproj" (default target) (4) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj" (default target) (127) ->
(ClCompile target) ->
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_graph.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_code.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_op.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_scope.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_show.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_show_multi.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]
C:\tensorflow\tensorflow/c/c_api.h(1082): warning C4190: 'TF_NewWhile' has C-linkage specified, but returns UDT 'TF_WhileParams' which is incompatible with C (compiling
source file C:\tensorflow\tensorflow\core\profiler\internal\tfprof_stats.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_profiler.vcxproj]


"c:\tensorflow\tensorflow\contrib\cmake\build\tf_python_build_pip_package.vcxproj" (default target) (1) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal.vcxproj" (default target) (3) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal_static.vcxproj" (default target) (4) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_stream_executor.vcxproj" (default target) (131) ->
C:\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc(137): warning C4068: unknown pragma [C:\tensorflow\tensorflow\contrib\cmake\build\tf_stream_executor.vcxpro
j]
C:\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc(138): warning C4068: unknown pragma [C:\tensorflow\tensorflow\contrib\cmake\build\tf_stream_executor.vcxpro
j]
C:\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc(224): warning C4068: unknown pragma [C:\tensorflow\tensorflow\contrib\cmake\build\tf_stream_executor.vcxpro
j]
C:\tensorflow\tensorflow/stream_executor/lib/statusor.h(191): warning C4180: qualifier applied to function type has no meaning; ignored (compiling source file C:\tensor
flow\tensorflow\stream_executor\plugin_registry.cc) [C:\tensorflow\tensorflow\contrib\cmake\build\tf_stream_executor.vcxproj]


"c:\tensorflow\tensorflow\contrib\cmake\build\tf_python_build_pip_package.vcxproj" (default target) (1) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal.vcxproj" (default target) (3) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal_static.vcxproj" (default target) (4) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_c.vcxproj" (default target) (5) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_cc_framework.vcxproj" (default target) (6) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\tf_core_framework.vcxproj" (default target) (7) ->
"C:\tensorflow\tensorflow\contrib\cmake\build\proto_text.vcxproj" (default target) (8) ->
(Link target) ->
libprotobuf.lib(text_format.obj) : error LNK2019: unresolved external symbol __std_reverse_trivially_swappable_8 referenced in function "void __cdecl std::_Buffered_inp
lace_merge_divide_and_conquer2<class google::protobuf::Message const * *,class google::protobuf::DynamicMapSorter::MapEntryMessageComparator>(class google::protobuf::Mess
age const * *,class google::protobuf::Message const * *,class google::protobuf::Message const * *,__int64,__int64,class google::protobuf::Message const * * const,__int64,
class google::protobuf::DynamicMapSorter::MapEntryMessageComparator,class google::protobuf::Message const * *,class google::protobuf::Message const * *,__int64,__int64)"
(??$_Buffered_inplace_merge_divide_and_conquer2@PEAPEBVMessage@protobuf@google@@VMapEntryMessageComparator@DynamicMapSorter@23@@std@@YAXPEAPEBVMessage@protobuf@google@@00
_J1QEAPEBV123@_JVMapEntryMessageComparator@DynamicMapSorter@23@0011@Z) [C:\tensorflow\tensorflow\contrib\cmake\build\proto_text.vcxproj]
libprotobuf.lib(wire_format.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 [C:\tensorflow\tensorflow\contrib\cmake\build\proto_tex
t.vcxproj]
C:\tensorflow\tensorflow\contrib\cmake\build\Release\proto_text.exe : fatal error LNK1120: 1 unresolved externals [C:\tensorflow\tensorflow\contrib\cmake\build\proto_te
xt.vcxproj]

12 Warning(s)
3 Error(s)
------------------------------------------------------------------------------------------------------
Wall Wall
Quote
#2
this issue is discussed here: https://github.com/tensorflow/tensorflow/issues/17012
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing tensorflow Blue Dog 7 472 Nov-10-2019, 11:54 PM
Last Post: snippsat
  Installing Tensorflow-GPU junzhi 2 1,084 Sep-30-2018, 07:43 AM
Last Post: junzhi
  Installing Tensorflow Scott 14 12,587 Jun-04-2018, 04:07 AM
Last Post: Scott

Forum Jump:


Users browsing this thread: 1 Guest(s)