News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

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?