oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1429 Discussions

Standard way to setup OneDAL in Visual Studio 2022 in Windows

JohnZhang
New Contributor I
865 Views

I managed to setup it up and get it working correctly but it is all a bit trial and error when setting up the include/lib paths. I wonder if there is a standard way to do this to help anyone on the same task. I googled it and couldn't find any detailed steps.

This is what I did:

1. Install OneDAL from https://www.intel.com/content/www/us/en/developer/tools/oneapi/onedal-download.html

2. Visual Studio 2022 will show an OneDAL option in the Intel Library for oneAPI in project configuration properties. There are 3 options: Default Linking Method/Multi-threaded Static Library/Multi-threaded DLL. I have used the default one. Not sure about the other two.

3. Setup the include paths.

4. Setup the lib paths. Do I need to setup the TBB lib path???

5. Setup the lib files. I don't know if these are more than needed? Are they related to the option I chose in step 2?

     For Debug: I set

onedald.lib
onedal_cored.lib
onedal_dpcd.lib
onedal_sycld.lib
onedal_threadd.lib
tbb12_debug.lib
tbbbind_2_0_debug.lib
tbbbind_2_5_debug.lib
tbbbind_debug.lib
tbbmalloc_debug.lib
tbbmalloc_proxy_debug.lib
tbb_debug.lib

     For release: I set

onedal.lib
onedal_core.lib
onedal_dpc.lib
onedal_sycl.lib
onedal_thread.lib
tbb.lib
tbb12.lib
tbbbind.lib
tbbbind_2_0.lib
tbbbind_2_5.lib
tbbmalloc.lib
tbbmalloc_proxy.lib

0 Kudos
4 Replies
ArpanB_Intel
Moderator
850 Views

Hi John, could you confirm whether you encountered any errors or warnings during the installation?



We would like to know.


0 Kudos
JohnZhang
New Contributor I
829 Views

One error I had is "missing tbb12.dll" when I didn't include the tbb lib path. 

0 Kudos
ArpanB_Intel
Moderator
815 Views

John, please click here: https://www.intel.com/content/www/us/en/docs/onedal/get-started-guide/2021-6/overview.html, for complete guidance on setting up the Intel® oneAPI Data Analytics Library installation.


0 Kudos
ArpanB_Intel
Moderator
801 Views

John, unfortunately we were unable to hear back from you.




If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.


0 Kudos
Reply