News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Stupid question about paths

Started by idcarlos, March 25, 2006, 07:15:31 PM

Previous topic - Next topic

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

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


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?