For sure. Reliving my old DOS days :)
Possibly you could add something like that to your script with finding reg.exe, just in case.
Thank you. This is really poor show by Microsoft, but I have come to expect things like that from them.
PROBLEM SOLVED! The script uses "reg query" to find the path to the Kits folder. This is part of "reg.exe" which is in the System32 folder. Microsoft, in their infinite wisdom, does not check if the the System32 path is included in the environment path. When I added it to my environment path all worked as it was supposed to. And OWLNext worked fine. Maybe you could mention that the "C:\Windows\System32" path needs to be in the environment so that reg.exe can be found.
When running with non-administrator these are the includes INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include When running as administrator they are: INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include;C:\Program Files\Microsoft Visual...
Thanks for the replies. I install Visual Studio just using its default directories. The installer is in "Program Files (x86)" and the Community version is in "Program Files", Before you do any changing to OWLMaker, I would like to find out why I need the elevated privileges. This never seemed to happed before VS 2022
What I have found out is if I run the Developer Command Prompts for Visual Studio via the Administrator then all the environment paths are there and the OWLNext compile works through that command line. If I run OWLMaker as the administrator the necessary environment paths are still not found by "VcVarsAll.bat". It seems it is running as a non-administrator. when using OWLMaker.
They are already selected. Thanks for all your help. I know what the problem is now. Somehow Visual Studio is not seeing the Windows Kit. I will work on that. I will uninstall all references to Visual Studio and the Kit and try to start over.
I do not have any of those Windows Kits included
Yes, that is where the "VcVarsAll.bat" is. I did try the build using the pre-configured x64 command prompt.
I just tried building from the command line using vcmake, but I get the same error.
I am trying to build OWLNext 7.12. I am presently using 7.11. I can't exactly remember when I built it. I tried OWLMaker 6734 with the same error.
Thanks for the reply. Yes, that is where the file is on my computer as well. I just tried uninstalling VS and reinstalling the C++ desktop application again. But I get the same error result with OwlMaker. I can build by projects fine within Visual Studio. Maybe I am overlooking something simple. BTW I use Windows 11.
Using the latest OwlMaker 6900 and Visual Studio 2022 I get the error: ....\include\owl/private/memory.h(18,1): fatal C1083: Cannot open include file: 'tchar.h': No such file or directory I did not get this error prior to upgrading to Visual Studio 2022 from 2019. Any help would be greatly appreciated.