Code::Blocks Forums

User forums => Help => Topic started by: idcarlos on March 25, 2006, 07:15:31 pm

Title: Stupid question about paths
Post by: idcarlos on March 25, 2006, 07:15:31 pm
Hi.

1ยบ remember that I'm a Visual Basic programer, i'm a newbe with C++

I'm compiling a project with this folder structure

\DevCpp\WPM_GLADE.cbp <-- (GLADE create this folder, but I use C::B)
\src\ <--All .cpp and .h
\Interface\ <--GLADE files

I try to compile my project (that work in DevCpp, but i have unistaled it), but the compiler can't find MainWindow.h that is in \src\, the same folder that OptionsPane.cpp

Code
Compiling: ..\src\OptionsPane.cpp
..\src\OptionsPane.cpp:19:24: MainWindow.h: No such file or directory

What is the problem?
Title: Re: Stupid question about paths
Post by: killerbot on March 25, 2006, 07:20:28 pm
add to the include paths of your project :
..\src
Title: Re: Stupid question about paths
Post by: idcarlos on March 25, 2006, 08:31:13 pm
Works!
Maybe it's a problem of the DEVCPP Import?