digital needle, need help in compileing it.

This is a discussion on digital needle, need help in compileing it. within the C++ Programming forums, part of the General Programming Boards category; #include "dneedle.h" is marked with red, and in the log it showed more errors, Classes.hpp: No such file or directory, ...

  1. #1
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15

    Question digital needle, need help in compileing it.

    #include "dneedle.h" is marked with red, and in the log it showed more errors, Classes.hpp: No such file or directory, StdCtrls.hpp: No such file or directory, Forms.hpp: No such file or directory, Dialogs.hpp: No such file or directory, ExtCtrls.hpp: No such file or directory, ComCtrls.hpp: No such file or directory, anyone got the idea of what it could mean?.

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    This .hpp files are missing from your project

  3. #3
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    what is the .hpp files use for?,

  4. #4
    Registered User
    Join Date
    Jul 2012
    Posts
    87
    .hpp is a header file. I don't think it matters what you give the extension for your own header files as long as it is syntactially correct for the compiler to compile it. You must include whatever each .cpp file needs access to.

    e.g.
    Code:
    #include "myHeaderFile.hpp"
    Whatever classes, functions, variables one .cpp file needs to use, you must include that header file.

  5. #5
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    well, its reading that in the main source file, do i need to place that in the .h file?.

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,012
    No, what it means is that the code wants to include those files, but the compiler can't find them.
    Possible reasons:
    - Do the files exist at all? These are not some standard header files. They must have been created by someone or something.
    - Is the path correct? If the files exist, then it might be that the path in the source is wrong. Try using absolute paths.
    - Is your include paths correct? If the files exist, and it works with absolute paths, then you may have to tell the compiler additional paths it should look in for headers files.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    the files are from in the exactly same folder, untuched, i just simply putted them into the compiler, and just told the program to make into a program, but for somereason it fails,
    can you take a look at the file to figure out the problem?.

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,012
    Sure, if you have the source code handy, I can try compiling it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    i have them zipped ready to be shared, send me your email in a private message, and ill send it to you there.

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,012
    No, attach it to a reply or use a file sharing service (eg Filebeam - Beam up that File Scottie!).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    heres the 2 files.
    Attached Files Attached Files

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,012
    Clearly, this source code has some external dependencies, code that you apparently don't have on your computer.
    It should be stated what dependencies it needs where you got it from.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    well, sadly they were not included in the zip file, gues thats the only thing that needs to be build, and im not that well in it.

  14. #14
    Registered User
    Join Date
    May 2009
    Posts
    2,768
    Quote Originally Posted by Elysia View Post
    Clearly, this source code has some external dependencies, code that you apparently don't have on your computer.
    It should be stated what dependencies it needs where you got it from.
    From the filenames I would guess it uses Borland's C++Builder based/derived compiler/toolchain.

    C++Builder - Wikipedia, the free encyclopedia

    Tim S.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the Universe is winning." Rick Cook

  15. #15
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    What IDE (and/or compiler) are you using? All the missing headers look like Windows stuff. Maybe it needs to be a certain kind of project in MSVC++?

    EDIT: Looks like stahta01's got the right answer.
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

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

Similar Threads

  1. A Little Help Regarding Digital Root
    By TheUmer in forum C Programming
    Replies: 2
    Last Post: 11-25-2009, 04:31 AM
  2. digital simulator
    By fuzon87 in forum C Programming
    Replies: 1
    Last Post: 03-29-2008, 02:06 PM
  3. ???not Compileing???
    By cjohnson412 in forum C++ Programming
    Replies: 1
    Last Post: 02-25-2008, 08:44 PM
  4. Digital art
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-31-2003, 06:32 AM
  5. Digital Needle - A Virtual Gramophone
    By hermit in forum Tech Board
    Replies: 4
    Last Post: 09-07-2002, 03:09 AM

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