metaldc4life Posted September 13, 2014 Share Posted September 13, 2014 Hi, i'm now using the c++ version of leadworks and I just started it and added like one thing and I hit the run button and it says failed to launch exe? Please help me on this someone.. thanks in advance! Quote Link to comment Share on other sites More sharing options...
Rick Posted September 13, 2014 Share Posted September 13, 2014 With the C++ version you have to have Visual studio 2013 express (Desktop version) and compile the exe yourself before trying to run the game from the editor. Quote Link to comment Share on other sites More sharing options...
metaldc4life Posted September 13, 2014 Author Share Posted September 13, 2014 oh ok, how do I compile it though? Thanks for the help! =) Quote Link to comment Share on other sites More sharing options...
Rick Posted September 13, 2014 Share Posted September 13, 2014 Once you download VS 2013 express desktop edition, in the LE editor under the Assets tab you should see a Projects/Windows (assuming you are using Windows). Right click that folder and select Open Folder. Inside you'll see a few files. Dbl click the .sln (solution) file. This is the Visual Studio file that holds the project. Once it's open in the top middle you will see a dropdown that says Debug or Release. You will need to build both. Select menu option Build->Build Solution. Then switch to the Release ( or debug, I can't remember which is shown first) and do the same thing. The build will show a bunch of stuff happening at the bottom. If everything goes well you can now run the exe in Leadwerks editor. You can also run it from Visual Studio. You will see a play button in the toolbar at the top. Any changes you make in C++ will require you to rebuild. If you make changes in the editor only it won't require a rebuild in visual studio. 1 Quote Link to comment Share on other sites More sharing options...
metaldc4life Posted September 13, 2014 Author Share Posted September 13, 2014 worked like a charm thank you Rick! Quote Link to comment Share on other sites More sharing options...
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.