-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined reference linking error #1332
Comments
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, |
@sarathnandu @pavel-cpp CMake has found the library. In the log above there is link line: |
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. |
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 :) |
ok, i will try that on this week. You can try this too. Just try to fetch this by conan2. |
I presume you were able to build oneTBB using MinGW. Closing this issue. |
Im using CMake with MinGW toolset. I decided to study your library, unfortunately, I encountered compilation errors and existing tickets on the Internet did not help fix the linking error.
My sources:
CMakeLists.txt
main.cpp
Logs
The text was updated successfully, but these errors were encountered: