Opened 5 years ago

Closed 5 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:


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@… 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by viboes

  • Owner changed from anthonyw to viboes
  • Status changed from new to assigned

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 Changed 5 years ago by anonymous

I'm afraid that i'm not able to add parent of libs/thread to cmake file, because i was using this repository:

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:






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 Changed 5 years ago by viboes

  • Type changed from Bugs to Feature Requests

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

Changed to feature request as CMake is not supported yet.

comment:4 Changed 5 years ago by viboes

  • Milestone changed from To Be Determined to Boost 1.52.0

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

comment:5 Changed 5 years ago by viboes

  • Summary changed from Unable to build boost.thread to Unable to build boost.thread modularized

comment:6 Changed 5 years ago by viboes

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged to release [80450]

Changed 4 years ago by coxja20_06@…


Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain viboes.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.