User forums > Help

Stupid question about paths

(1/1)

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

--- End code ---

What is the problem?

killerbot:
add to the include paths of your project :
..\src

idcarlos:
Works!
Maybe it's a problem of the DEVCPP Import?

Navigation

[0] Message Index

Go to full version