Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Code Blocks giving fatal error of not finding header file when there are seperate class files

Code Blocks giving fatal error of not finding header file when there are seperate class files

Scheduled Pinned Locked Moved C / C++ / MFC
help
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mur2501
    wrote on last edited by
    #1

    When I made a separate class file in code blocks and compiled it. Code blocks gived a fatal error of 'No such file or directory' and had the address of the project. I have re checked every thing but there is no problem in codes or in anything else. I have made the class using the class wizard in code blocks and also checked the box saying to keep header and source file in same directory and they are in same directory. Please tell me any suggestion on solving this problem.

    L D 2 Replies Last reply
    0
    • M Mur2501

      When I made a separate class file in code blocks and compiled it. Code blocks gived a fatal error of 'No such file or directory' and had the address of the project. I have re checked every thing but there is no problem in codes or in anything else. I have made the class using the class wizard in code blocks and also checked the box saying to keep header and source file in same directory and they are in same directory. Please tell me any suggestion on solving this problem.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You need to provide more detailed information. Please show the code that produces the error, and where the files are that it complains about?

      1 Reply Last reply
      0
      • M Mur2501

        When I made a separate class file in code blocks and compiled it. Code blocks gived a fatal error of 'No such file or directory' and had the address of the project. I have re checked every thing but there is no problem in codes or in anything else. I have made the class using the class wizard in code blocks and also checked the box saying to keep header and source file in same directory and they are in same directory. Please tell me any suggestion on solving this problem.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Mur2501 wrote:

        When I made a separate class file in code blocks...

        Doesn't Code Blocks (the IDE) have a forum?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups