Caronte3D Posted Tuesday at 08:32 AM Posted Tuesday at 08:32 AM Hi, I'm new here Trying LeadWerks 5 C++ (First Person Template), the release can't be compiled, I get the error on VS: 'Leadwerks.h': No such file or directory. Also If I try to compile from the Leadwerks editor, I get error too: Failed to create process 'New Project.exe' What I'm doing wrong? 1 Quote
Solution Josh Posted Tuesday at 03:09 PM Solution Posted Tuesday at 03:09 PM When a new C++ project is created, the editor will attempt to create an environment variable called LEADWERKS, if it does not exist already. The environment variable points to your Leadwerks installation path and tells the compiler where to look for headers. It sounds like maybe you clicked "No" and did not let it create the environment variable, or maybe it failed to for some other reason? See the section here titled "Environment Variable": https://www.leadwerks.com/learn/Programming?lang=cpp 1 Quote Let's build cool stuff and have fun.
Caronte3D Posted Tuesday at 03:39 PM Author Posted Tuesday at 03:39 PM No, I didn't click "No" because Visual Studio didn't ask me anything this time. Well, I think the problem might be the Ultra engine update to Leadwerks 5. I believe that's because my Windows environment variable is pointing to the wrong folder (the Ultra folder). Now all works as expected. BTW: You have a very nice game engine, I'm very excited to work with 2 Quote
REX-RUS Posted 20 hours ago Posted 20 hours ago Yes, the dialog box is not displayed if ULTRA Engine was previously installed on the system, because a variable with the same name was created in it. I think it's worth adding a variable value check in one of the next updates to fix this error. 1 Quote Operating System: Windows 11 / KDE NEON Hardware: Xeon E5-2620 v3 // 32 GB DDR4 // NVIDIA GeForce RTX 3060 12Gb
rudolf_iron Posted 12 hours ago Posted 12 hours ago rex, движок в библиотеке стима. если что будет как leadweks5 Quote
Josh Posted 6 hours ago Posted 6 hours ago I think I will probably end up getting rid of this requirement, and go back to using a Visual Studio property sheet where the path is stored. It's just easier not to have that information stored somewhere else. 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.