Thread: Build Failed

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0

    Build Failed


    Hello,
    I have a terrible problem with my VisualStudio. My code has no error, and when I run it, I get an announcement: "not recognized as internal or external command operable program or batch file".

    Apparently, my Visual Studio cannot open the exe file.
    My program is multiple modules. It consists of 7-8 source files and 7-8 header files. Unfortunately, I have no way to attach files to this message. If you're interested, you can give me your e-mail address and I will send you the files.

    All files are written in C (not C++ OR C#)
    What can I do?
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,837
    Rep Power
    480
    Programs need to be on the PATH to be executed.
    Otherwise you'll need to include the path in the command.


    ..\mydir\myProgram

    or as an absolute path
    Code:
    C:\"Documents and Settings\Administrator\Desktop\myProgram"
    or whatever.
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Still Learning
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Montreal, Canada
    Posts
    55
    Rep Power
    39
    A VS hacking is in order. Can you run other projects?
    If not why? If yes what are the config differences between projects.

    To get to this point you must of compiled it before. What did you change last?

    Try to simplify the project. Get part of it running again and build up.

IMN logo majestic logo threadwatch logo seochat tools logo