{"action":"closed","issue":{"url":"https://api.github.com/repos/davisking/dlib/issues/211","repository_url":"https://api.github.com/repos/davisking/dlib","labels_url":"https://api.github.com/repos/davisking/dlib/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/davisking/dlib/issues/211/comments","events_url":"https://api.github.com/repos/davisking/dlib/issues/211/events","html_url":"https://github.com/davisking/dlib/issues/211","id":174300628,"number":211,"title":"\"Deep Learning Introduction Part 1\" example build error issue","user":{"login":"triplekimchi","id":21364895,"avatar_url":"https://avatars.githubusercontent.com/u/21364895?v=3","gravatar_id":"","url":"https://api.github.com/users/triplekimchi","html_url":"https://github.com/triplekimchi","followers_url":"https://api.github.com/users/triplekimchi/followers","following_url":"https://api.github.com/users/triplekimchi/following{/other_user}","gists_url":"https://api.github.com/users/triplekimchi/gists{/gist_id}","starred_url":"https://api.github.com/users/triplekimchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triplekimchi/subscriptions","organizations_url":"https://api.github.com/users/triplekimchi/orgs","repos_url":"https://api.github.com/users/triplekimchi/repos","events_url":"https://api.github.com/users/triplekimchi/events{/privacy}","received_events_url":"https://api.github.com/users/triplekimchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-31T15:14:54Z","updated_at":"2016-08-31T18:52:03Z","closed_at":"2016-08-31T18:52:03Z","body":"[build environment]\r\nOS: Windows 7 x64  \r\nCompiler: Visual Studio 2015 Community\r\n\r\n[building steps]\r\n1. add \"dlib/all/source.cpp\" to my project in visual studio 2015\r\n2. include the directory of dlib folder's parent folder for includes\r\n3. build\r\n\r\n[Error messages]\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tLNK1120\t19 unresolved externals\tdlib_example\tc:\\users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\Release\\dlib_example.exe\t1\t\r\nWarning\tC4819\tThe file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss\tdlib_example\tc:\\users\\PC1\\desktop\\dlib-19.1\\dlib-19.1\\dlib\\general_hash\\random_hashing.h\t685\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::relu(class dlib::tensor &,class dlib::tensor const &)\" (?relu@tt@dlib@@YAXAAVtensor@2@ABV32@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::assign_bias_gradient(class dlib::tensor &,class dlib::tensor const &)\" (?assign_bias_gradient@tt@dlib@@YAXAAVtensor@2@ABV32@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::relu_gradient(class dlib::tensor &,class dlib::tensor const &,class dlib::tensor const &)\" (?relu_gradient@tt@dlib@@YAXAAVtensor@2@ABV32@1@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::gemm(float,class dlib::tensor &,float,class dlib::tensor const &,bool,class dlib::tensor const &,bool)\" (?gemm@tt@dlib@@YAXMAAVtensor@2@MABV32@_N12@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::softmax(class dlib::tensor &,class dlib::tensor const &)\" (?softmax@tt@dlib@@YAXAAVtensor@2@ABV32@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::add(float,class dlib::tensor &,float,class dlib::tensor const &)\" (?add@tt@dlib@@YAXMAAVtensor@2@MABV32@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::add(class dlib::tensor &,class dlib::tensor const &,class dlib::tensor const &)\" (?add@tt@dlib@@YAXAAVtensor@2@ABV32@1@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::affine_transform(class dlib::tensor &,class dlib::tensor const &,float)\" (?affine_transform@tt@dlib@@YAXAAVtensor@2@ABV32@M@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::affine_transform(class dlib::tensor &,class dlib::tensor const &,class dlib::tensor const &,float,float)\" (?affine_transform@tt@dlib@@YAXAAVtensor@2@ABV32@1MM@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::affine_transform(class dlib::tensor &,class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor const &,float,float,float)\" (?affine_transform@tt@dlib@@YAXAAVtensor@2@ABV32@11MMM@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::affine_transform_range(unsigned int,unsigned int,class dlib::tensor &,class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor const &,float,float,float)\" (?affine_transform_range@tt@dlib@@YAXIIAAVtensor@2@ABV32@11MMM@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"void __cdecl dlib::tt::assign_conv_bias_gradient(class dlib::tensor &,class dlib::tensor const &)\" (?assign_conv_bias_gradient@tt@dlib@@YAXAAVtensor@2@ABV32@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::pooling::get_gradient(class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor &)\" (?get_gradient@pooling@cpu@dlib@@QAEXABVtensor@3@00AAV43@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::pooling::operator()(class dlib::resizable_tensor &,class dlib::tensor const &)\" (??Rpooling@cpu@dlib@@QAEXAAVresizable_tensor@2@ABVtensor@2@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::pooling::setup_max_pooling(int,int,int,int,int,int)\" (?setup_max_pooling@pooling@cpu@dlib@@QAEXHHHHHH@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: __thiscall dlib::cpu::pooling::pooling(void)\" (??0pooling@cpu@dlib@@QAE@XZ)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::tensor_conv::get_gradient_for_filters(class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor &)\" (?get_gradient_for_filters@tensor_conv@cpu@dlib@@QAEXABVtensor@3@0AAV43@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::tensor_conv::get_gradient_for_data(class dlib::tensor const &,class dlib::tensor const &,class dlib::tensor &)\" (?get_gradient_for_data@tensor_conv@cpu@dlib@@QAEXABVtensor@3@0AAV43@@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\nError\tLNK2001\tunresolved external symbol \"public: void __thiscall dlib::cpu::tensor_conv::operator()(class dlib::resizable_tensor &,class dlib::tensor const &,class dlib::tensor const &,int,int,int,int)\" (??Rtensor_conv@cpu@dlib@@QAEXAAVresizable_tensor@2@ABVtensor@2@1HHHH@Z)\tdlib_example\tc:\\Users\\PC1\\documents\\visual studio 2015\\Projects\\dlib_example\\dlib_example\\main.obj\t1\t\r\n\r\n-------------------------------------------------------------------------------------------------------\r\n\r\nI've also tried using \"CMake\" but had simular symbol error in version 3.6.1 \r\n\r\nWhile building with CMake, it prints -->\r\n-- Performing Test COMPILER_SUPPORTS_CXX11\r\n-- Performing Test COMPILER_SUPPORTS_CXX11 - Success\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X - Failed\r\n-- C++11 activated (compiler doesn't have full C++11 support).\r\n\r\nDoes this effect to building example?"}}
{"actor":{"display_login":"davisking"}}