winapi - Build twnsorflow for win32 -


i trying build tensorflow win32 cmake. fine until hit line: libprotobuf.lib(descriptor.obj) : fatal error lnk1112: module machine type 'x64' conflicts target machine type 'x86' [a:\src\tensorflow\tensorflow\contrib\cmake\build32\proto_text.vcxproj]

upon checking, libprotobuf.lib indeed built x64 binary.

so should change make build win32 library?

this problem resolved. apparently during building, tensorflow downloads protobuf, , generated project file has target machine set x64. easy fix.

now have encountered new problem: during building of pywrap_tensorflow_internal project, following link error happened: error lnk2001: unresolved external symbol "public: virtual __cdecl tensorflow::opdef::~opdef(void)"

it looks project using __cdecl calling convention while ~opdef destructor using __thiscall. , can't change calling convention of class destructor. have no idea how happen.

any idea on how fix calling convention mismatch issue?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -