Closed ZeitHeld closed 1 year ago
Uninstall all Visual Studio except Visual Studio 2019.
I uninstalled all of VS 2017, 2019 and 2022. I now downloaded the latest VSCommunity 2019 (idk how to get a sepcific if I need one) and installed those build tools and win10 sdk's again. as I don't know aynmore which, I downlaoded a few odler ones too.
Now I tried to let it build/compile in VSCode and got this error again
source/Achievements.hx:132: characters 30-54 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
Compiling group: haxe
cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/ -IC:/HaxeToolkit/haxe/lib/linc_luajit/git//linc/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/include/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\Held der Zeit\Desktop\fnf source codes\og builds from other engines\psych 0.6.3\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/4,2,1/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
- src/lime/utils/AssetCache.cpp [haxe,release]
Error: AssetCache.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "crtdbg.h": No such file or directory
I have seen this issue/problem before, and dunno how to fix it as I am "missing something" and on here it wasn't really solved yet. Or not that I right now know of
So, I want to know, how do I continue from here on?
Have you installed the following?
installed is:
I read somewhere else, that a newer version should be fine too, but Imma uninstall the newer ones, and get the EXACT one of the SDK right now
source/Achievements.hx:199: characters 30-54 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
Compiling group: haxe
cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/ -IC:/HaxeToolkit/haxe/lib/linc_luajit/git//linc/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/include/ -I C:/HaxeToolkit/haxe/lib/hxCodec/2,5,1/lib/vlc/src/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\Held der Zeit\Desktop\fnf source codes\og builds from other engines\psych 0.6.3\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/4,2,1/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
- src/Achievements.cpp
- src/AchievementObject.cpp
- src/lime/utils/AssetCache.cpp [haxe,release]
Error: Achievements.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "crtdbg.h": No such file or directory
Error: AssetCache.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "crtdbg.h": No such file or directory
Error: AchievementObject.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h(12): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "crtdbg.h": No such file or directory
Still a deprecated warning, and for some quacking reason, it won't install that stupid file on my pc... does it have personal infos? like, pc stuff? or could I technically just take it from the internet?
Also now thinking about it, I think I had a similar error before, when trying to mod Minecraft I think. Or something else. It also had a single file missing
Btw, I am trying to let it build Windows/Debug, and selected the master folder. so with art, assets and docs, etc. In case that it is important
Describe your problem here.
Okay, so, I am new to making Source Code, mainly because I tried once and didn't really succeed, but that is not important.
I already looked up some Issues here on errors I had (like with the zoom) and it helped a bit. But with the VSCommunity Stuff, I got a bit confused, and tried to follow what was done.
A few more details come below, first the error message:
After that, I deinstalled VS2022 hoping it would fix it. but somehow it won't use the 2019 version. And now I got this error: (Also note, that I have not 32 bits, and it does that to me - I do not know how to change thtt)
I already tried looking up a "tutorial" on Youtube, but there aren't really any useful ones, or good ones, that even are relatively up-to-date.
It just hurts to see how I try and always get errors literally. I am not doing that much wrong, am I?
I dunno what to do. Might would need to re-install everything or that
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
not yet