{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/CNTK/issues/26","repository_url":"https://api.github.com/repos/Microsoft/CNTK","labels_url":"https://api.github.com/repos/Microsoft/CNTK/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/CNTK/issues/26/comments","events_url":"https://api.github.com/repos/Microsoft/CNTK/issues/26/events","html_url":"https://github.com/Microsoft/CNTK/issues/26","id":128863628,"number":26,"title":"undefined reference to `bool Microsoft::MSR::CNTK::CheckFunction<float>","user":{"login":"pannous","id":516118,"avatar_url":"https://avatars.githubusercontent.com/u/516118?v=3","gravatar_id":"","url":"https://api.github.com/users/pannous","html_url":"https://github.com/pannous","followers_url":"https://api.github.com/users/pannous/followers","following_url":"https://api.github.com/users/pannous/following{/other_user}","gists_url":"https://api.github.com/users/pannous/gists{/gist_id}","starred_url":"https://api.github.com/users/pannous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pannous/subscriptions","organizations_url":"https://api.github.com/users/pannous/orgs","repos_url":"https://api.github.com/users/pannous/repos","events_url":"https://api.github.com/users/pannous/events{/privacy}","received_events_url":"https://api.github.com/users/pannous/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/CNTK/labels/area%20build","name":"area build","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/CNTK/labels/need%20more%20info","name":"need more info","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-26T16:00:39Z","updated_at":"2016-02-22T16:17:01Z","closed_at":"2016-02-22T16:17:01Z","body":" somehow the compiler gets confused by the template\r\n\r\n`template <typename ElemType>\r\nbool CheckFunction(std::string& p_nodeType, bool* allowUndeterminedVariable = nullptr);`\r\n\r\n```\r\n=-----------------------------------------------------------=\r\nmpic++  -shared -L./lib -L/opt/acml5.3.1/ifort64_mp/lib -L/opt/opencv-3.0.0/release/lib -Wl,-rpath,'$ORIGIN' -Wl,-rpath,/opt/acml5.3.1/ifort64_mp/lib -Wl,-rpath,/opt/opencv-3.0.0/release/lib -o lib/ImageReader.so .build/Source/Readers/ImageReader/Exports.o .build/Source/Readers/ImageReader/ImageReader.o -lcntkmath -lopencv_core -lopencv_imgproc -lopencv_imgcodecs\r\n=-----------------------------------------------------------=\r\nbuilding output for with build type release\r\nmpic++  -L./lib -L/opt/acml5.3.1/ifort64_mp/lib -L/opt/opencv-3.0.0/release/lib -Wl,-rpath,'$ORIGIN/../lib' -Wl,-rpath,/opt/acml5.3.1/ifort64_mp/lib -Wl,-rpath,/opt/opencv-3.0.0/release/lib -o bin/cntk Source/CNTK/buildinfo.h .build/Source/CNTK/CNTK.o .build/Source/CNTK/ModelEditLanguage.o .build/Source/CNTK/NetworkDescriptionLanguage.o .build/Source/CNTK/SimpleNetworkBuilder.o .build/Source/CNTK/SynchronousExecutionEngine.o .build/Source/CNTK/tests.o .build/Source/ComputationNetworkLib/ComputationNode.o .build/Source/ComputationNetworkLib/ComputationNetwork.o .build/Source/ComputationNetworkLib/ComputationNetworkEvaluation.o .build/Source/ComputationNetworkLib/ComputationNetworkAnalysis.o .build/Source/ComputationNetworkLib/ComputationNetworkEditing.o .build/Source/ComputationNetworkLib/ComputationNetworkBuilder.o .build/Source/ComputationNetworkLib/ComputationNetworkScripting.o .build/Source/SGDLib/Profiler.o .build/Source/SGDLib/SGD.o .build/Source/ActionsLib/TrainActions.o .build/Source/ActionsLib/EvalActions.o .build/Source/ActionsLib/OtherActions.o .build/Source/ActionsLib/SpecialPurposeActions.o .build/Source/SequenceTrainingLib/latticeforwardbackward.o .build/Source/SequenceTrainingLib/parallelforwardbackward.o .build/Source/CNTK/BrainScript/BrainScriptEvaluator.o .build/Source/CNTK/BrainScript/BrainScriptParser.o .build/Source/CNTK/BrainScript/BrainScriptTest.o .build/Source/CNTK/BrainScript/ExperimentalNetworkBuilder.o .build/Source/Common/BestGpu.o .build/Source/Common/MPIWrapper.o .build/Source/SequenceTrainingLib/latticeNoGPU.o  -lacml_mp -liomp5 -lm -lpthread -lcntkmath -fopenmp\r\n.build/Source/CNTK/CNTK.o: In function `Microsoft::MSR::CNTK::NDLScript<float>::CheckName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':\r\n/home/me/CNTK-r2016-01-26/Source/CNTK/NetworkDescriptionLanguage.h:800: undefined reference to `bool Microsoft::MSR::CNTK::CheckFunction<float>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool*)'\r\n.build/Source/CNTK/CNTK.o: In function `Microsoft::MSR::CNTK::NDLScript<float>::NDLScript(Microsoft::MSR::CNTK::ConfigValue const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)':\r\n/home/me/CNTK-r2016-01-26/Source/CNTK/NetworkDescriptionLanguage.h:525: undefined reference to `bool Microsoft::MSR::CNTK::CheckFunction<float>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool*)'\r\n.build/Source/CNTK/CNTK.o: In function `Microsoft::MSR::CNTK::NDLScript<float>::ParseValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)':\r\n/home/me/CNTK-r2016-01-26/Source/CNTK/NetworkDescriptionLanguage.h:1022: undefined reference to `bool Microsoft::MSR::CNTK::CheckFunction<float>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool*)'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:494: recipe for target 'bin/cntk' failed\r\nmake: *** [bin/cntk] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/CNTK/issues/comments/187249857","html_url":"https://github.com/Microsoft/CNTK/issues/26#issuecomment-187249857","issue_url":"https://api.github.com/repos/Microsoft/CNTK/issues/26","id":187249857,"user":{"login":"wolfma61","id":15247925,"avatar_url":"https://avatars.githubusercontent.com/u/15247925?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfma61","html_url":"https://github.com/wolfma61","followers_url":"https://api.github.com/users/wolfma61/followers","following_url":"https://api.github.com/users/wolfma61/following{/other_user}","gists_url":"https://api.github.com/users/wolfma61/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfma61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfma61/subscriptions","organizations_url":"https://api.github.com/users/wolfma61/orgs","repos_url":"https://api.github.com/users/wolfma61/repos","events_url":"https://api.github.com/users/wolfma61/events{/privacy}","received_events_url":"https://api.github.com/users/wolfma61/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T16:17:01Z","updated_at":"2016-02-22T16:17:01Z","body":"Closing since there has been no further information from 'pannous'"}}