Menu

#121 Strange Warning about missing executables

None
open
nobody
None
2020-11-14
2014-03-30
Alex pap
No

When opening Dev-C++ i get a message that Dev-C++ cannot find the compiler executables. I'm using the version without the compiler, and have a MinGW installation in C:\Compilers\MinGW.
The executables are there, and I can compile just fine. This only happens with my MinGW profile, if I use my Cygwin profile it works just fine.

1 Attachments

Discussion

  • Alex pap

    Alex pap - 2014-03-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,2 @@
     When opening Dev-C++ i get a message that Dev-C++ cannot find the compiler executables. I'm using the version without the compiler, and have a MinGW installation in C:\Compilers\MinGW.
     The executables are there, and I can compile just fine. This only happens with my MinGW profile, if I use my Cygwin profile it works just fine.
    -
    -[[img src=error.png]]
    
    • Milestone: -->
     
  • Albert Nguyễn

    Albert Nguyễn - 2020-11-14

    I'm not a Dev-C++ programmer but the problem may be within the searching of binary directories. It's a very strange problem.

    i.e.,
    mingw32-make.exe makes references to binaries like 'rm.exe'; those files can be found in 'C:\Mingw32\MSYS\1.0\' the 'mingw32-make.exe' can be found in 'C:\Mingw32\bin\'.

    Normally you would add those two directories to your Binary Directories list.
    If 'c:\Mingw32\bin\' is first in the order the IDE ignores the rest of the directories, specifically when doing a rebuild. This will cause make errors.

    I encourage you to experiment with rearranging the order of these directories. Separate the test cases for Rebuild versus Compile. It's also wise to remove any global paths within your environment variables for an unbiased testing.

     
    👎
    1

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.