Author Topic: cannot find new headers when added custom classes  (Read 3810 times)

Offline creatxr

  • Multiple posting newcomer
  • *
  • Posts: 28
cannot find new headers when added custom classes
« on: September 20, 2011, 07:12:10 pm »
i new a consol project.
then i new a class named A
when it ask me "do you want add it to the current project".
select "yes"
then select all "debug" and "release"
compile project
==================================
/cpp-demo/src/A.cpp|1|error: A.h: No such file or directory|
==================================
i found that they have been added to the "project properties".
how to?
thanks.
------------------------------------
codeblocks 10.05 on ubuntu

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7790
    • My Best Post
Re: cannot find new headers when added custom classes
« Reply #1 on: September 20, 2011, 10:55:19 pm »
Look at this message
http://forums.codeblocks.org/index.php/topic,8867.msg64292.html#msg64292

You might need the check box above or below the one I suggested.

One of the "Explicitly add ..." options normally fix this problem.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org