GithubHelp home page GithubHelp logo

Comments (6)

isaevil avatar isaevil commented on June 24, 2024 2

@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.

sarathnandu avatar sarathnandu commented on June 24, 2024

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.

pavel-cpp avatar pavel-cpp commented on June 24, 2024

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.

isaevil avatar isaevil commented on June 24, 2024

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.

pavel-cpp avatar pavel-cpp commented on June 24, 2024

ok, i will try that on this week. You can try this too. Just try to fetch this by conan2.

from onetbb.

sarathnandu avatar sarathnandu commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.