Open QuellaZhang opened 6 years ago
Have you followed this ? https://docs.microsoft.com/en-us/cognitive-toolkit/Setup-CNTK-on-Windows
Any updates?
@thiagocrepaldi Yes, we built CNTK according to the page you mentioned. Could you help look at this? This issue still exists.
CNTK failed with error C3861 and C2440 when build with permissive- on Windows, I use latest source on master branch. Could you please help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
You can repro this issue as the steps below:
Error info: d:\cntk\src\source\common\include\numahelpers.h(47): error C3861: 'ppl_cores': identifier not found d:\cntk\src\source\common\include\numahelpers.h(64): error C3861: 'getcurrentnode': identifier not found d:\cntk\src\source\computationnetworklib\NonlinearityNodes.h(502): error C3861: 'GradientPtrRef': identifier not found d:\cntk\src\source\computationnetworklib\NonlinearityNodes.h(553): note: see reference to class template instantiation 'Microsoft::MSR::CNTK::TopKNode' being compiled
ReshapingNodes.cpp(570): error C3861: 'ValuePtrRef': identifier not found
ReshapingNodes.cpp(645): error C3861: 'ValuePtrRef': identifier not found
TrainingNodes.cpp(180): error C3861: 'ValuePtrRef': identifier not found
DSSMReader.cpp(203): error C2440: 'initializing': cannot convert from 'std::string' to 'Microsoft::MSR::CNTK::ConfigParameters'
DSSMReader.cpp(203): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called