SaphiGoat
(SaphiGoat)
June 14, 2020, 2:04pm
1
Hello there,
I was tyring the programming tutorial, but VS2019 show me 10k+ Erros, the project-code compiles, but this amount of errors breaks intellisense.
https://docs.unrealengine.com/en-US/…art/index.html
I already made the VS-setup part
https://docs.unrealengine.com/en-US/…s,andsquiggles
but I don’t understand why there are so many errors listed in Visual Studio?
Is there something I missed during the setup?
Edit: if I try to build the project, then I got the following error:
1>------ Build started: Project: CppTut, Configuration: Development_Editor x64 ------
1>Building CppTutEditor…
1>Using Visual Studio 2019 14.26.28806 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 4 actions with 8 processes…
1> [1/4] FloatingActor.cpp
1> [2/4] UE4Editor-CppTut-0002.dll
1>LINK : fatal error LNK1104: cannot open file ‘D:\Unreal\Unreal Projects\CppTut\Binaries\Win64\UE4Editor-CppTut-0002.dll’
1> [3/4] UE4Editor-CppTut-0002.lib
1> Creating library D:\Unreal\Unreal Projects\CppTut\Intermediate\Build\Win64\UE4Editor\Development\CppTut\UE4Editor-CppTut-0002.lib and object D:\Unreal\Unreal Projects\CppTut\Intermediate\Build\Win64\UE4Editor\Development\CppTut\UE4Editor-CppTut-0002.exp
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command “chcp 65001 >NUL && D:\Unreal\UE_4.25\Engine\Build\BatchFiles\Build.bat CppTutEditor Win64 Development -Project=“D:\Unreal\Unreal Projects\CppTut\CppTut.uproject” -WaitMutex -FromMsBuild” exited with code 6.
1>Done building project “CppTut.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
compiling in the UE-Editor seams to work but not in Visual-Studio.
Did you disable the error list like this doc suggests? https://docs.unrealengine.com/en-US/…tup/index.html
Sometimes VS shows false positives…
As I know if at the end there’s no fail in building you shouldn’t worry, UE c++ is different from normal c++ that’s why many “errors” might appear.
Edit 1: Your error seems to be here:
SolidSk
(SolidSk)
June 17, 2020, 12:13am
3
When this happens to me, it is usually due to errors in my code.
Try to pay attention to the last errors or first errors that are shown in the Error List window, they are usually errors in your code.
You can create a blank C++ project and without adding code try to compile it, see if the same errors are shown.
I have too mostly the same amount of errors (like) 13,200 but there’s no problem with compiling. See in my output tab there’s “Build + Intellisense”, when I select “build only” there are no errors.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_195334_1592371286064_148”,“title”:“VS1.png”}[/ATTACH]
SaphiGoat
(SaphiGoat)
June 17, 2020, 2:11pm
5
SolidSk:
When this happens to me, it is usually due to errors in my code.
Try to pay attention to the last errors or first errors that are shown in the Error List window, they are usually errors in your code.
You can create a blank C++ project and without adding code try to compile it, see if the same errors are shown.
This is a blank Project ^^
I can display the Build Only errors, but Intellisene still does not work.