我一直在关注MS here提供的教程。用
构建ELL时cmake --build。 --config Release
我的构建失败了。通过进一步搜索,我发现问题是.core项目构建后存在obj \ project.assets.json。通过在其他地方移动新的核心项目 obj ,我能够在原始回购中解决问题。现在进一步构建会出现以下错误。
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(126):
> error C3536: 'srcIt': cannot be used before it is initialized
> [C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj]
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(126):
> error C3861: 'MakeParallelTransformIterator': identifier not found
> [C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj]
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(131):
> error C2228: left of '.IsValid' must have class/struct/union
> [C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj]
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(131):
> note: type is 'unknown-type'
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(133):
> error C2228: left of '.Get' must have class/struct/union
> [C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj]
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(133):
> note: type is 'unknown-type'
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(134):
> error C2228: left of '.Next' must have class/struct/union
> [C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj]
> c:\users\rahul\documents\ell\ell\libraries\utilities\test\src\iterator_test.cpp(134):
> note: type is 'unknown-type' Done Building Project
> "C:\Users\Rahul\Documents\ELL\ELL\build\libraries\utilities\utilities_test.vcxproj"
> (default targets) -- FAILED. Done Building Project
> "C:\Users\Rahul\Documents\ELL\ELL\build\ALL_BUILD.vcxproj" (default
> targets) -- FAILED.
>
> Build FAILED
我在下面附上完整的构建日志。有没有临时修复?