Skip to content

Conversation

@FlorentLM
Copy link

Small changes to accomodate for libtbb's replacement, oneTBB (including a bump to mapmap's latest commit which builds fine with oneTBB)

// Set the number of threads to use.
tbb::task_scheduler_init schedule(conf.num_threads > 0 ? conf.num_threads : tbb::task_scheduler_init::automatic);
if (conf.num_threads > 0) {
if (num_threads > 0) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mvs-texturing/apps/texrecon/texrecon.cpp:63:9: error: ‘num_threads’ was not declared in this scope
   63 |     if (num_threads > 0) {

should be:

if (conf.num_threads > 0) {

@thomas-19
Copy link

@FlorentLM , thank you so much. I spent the entire day trying to resolve a compiler issue related to TBB. Your PR was a great help!

donlk added a commit to donlk/mvs-texturing that referenced this pull request Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants