Comments (6)
@sarathnandu @pavel-cpp CMake has found the library. In the log above there is link line: C:/Program Files (x86)/Intel/oneAPI/tbb/2021.11/lib/tbb12_debug.lib"
oneTBB library is a C++ library and built using MSVC so I am pretty sure it is not ABI compatible with MinGW. You should either rebuild oneTBB from source or not use MinGW toolchain in this case.
from onetbb.
I think cmake is not able to find the path to the library here. One thing to try is to let CMake know where to search for TBBConfig directly,
Starting from oneTBB 2021.1, GitHub* release TBBConfig files in the binary packages are located under /lib/cmake/TBB
You can specify this as
cmake -DTBB_DIR=<TBB_ROOT>/lib/cmake/TBB ..
from onetbb.
When I studied the oneTBB source files, I noticed that there is an implementation for MinGW Toolchain, but it does not compile due to incorrect conversion of char to wchar_t.
from onetbb.
You should be able to compile oneTBB from sources using MinGW. If you see any compile errors, please share error logs. Pull requests are welcome as well :)
from onetbb.
ok, i will try that on this week. You can try this too. Just try to fetch this by conan2.
from onetbb.
I presume you were able to build oneTBB using MinGW. Closing this issue.
Feel free to open if you're facing any trouble.
from onetbb.
Related Issues (20)
- getting compile error on tag 2021.9.0 with gcc 8.5.0 HOT 3
- Deadlock issue in OpenBLAS with TBB HOT 2
- 2021.12.0: missing tag/release? HOT 3
- Global task_schedule_observer leads to error on WASM and static lib x86 HOT 9
- doc/README.md is misleading HOT 2
- Immediately scheduling task on a different thread HOT 9
- std::aligned_storage is deprecated in C++23 HOT 1
- Security.md: replace incorrect email address
- Support priority for join_node HOT 1
- CMake FetchContent fails to install oneTBB HOT 1
- Avoid split constructor for the Range concept HOT 2
- Compiling TBB with recent GCC 13.2, 11.4 fails HOT 2
- Possible lifetime issue with parallel_scan over non trivially destructible range HOT 3
- WASM - linking to both `-ltbb` and `-ltbbmalloc` gives duplicate symbol error for `itt_notify` HOT 3
- Potential Array Out of Bounds and Redundant Code in create_record Function HOT 1
- static_partitioner + global_control triggers an unbounded memory leak HOT 2
- Can't compile concurrent_vector with include winsock2.h or ws2tcpip.h HOT 5
- OpenBSD and NetBSD doesn't have the cpuset_* feature
- Unable to use tbb.framework in an iOS app
- WASM + Debug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onetbb.