What OS were you using to build this image? What image are you using with the Edison? Did you follow all previous steps on the guide before getting to this point? After running sudo apt-get install libtbb-dev:i386, what are the contents of /usr/include/tbb?
I used LinuxMint 18, which, I believe, is equivalent to Ubuntu 16.04. On Edison I have my custom yocto image, but I didn't change much from the default configuration downloaded from the official site IoT - Intel® Edison Board Download | Intel® Software .
As I explained, I tried with copying only libtbb.so, libtbbmalloc.so and libtbbmalloc_proxy.so, but this failed, because they were just the softlinks, so I had to search for libtbb.so.2 etc., which I found in /usr/lib/i386-linux-gnu directory on my host-machine.
The contents of /usr/include/tbb are the following:
aggregator.h index.html runtime_loader.h
aligned_space.h internal scalable_allocator.h
atomic.h machine spin_mutex.h
blocked_range.h memory_pool.h spin_rw_mutex.h
blocked_range2d.h mutex.h task.h
blocked_range3d.h null_mutex.h task_arena.h
cache_aligned_allocator.h null_rw_mutex.h task_group.h
combinable.h parallel_do.h task_scheduler_init.h
compat parallel_for.h task_scheduler_observer.h
concurrent_hash_map.h parallel_for_each.h tbb.h
concurrent_lru_cache.h parallel_invoke.h tbb_allocator.h
concurrent_priority_queue.h parallel_reduce.h tbb_config.h
concurrent_queue.h parallel_scan.h tbb_exception.h
concurrent_unordered_map.h parallel_sort.h tbb_machine.h
concurrent_unordered_set.h parallel_while.h tbb_profiling.h
concurrent_vector.h partitioner.h tbb_stddef.h
critical_section.h pipeline.h tbb_thread.h
enumerable_thread_specific.h queuing_mutex.h tbbmalloc_proxy.h
flow_graph.h queuing_rw_mutex.h tick_count.h
By the way, I succeeded by downloading already built tbb from here: Download | Threading Building Blocks
Why are you trying to install OpenCV using this method? I haven’t tried this method yet but, as an alternative you can try installing OpenCV from AlexT’s repository. You can see instructions on how to configure the repo here http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html .
You can see a discussion about this here https://communities.intel.com/message/394848#394848
Let us know your results.
Thank you for the suggestion, but unfortunately opencv from AlexT's repository is just 2.4.9, and I needed 3.1.0.
As I said, I managed to install openCV with the pre-built TBB downloaded from offsite, so no further help needed.
Thank you very much for your help.