james1943 Posted September 8, 2013 Share Posted September 8, 2013 when I try to compile new project I get message can not find exe file it also happens when I try to compile darkness awaits any one else with this problem Quote Link to comment Share on other sites More sharing options...
Rick Posted September 8, 2013 Share Posted September 8, 2013 I assume you mean when you press the play button? That's not compiling anything that's just starting the executable. For every new project and after every update you have to go into the Visual Studio project (or xcode if on mac) and actually compile in release and debug mode. This should be located in the Projects/Windows (Projects/Mac) folder and will be the .sln file. You need to download VIsual Studio 2010 if you don't already have it (or xcode) in order to open and compile this project solution. Josh, this really needs to be a sticky or something. 2 Quote Link to comment Share on other sites More sharing options...
james1943 Posted September 8, 2013 Author Share Posted September 8, 2013 jimbo james1943 thanks rick Quote Link to comment Share on other sites More sharing options...
Aaron Symons Posted September 8, 2013 Share Posted September 8, 2013 I have a similar issue. Sometimes the debug exe is deleted for some reason. When that happens I can't run in debug or release mode in Visual Studio. Pain in the backside. Does anyone know why this would be happening? Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
AggrorJorn Posted September 8, 2013 Share Posted September 8, 2013 I think this is a bug, since it is happening everywhere in debug mode. Quote Link to comment Share on other sites More sharing options...
Josh Posted September 8, 2013 Share Posted September 8, 2013 There's nothing in Leadwerks that will ever delete an executable like that. When you create a new project, the project needs to be built once before you can run it. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
beo6 Posted September 8, 2013 Share Posted September 8, 2013 maybe for some reason your compile cancels and the file is actually deleted since the compile stopped while writing the file? Just guessing. Quote Link to comment Share on other sites More sharing options...
Aaron Symons Posted September 8, 2013 Share Posted September 8, 2013 maybe for some reason your compile cancels and the file is actually deleted since the compile stopped while writing the file? Just guessing. That's a very logical guess and I'd bet that's the answer! The only thing now is to find a solution to the problem, since when the executable is deleted I can't run the game via Visual Studio. My current workaround is to copy all the relavent files to a new folder, delete the project, create a new one and paste the files into the new project. I'd rather not have to do this anymore, so I hope someone could offer a solution to the problem, or at the very least a better workaround. It seems to occur when there are errors in the code. Not always, but that seems to be the case. Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
YouGroove Posted September 8, 2013 Share Posted September 8, 2013 This is VC++ related only ? I have Lua project running, and errors don't delete the Exe file i compiled before. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Aaron Symons Posted September 8, 2013 Share Posted September 8, 2013 This is VC++ related only ? I have Lua project running, and errors don't delete the Exe file i compiled before. Yeah. I'm 100% sure it's some issue with Visual Studio itself, or perhaps the connection between Visual Studio and the project. If you use Lua, and use the Leadwerks Editor to write your scripts, I'd say you're pretty much 100% safe from this. Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
beo6 Posted September 9, 2013 Share Posted September 9, 2013 Never had the exe-files deleted too. So maybe there is something else going on. ( using mainly Visual Studio 2012 ) 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.