News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

build problem!

Started by JianQing Zou, August 19, 2008, 03:44:13 PM

Previous topic - Next topic

JianQing Zou

the project hierarchy is as follows:
-----------------------------------------------------------
-gtest
        -Sources
                    -...
                    -gtest-filepath.cpp
                    -...
        -Headers
                    -gtest
                            -internal
                                       -...
                                       -gtest-filepath.h
                                       -...
-----------------------------------------------------------
in c++ file "gtest-filepath.cpp":

#include <gtest/internal/gtest-filepath.h>
#include <gtest/internal/gtest-port.h>
namespace testing {
namespace internal {
...
...
}
}
-----------------------------------------------------------
but when building the project, errors occur:
\gtest\gtest-filepath.cpp: gtest/internal/gtest-filepath.h: No such file or directory
\gtest\gtest-filepath.cpp: gtest/internal/gtest-port.h: No such file or directory

so what's wrong?
help me! thanks.





         

alb_cb_moon

are you setting the search directories?, in this tab you have to put the directories of your sources files, even if you use the wizard. You can do it follow: "Project"->"Build Options"-->"Search directories" and add the it.
OS: Windows XP SP2
GUI Library: wxWidgets 2.8.10
IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5