Caronte3D Posted yesterday at 08:32 AM Posted yesterday 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 18 hours ago Solution Posted 18 hours ago 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 17 hours ago Author Posted 17 hours ago 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 2 hours ago Posted 2 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. Quote Operating System: Windows 11 / KDE NEON Hardware: Xeon E5-2620 v3 // 32 GB DDR4 // NVIDIA GeForce RTX 3060 12Gb
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.