User forums > Using Code::Blocks

cannot find new headers when added custom classes

(1/1)

creatxr:
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

stahta01:
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.

Navigation

[0] Message Index

Go to full version