{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/21123","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/21123/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/21123/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/21123/events","html_url":"https://github.com/tensorflow/tensorflow/issues/21123","id":344372293,"node_id":"MDU6SXNzdWUzNDQzNzIyOTM=","number":21123,"title":"Unresolved External Symbol: public: double __cdecl double_conversion::StringToDoubleConverter::StringToDouble(char const *,int,int *)const","user":{"login":"MennoK","id":3978425,"node_id":"MDQ6VXNlcjM5Nzg0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3978425?v=4","gravatar_id":"","url":"https://api.github.com/users/MennoK","html_url":"https://github.com/MennoK","followers_url":"https://api.github.com/users/MennoK/followers","following_url":"https://api.github.com/users/MennoK/following{/other_user}","gists_url":"https://api.github.com/users/MennoK/gists{/gist_id}","starred_url":"https://api.github.com/users/MennoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MennoK/subscriptions","organizations_url":"https://api.github.com/users/MennoK/orgs","repos_url":"https://api.github.com/users/MennoK/repos","events_url":"https://api.github.com/users/MennoK/events{/privacy}","received_events_url":"https://api.github.com/users/MennoK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T09:51:16Z","updated_at":"2018-07-25T14:48:37Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: N/A\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Windows 10\r\n- **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device**: N/A\r\n- **TensorFlow installed from (source or binary)**: source\r\n- **TensorFlow version (use command below)**: r1.9\r\n- **Python version**: 3.5\r\n- **Bazel version (if compiling from source)**: N/A\r\n- **GCC/Compiler version (if compiling from source)**: Cmake 3.10.2, swigwin 3.0.12, Visual studio 2015 v140\r\n- **CUDA/cuDNN version**: N/A\r\n- **GPU model and memory**: N/A\r\n- **Exact command to reproduce**:  I followed to CMake tutorial here: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/cmake TensorFlow CMake build\r\n\r\n### Describe the problem\r\nError when compiling a sample program in Visual Studio:\r\n\r\n- Severity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tLNK2019\tunresolved external symbol \"public: double __cdecl double_conversion::StringToDoubleConverter::StringToDouble(char const *,int,int *)const \" (?StringToDouble@StringToDoubleConverter@double_conversion@@QEBANPEBDHPEAH@Z) referenced in function \"bool __cdecl tensorflow::strings::safe_strtod(char const *,double *)\" (?safe_strtod@strings@tensorflow@@YA_NPEBDPEAN@Z)\tTensorFlow r1.9\tD:\\GIT\\All\\TensorFlow.plugin\\tf_core_lib.lib(numbers.obj)\t1\t\r\n- Severity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tLNK2019\tunresolved external symbol \"public: float __cdecl double_conversion::StringToDoubleConverter::StringToFloat(char const *,int,int *)const \" (?StringToFloat@StringToDoubleConverter@double_conversion@@QEBAMPEBDHPEAH@Z) referenced in function \"unsigned __int64 __cdecl tensorflow::strings::FloatToBuffer(float,char *)\" (?FloatToBuffer@strings@tensorflow@@YA_KMPEAD@Z)\tTensorFlow r1.9\tD:\\GIT\\All\\TensorFlow.plugin\\tf_core_lib.lib(numbers.obj)\t1\t\r\n\r\nIs there any additional dependency that I am missing? Check below for the list. Thanks\r\n\r\n### Source code / logs\r\n\r\nSample program:\r\n\r\n```\r\n#include \"stdafx.h\"\r\n\r\n#include <vector>\r\n#include <eigen/Dense>\r\n\r\n#include \"matmul.h\"\r\n#include \"tensorflow/core/public/session.h\"\r\n#include \"tensorflow/cc/ops/standard_ops.h\"\r\n\r\nusing namespace tensorflow;\r\n\r\n\r\nint main()\r\n{\r\n\tScope root = `Scope::NewRootScope();\r\n}\r\n```\r\n\r\nAdditional Dependencies:\r\n\r\n```\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\zlib\\install\\lib\\zlibstatic.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\gif\\install\\lib\\giflib.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\png\\install\\lib\\libpng16_static.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\jpeg\\install\\lib\\libjpeg.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\lmdb\\install\\lib\\lmdb.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\jsoncpp\\src\\jsoncpp\\src\\lib_json\\Release\\jsoncpp.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\farmhash\\install\\lib\\farmhash.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\fft2d\\\\src\\lib\\fft2d.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\highwayhash\\install\\lib\\highwayhash.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\nsync\\src\\nsync\\Release\\nsync.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\snappy\\src\\snappy\\Release\\snappy.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\protobuf\\src\\protobuf\\Release\\libprotobuf.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_string_ops.dir\\Release\\tf_string_ops.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_cc.dir\\Release\\tf_cc.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_cc_ops.dir\\Release\\tf_cc_ops.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_cc_framework.dir\\Release\\tf_cc_framework.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_lib.dir\\Release\\tf_core_lib.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_cpu.dir\\Release\\tf_core_cpu.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_direct_session.dir\\Release\\tf_core_direct_session.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_framework.dir\\Release\\tf_core_framework.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_kernels.dir\\Release\\tf_core_kernels.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_core_ops.dir\\Release\\tf_core_ops.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\tf_cc_while_loop.dir\\Release\\tf_cc_while_loop.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\Release\\tf_protos_cc.lib\r\nTensorFlow\\r1.9\\tensorflow\\contrib\\cmake\\build\\sqlite\\install\\lib\\sqlite.lib\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/407781341","html_url":"https://github.com/tensorflow/tensorflow/issues/21123#issuecomment-407781341","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/21123","id":407781341,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc4MTM0MQ==","user":{"login":"MennoK","id":3978425,"node_id":"MDQ6VXNlcjM5Nzg0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3978425?v=4","gravatar_id":"","url":"https://api.github.com/users/MennoK","html_url":"https://github.com/MennoK","followers_url":"https://api.github.com/users/MennoK/followers","following_url":"https://api.github.com/users/MennoK/following{/other_user}","gists_url":"https://api.github.com/users/MennoK/gists{/gist_id}","starred_url":"https://api.github.com/users/MennoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MennoK/subscriptions","organizations_url":"https://api.github.com/users/MennoK/orgs","repos_url":"https://api.github.com/users/MennoK/repos","events_url":"https://api.github.com/users/MennoK/events{/privacy}","received_events_url":"https://api.github.com/users/MennoK/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T14:48:37Z","updated_at":"2018-07-25T14:48:37Z","author_association":"NONE","body":"Solved by including double-conversion.lib"}}
{"actor":{"display_login":"MennoK"}}