|
From: pi03k <pi...@gm...> - 2012-06-27 11:55:31
|
Hi, When I checkout repo from svn or git and launch 'build.sh m' I get: /win3/workspace/hydrogen_git/src/core/src/IO/disk_writer_driver.cpp: In function 'void* H2Core::diskWriterDriver_thread(void*)': /win3/workspace/hydrogen_git/src/core/src/IO/disk_writer_driver.cpp:175:68: error: 'sleep' was not declared in this scope and /win3/workspace/hydrogen_git/src/tests/xml.cpp: In function 'void spec(bool, const char*)': /win3/workspace/hydrogen_git/src/tests/xml.cpp:17:18: error: 'sleep' was not declared in this scope I found out that it is function from unistd.h. Am I right? So I've added it to "hydrogen/object.h" and it compiled successfully. I'm wondering why did that error happen? Maybe because I'm using Arch Linux which is a bit experimental distro? In attachments I've put output of cmake init and diff of hydrogen/object.h. -- Regards, pi03k |