An Error

This is a discussion on An Error within the C++ Programming forums, part of the General Programming Boards category; How are you invoking make? Does Dev-C++ do it for you? Make sure your indented lines are indented with a ...

  1. #16
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    How are you invoking make? Does Dev-C++ do it for you?

    Make sure your indented lines are indented with a tab. Spaces don't work. And make sure your editor doesn't automatically convert spaces to tabs. (Use Notepad if it does.)

    Wait a minute, did you write that makefile?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #17
    Registered User
    Join Date
    Jan 2006
    Posts
    11
    No

    --Stephen

  3. #18
    Registered User
    Join Date
    Jan 2006
    Posts
    11
    When I try to compile project is just appear as so to speak.

    --Stephen

  4. #19
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    Okay. Well then, take ZuK's suggestion and make a new project. One without spaces in the path.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #20
    Registered User
    Join Date
    Jan 2006
    Posts
    11
    Ok

    --Stephen

  6. #21
    Registered User
    Join Date
    Mar 2006
    Posts
    4
    Morning Guys,

    I'm having the same problem with Dev-C++, it really doesn't matter how you quote the targets, the generated makefile chokes gmake.

    I'd thought the issue wasn't just spaces in target names, but the colon after the drive letter, and I'd been trying to figure out how to 'properly' mount, (as in unix) or reference by relative path, the directories of interest, so I could avoid the embedded colon. That was such a misery (gack, hate windows) that I ended up here, looking for a gmake switch that allowed DOS style paths.

    Ah well, guess I'll try to re-organize this all onto a single network mount point, what a pain.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 09:33 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 12:10 AM

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