Opened 10 years ago

Closed 10 years ago

#7200 closed Feature Requests (fixed)

Unable to build boost.thread modularized

Reported by: baldzar@… 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)

STUBS REVISED.wps (10.0 KB ) - added by coxja20_06@… 10 years ago.
khkgjfhgdytrutggvfdr7

Download all attachments as: .zip

Change History (7)

comment:1 by viboes, 10 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

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?

comment:2 by anonymous, 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 viboes, 10 years ago

Type: BugsFeature Requests

I don't know nothing about CMake and the modularization.

Changed to feature request as CMake is not supported yet.

comment:4 by viboes, 10 years ago

Milestone: To Be DeterminedBoost 1.52.0

Committed in trunk revision 80125. Committed in trunk revision 80126.

comment:5 by viboes, 10 years ago

Summary: Unable to build boost.threadUnable to build boost.thread modularized

comment:6 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed

Merged to release [80450]

by coxja20_06@…, 10 years ago

Attachment: STUBS REVISED.wps added

khkgjfhgdytrutggvfdr7

Note: See TracTickets for help on using tickets.