Author Topic: Stupid question about paths  (Read 4378 times)

idcarlos

  • Guest
Stupid question about paths
« 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?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Stupid question about paths
« Reply #1 on: March 25, 2006, 07:20:28 pm »
add to the include paths of your project :
..\src

idcarlos

  • Guest
Re: Stupid question about paths
« Reply #2 on: March 25, 2006, 08:31:13 pm »
Works!
Maybe it's a problem of the DEVCPP Import?