• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 670
  • Last Modified:

MinGW Developer Studio Question

Ok...  hopefully this will be my last question for the day!  I just installed MinGW Developer Studio.  When I try to "Build & Execute" my code, I get an error as the windows console opens...  it's a message box saying "Cannot Execute Program".  The code compiles fine.  When I run the .exe generated upon building manually, it works fine also.  Any ideas?

Thanks,
Tony
0
fattumsdad
Asked:
fattumsdad
  • 3
  • 2
1 Solution
 
jkrCommented:
I assume there's a problem regarding where the IDE expects the executable to be located and where it actually resides. You could check with FileMon (http://www.sysinternals.com/ntw2k/source/filemon.shtml) where it tries to start the program from (this app has filter capabilities, use them or you will be drowned in information! :o)
0
 
fattumsdadAuthor Commented:
I'll give that a shot when I get home (don't have admin priv at work).  Hopefully that'll fix my many many woes LOL!  
0
 
jkrCommented:
Well, there also should be some settings about where it starts the exe from and where the linker is instructed to place it - you could start by comparing them :o)
0
 
fattumsdadAuthor Commented:
I think I figured it out!  I have the project saved in "C:\Documents and settings\ etc etc".  When I try to run the file from the IDE it only recognizes "C:\documents" in the path.  Is there a way I can make it recognize the spaces in dir names or should I just create another dir for these projects?
0
 
jkrCommented:
>>Is there a way I can make it recognize the spaces in dir names

Try to enclose the path in quotes (in the edit box), that should work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now