Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
build problem!
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: build problem! (Read 3127 times)
JianQing Zou
Single posting newcomer
Posts: 3
build problem!
«
on:
August 19, 2008, 03:44:13 pm »
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.
Logged
pain past is ok.
alb_cb_moon
Multiple posting newcomer
Posts: 25
Re: build problem!
«
Reply #1 on:
August 19, 2008, 04:47:43 pm »
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.
Logged
OS: Windows XP SP2
GUI Library: wxWidgets 2.8.10
IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
build problem!