Modify

Ticket #7200 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

comment:1 Changed 3 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 3 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: 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 Changed 3 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 3 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 3 years ago by viboes

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

comment:6 Changed 3 years ago by viboes

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

Merged to release [80450]

Changed 3 years ago by coxja20_06@…

khkgjfhgdytrutggvfdr7

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.