User forums > Help
'Run' and Run part of 'Build and Run' not working...
MaxLondon:
I'm running CB Nightly Build SVN 6181 on WinXP SP3 and I can't run any project from within CB.
Build works fine, exe is created, and I can run the exe from the explorer or cmd, but it doesn't work from CB. Switching on 'Console Application'/'Pause after execution ends' doesn't change anything. Just nothing happends.
Is this a configuration issue or a bug?
Any help appreciated! Thanks.
oBFusCATed:
Probably there are missing libraries (dlls). Please post the full build log or a simple project
devs: do you know if it is possible to display error message (in the log) with the reason why an executable can't be run?
At the moment the message is something like: "the executable: at_path can't be run"
MaxLondon:
--- Quote from: oBFusCATed on April 19, 2010, 03:52:39 pm ---Probably there are missing libraries (dlls). Please post the full build log or a simple project
--- End quote ---
The target exe(s) run fine, compile and linking works. It is *NOT* an issue with the target exe not working. It must have something to do with CodeBlocks invoking the exe.
jajdoo:
tell you what, i was having the EXACT same problem just this morning ( i decided to migrate my Ogre3d project from VC to C::B.. that damned Microsoft fiend finally pushed me to my limits)
I'll be guessing you are running in debug mode. if that is the case, go to build options->compiler settings-> Produce debugging symbols (in the list of compiler flags).
-> rebuild your project (for flags to take effect)
i have no idea why that worked (no logical reason)..
if that's not the case, well good luck :?
EDIT:
one more thing i remembered doing: in project properties -> build target -> execution working dir : check if its pointing to the folder where the exe is actually located...
MaxLondon:
Thanks for trying, but unfortunately for me this does not fix the problem.
Debugging works. Running ([Build]->[Run]) does NOT work..
[Execution working dir] is set correctly, I tried relative and absolute path. Neither works for me.
Navigation
[0] Message Index
[#] Next page
Go to full version