Menu

Please! GNU Makefile

starcreek
2007-12-31
2012-09-26
  • starcreek

    starcreek - 2007-12-31

    Ok, yes i have read all the FAQ's from this site and many others. Yes i uninstalled it;

    cleanly, and reinstalled it to C:\Dev-C++ ..same when i first installed it, then tried

    system\enviorment variables so my Path would contain 'C\Dev-cpp\bin'"C:\Dev-

    cpp\libexec\gcc\mingw32\3.4.2" with a mess in front of it, mess being what my comp has. I

    just tried having only C:\Dev-Cpp\bin";"C:\Dev-cpp\libexec\gcc\mingw32\3.4.2" in the

    Path..no go. Also i do have GNU Makefiles, from JAVA on my comp and tried to move them in

    the bin of Dev-Cpp and lol no luck. Yes i do have the full-version. and i also tried

    setting the Dev-Cpp compiler options, under the C++ includes tab to lib\gcc\mingw32\3.4.2\include

    Im sure that this is it and need more instruction on what to have under these tabs.

    You guys r the masters and u have my respect from 1000 miles away ;] Also MY OS is Windows XP 2002 Home Edition SP2 which i have updated and then reinstalled Devcpp

     
    • starcreek

      starcreek - 2008-01-04

      ya it was the spyware i had running on startup, u guys should include 'turning off all spyware and virusblocker programs' in the GNU make FAQ.

       
      • cpns

        cpns - 2008-01-04

        It would be a brave person to suggest that!

        Being able to build code using Dev-C++ might be far less important to someone than the security of their PC! If you are using such tools it is entirely your call whether you risk disabling them or not.

        Clifford

         
    • Wayne Keen

      Wayne Keen - 2008-01-01

      You do not need to do anything to your paths.

      Now, you make a lot of statements, but give us nothing to back them up
      with.

      For example, you state that you have the full version of Dev? Where did you get it
      from? (Exactly) What was the size of the file?

      When you reinstalled Dev, did you follow the directions for doing so that are in
      the "Please Read" thread? (That question is a bit of a trap - "yes" means "no"
      in that the directions tell you to tell us EXACTLY what you did, which you
      did not)

      Wayne

       
      • Wayne Keen

        Wayne Keen - 2008-01-01

        My advice is this. Do a clean uninstall of Dev. Please use the directions
        in the "Please Read" thread as a starting point. Remove the references to
        Dev that you added to your paths etc.

        When you are finished, plase make sure that you do some through searching
        through your computer for anything Dev related. Note that the default
        configuration for Windows Search does not look in hidden folders, unless
        you tell it to. Do so. Once you have cleared everything out (think like
        a scavenger here) - restart.

        Take careful notes on everything that you do. If you have problems later
        you need to tell us, step by step, what you did. "I did what you said"
        is not, despite what some people think, not doing that.

        Download the full version of Dev. It is about 10 MBytes in size. Start
        the installation. On one of the installation screens, you will have a
        long line of checkbox options. Scroll down to the bottom to the option
        for deleting previous configuration files and check it.

        Now, try compiling something nice and simple, like the hello world example.
        If it works, fine. If not, you need to post for us your "Basic 3" - they
        are covered also in the Please Read thread.

        Wayne

         
    • cpns

      cpns - 2008-01-01

      If you truly copies make.exe from elsewhere to c:\dev-cpp\bin and did not find that there was already such a file there, then you truly do not have "the full-version". The message about not having GNU make is a bit of a red herring, it normally in fact means that you are missing the entire GNU toolchain (compiler, linker, libraries, etc.).

      It seems that you are flapping about changing things that are best left unchanged (for the time being) and failing entirely to follow the instructions that you assert you have read so carefully!

      Note teh file that you installed should be called: "devcpp-4.9.9.2_setup.exe" anything else is the wrong file for what you are attempting. Get it from http://sourceforge.net/project/showfiles.php?group_id=10639&package_id=12148

      Clifford

       
    • starcreek

      starcreek - 2008-01-01
      1. Version number of Dev-Cpp is devcpp-4.9.9.2_setup.exe having 8.89 MBytes. My O.S. is Windows XP version 2002 Home Edition SP2.

      2.I am reading the Access Denied on all of my attemped compiled programs. Therefore no command prompt is displayed, that being the problem :[

      1. Compiler: Default compiler
        Building Makefile: "C:\Dev-Cpp\Makefile.win"
        Executing make...
        make.exe -f "C:\Dev-Cpp\Makefile.win" all
        Execution terminated

      i uninstalled devcpp-4.9.9.2 'cleanly' i did search in all hidden folders and was unable to find devcpp.ini and devcpp.cfg

      i then restarted and redownloaded the devcpp-4.9.9.2_setup.exe into c:\dev-cpp and clicked uninstal previous files upon reinstallation

      and also fixed mypath and set it without ;c:\dev-cpp\makefile.win tagged on the end.

      umm... <3 quaternion's <|:)

       
      • Wayne Keen

        Wayne Keen - 2008-01-02

        "i uninstalled devcpp-4.9.9.2 'cleanly' i did search in all hidden folders and was unable to find devcpp.ini and devcpp.cfg"

        How is this a step by step description of what you did?

        Hint - It isn't even CLOSE.

        Get a baseball bat. Hit yourself over the head with it. Very hard. If you end
        up in the hospital, that's the right level of hardness.

        Wayne

         
        • Wayne Keen

          Wayne Keen - 2008-01-02

          I note also that you are compiling your project directly in your
          Dev directory. As Clifford has noted a number of times, this can
          lead to issues.

          Please try your example in something like

          c:\mycstuff

          Wayne

           
    • cpns

      cpns - 2008-01-02

      >> 2.I am reading the Access Denied on all of my attemped compiled programs.

      You never mentioned that before. What has this to do with "GNU Makefile" in your title, or your original post!?

      Apart from being really dumb idea to put a project there; there is a bug in Dev-C++ that can cause projects created within the Dev-C++ installation folder and sub-folders thereof to fail to build.

      >> [...]fixed mypath and set it without ;c:\dev-cpp\makefile.win[...}
      You never mentioned that before either. You really were flapping in the dark. makefile.win is a file, only the addition of folder paths makes any semantic sense for the PATH environment variable, and these are used only for finding executable files. When using teh IDE, the environment is configured for you for each build session.

      The message I assume you were referring to in the original post is unfortunately badly phrased and is nothing to do with any 'makefile' but rather the GNU make utility (make.exe). It seems to me that you have resolved that issue and are now talking about an entirely different problem, so perhaps should have started a different thread. You might also have confirmed that you resolved the first problem and mentioned what the problem turned out to be.

      Clifford

       
    • starcreek

      starcreek - 2008-01-02

      this is the step by step

      i installed devcpp version 4.9.9.2 (the full version with the mingw compiler and GCC) into my hard drive

      so now i have a folder in my hard drive called C:\Dev-Cpp

      i go there to open the devcpp IDE (also full version 4.9.9.2) from bloodshed

      then a Confirm window comes up saying i wont be able to compile any programs because of the GNU Make file not being in the Dev-Cpp's Bin Path.

      so i click ok, and devcpp opens up

      Now i click New then Project then the Introduction Tab and then finally the Hello World program, producing the full syntax w/o me having to type.

      Naturally i want to see if it will compile. It tells me Access Denied

       
      • Wayne Keen

        Wayne Keen - 2008-01-03

        The uninstall process!

        Damn, get a bigger baseball bat. Hit harder.

        Wayne

         
    • cpns

      cpns - 2008-01-03

      So did you create the project outside of c:\dev-cpp like I suggested!?

      Where does it say access denied? That is not shown in the log you posted.

      Clifford

       
    • starcreek

      starcreek - 2008-01-03

      i dont know how to create a project outside of c:\dev-cpp

      it says access denied under the compiler tab after try to compile a program. Normally, it would tell me a list of syntax errors and what line they're on but insted it just says: Access Denied.

      the compiler log shows me this:
      Compiler: Default compiler
      Building Makefile: "C:\Dev-Cpp\Makefile.win"
      Executing make...
      make.exe -f "C:\Dev-Cpp\Makefile.win" all
      Execution terminated

      if u could please tell me how to create a project outside of C:\Dev-Cpp i would appreciate it

      Now for the uninstallation process

      I clicked the uninstall.exe under c:\dev-cpp

      it asks me if i want to remove all the config files so i click yes

      now i've deleted the devcpp directory from my computer and empty'd the recyclebin

      i have my computer find devcpp.ini and devcpp.cfg in the hidden files and folders
      it doesnt, but in the meantime i try to look for anything related to devcpp like
      c:\d&s\owner\appdata\dev-cpp so i deleted that

      and now there is nothing on my computer besides the explore websites related to devcpp.

      devcpp.ini and devcpp.cfg are not on my computer.

      so now i restart..

      Everytime i have installed Dev-Cpp version 4.9.9.2 the full version with the mingw compiler and GCC and preformed the 'clean' uninstallations i get a Confirm window explaing that There doesnt seem to be GNU Make file in Path or in Dev-C++'s Bin path.

       
    • cpns

      cpns - 2008-01-03

      >> i dont know how to create a project outside of c:\dev-cpp

      You are kidding right? Create a new folder, copy the project files to it (the .dev file and any source files). Or when creating a project, use the file dialog in the usual way to navigate to (or create) a folder (not a sub-folder of c:\dev-cpp). If this fundamental of using a computer escapes you, perhaps you should not be programming one!? Either way, since I asked you to fix that, if the instruction was not clear, or you needed assistance, you should have said rather than just ignoring it. If you want help, ignoring those giving it is not the best way forward.

      The point is that there is a bug in Dev-C++ that can cause builds to fail in exactly the same way yours is when the files are stored in Dev-C++'s installation folder. This may not be your problem, but until you have an installation and build that looks normal, and have at least discounted all the known problems, we cannot really proceed.

      I appreciate that Dev-C++ has a nasty behaviour of offering c:\dev-cpp as the default directory in the file select box, but what other application do you use where you store your data files in the installation folder!? It makes no sense even in the absence of this bug.

      I would suggest just one test you might perform (if moving the project is not the solution). Click Start->Run, enter CMD, click OK. In the command console, enter the following command:

      c:\dev-cpp\bin\make --version

      and report what happens.

      Clifford

       
    • cpns

      cpns - 2008-01-03

      ... you might also run the following from the command line:

      chkdsk c: /f

      Clutching at straws somewhat, but what security tools are you running (anti-virus, anti-spyware etc.), and what happens is you disable them? Spybot S&D's 'Teatimer' feature is a known problem with Dev-C++, and I seem to remember some issues with Norton AV, but I am less sure about that.

      Did you install and run Dev-C++ in an account with sys admin rights?

      If all else fails and you are more interested in getting work done that specifically using this tool try: http://www.microsoft.com/express/vc/Default.aspx

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.