Dev-C++ Build Failure

This is a discussion on Dev-C++ Build Failure within the C++ Programming forums, part of the General Programming Boards category; Hi, I'm trying to build a file in Dev-C++ and when I try to compile, I get this in the ...

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    1

    Dev-C++ Build Failure

    Hi,
    I'm trying to build a file in Dev-C++ and when I try to compile, I get this in the log:


    Executing make...
    make.exe -f "..\..\Documents and Settings\Haseo\Desktop\mizore\console-src\Makefile" all
    make.exe: *** No rule to make target `/usr/include/math.h', needed by `AliceConsoleShell.o'. Stop.

    Execution terminated

    Any help would be appreciated.
    Thanks,

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Could a moderator split this from the 1 year old unrelated thread?

    catchra: Your makefile says that you some file (probbably AliceConsoleShell.c or .cpp) is depending on /usr/include/math.h - which make can not find, and there is no "recipe" to create such a file. Considering that you appear to be compiling on Windows, perhaps you shouldn't have dependencies on /usr/include files, as these are Unix/Linux type directories. [I also think that makefiles should not have dependencies on system include files, but that is a slightly different matter].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,628
    Quote Originally Posted by matsp
    Could a moderator split this from the 1 year old unrelated thread?
    Right.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PlaySound
    By cangel in forum C++ Programming
    Replies: 16
    Last Post: 10-08-2009, 05:29 PM
  2. How to build, run Boland C++ 6 source file via VS2005?
    By userpingz in forum C++ Programming
    Replies: 2
    Last Post: 05-21-2009, 03:25 AM
  3. Replies: 0
    Last Post: 10-07-2008, 12:09 PM
  4. Replies: 2
    Last Post: 03-18-2006, 07:20 PM
  5. Boom, Headoshot!!
    By mrafcho001 in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 07-21-2005, 08:28 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21