getting_started:tutorials:say_hello
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:tutorials:say_hello [2017/06/22 10:01] – [Use KDevelop with Existing Build Configuration] graf | getting_started:tutorials:say_hello [2017/11/20 13:44] – [Test Program] graf | ||
---|---|---|---|
Line 23: | Line 23: | ||
int main() { | int main() { | ||
- | using namespace eeros:: | + | |
- | StreamLogWriter w(std:: | + | |
- | Logger log; | + | Logger log; |
+ | log.set(w); | ||
- | log.info() << " | + | |
- | return 0; | + | |
} | } | ||
</ | </ | ||
- | - Open CMakeLists.txt file, delete the text written on it and copy the following: <code cpp> | + | - Open CMakeLists.txt file, delete the text written on it and copy/ |
cmake_minimum_required(VERSION 2.8) | cmake_minimum_required(VERSION 2.8) | ||