quazi Posted October 14 Posted October 14 So I have maxed out my env var path length in windows and have not hacked it in registry to accept more environment variables in the path. My question is how do i re-run the env variable insert stuff that automatically happens? Or better yet. What are those variables? .. Because builds don't work for me due to the engines path vars missing i think. 1 Quote
Josh Posted October 14 Posted October 14 See the section called "Environment Variable" on this page: https://www.leadwerks.com/learn/Programming?lang=cpp This has all the information about it. 1 Quote Let's build cool stuff and have fun.
quazi Posted October 14 Author Posted October 14 Getting a strange new problem when trying to compile on Visual Studio Enterprise 2022 with the proper VS Installer options selected. When i go to run the SLN and compile the binary I get the following error: ```Error Code E1696`cannot open source file "atlbase.h"``` ```Error Code C1083`cannot open include file: 'altbase.h': No such file or directory```` And i can confirm that the env is set. However it did set it with the slashes the wrong way / so i fixed it to \ but same issue. Tried a new project from scratch.. same problem. Do i need to use 2017? Quote
Josh Posted October 15 Posted October 15 No, you should be using Visual Studio 2022. It's important to have "Desktop Development with C++" installed: 1 Quote Let's build cool stuff and have fun.
quazi Posted October 15 Author Posted October 15 I have that installed from pointing me to the right doc earlier. It seems Unreal engine 5 and some of the plugins were not playing nice with the Ultra Engine. So i had to uninstall everything in 2022 and reinstall just the c++ desktop development. The build is compiling now thanks! 2 Quote
Solution Josh Posted 1 hour ago Solution Posted 1 hour ago As of version 5.0.1 we no longer use an environment variable for C++ compilation. Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.