Author Topic: *.h No such file or directory  (Read 4937 times)

sparckis

  • Guest
*.h No such file or directory
« on: March 24, 2007, 04:49:17 am »
Hi,
     I am trying to use crystalspace that has a lot of .h header files in it.  When I copy the code for the tutorial and compile it, I get the error that it cannot find crystalspace.h  (called by #include <crystalspace.h> line in the program).  Now, I know where this file is on my computer along with the other crystal space headers.  Where/how can I tell the compiler to look for it (without making my project local to that directory)?  I have gotten a standard cpp program to work in codeblocks so the setup isn't the issue.

Thanks,
~Mark

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: *.h No such file or directory
« Reply #1 on: March 24, 2007, 10:12:38 am »
Click Project > Build options menu. Then click on the combobox showing Compiler options and select Search directories option. Now in the tabs at bottom, specify the directories.
Be a part of the solution, not a part of the problem.

sparckis

  • Guest
Re: *.h No such file or directory
« Reply #2 on: March 24, 2007, 04:10:53 pm »
We must have different versions or something.  Mine does not show this.  When I do project, build options I see the attached gui.  I don't see a Compiler options under the combo box, only compiler settings.  Once I select that, i don't see anywhere to add search directories.  Any ideas?

Thanks
~Mark

[attachment deleted by admin]

sparckis

  • Guest
Re: *.h No such file or directory
« Reply #3 on: March 24, 2007, 04:15:20 pm »
Ah, never mind!  It is in the second combo box that says search directories.

Bye