Opened 10 years ago
Closed 10 years ago
#7200 closed Feature Requests (fixed)
Unable to build boost.thread modularized
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.52.0 | Component: | thread |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: |
Description
building cmake modularized boost.thread from master, using xcode 4.4 (apple llvm) fails on : /thread.cpp:27:10: fatal error:
'libs/thread/src/pthread/timeconv.inl' file not found
#include <libs/thread/src/pthread/timeconv.inl>
Replacing the include with : #include "timeconv.inl" passes.
I guess CMakeScript can not fix it, because there is no lib directory in include paths.
Attachments (1)
Change History (7)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
I'm afraid that i'm not able to add parent of libs/thread to cmake file, because i was using this repository: github.com/ryppl/boost-zero.git
As it was mentioned at boost CMakeModularizationStatus wiki page, the repository above, already have an overlay cmake script, but the directory structure of that repository (after git cloning) looks like:
<root>
boost
...
thread
...
I think that there should not be any requirement for directory structure outside its own, because that would break the idea of modularization (it should depend only on libraries found by ryppl_find_and_use_package). Am i getting it wrong?
comment:3 by , 10 years ago
Type: | Bugs → Feature Requests |
---|
I don't know nothing about CMake and the modularization.
Changed to feature request as CMake is not supported yet.
comment:4 by , 10 years ago
Milestone: | To Be Determined → Boost 1.52.0 |
---|
Committed in trunk revision 80125. Committed in trunk revision 80126.
comment:5 by , 10 years ago
Summary: | Unable to build boost.thread → Unable to build boost.thread modularized |
---|
I have replaced #include "timeconv.inl" by #include <libs/thread/src/pthread/timeconv.inl> as other platforms complains. Could you try to add the parent directory of libs/thread on the cmake file?