- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have developed a DPC++ project using Microsoft Visual Studio 2019. Is t possible run the project executable from Windows command prompt.
I tried doing it and the screenshot attached shows the error.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aishwarya,
Thanks for reaching out to us.
>>Is t possible run the project executable from Windows command prompt
Yes, you can run it from the windows command prompt but before doing that just make sure the oneAPI environment is initialized.
You can initialize that by running the setvars.bat file manually which is located under "C:\Program Files (x86)\Intel\oneAPI" path.
Alternately, you can just make use of the Intel oneAPI command prompt where the oneAPI environment is initialized automatically (no need to do it manually)
Hope the provided information helps in resolving the issue.
Regards,
Vidya.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aishwarya,
Thanks for reaching out to us.
>>Is t possible run the project executable from Windows command prompt
Yes, you can run it from the windows command prompt but before doing that just make sure the oneAPI environment is initialized.
You can initialize that by running the setvars.bat file manually which is located under "C:\Program Files (x86)\Intel\oneAPI" path.
Alternately, you can just make use of the Intel oneAPI command prompt where the oneAPI environment is initialized automatically (no need to do it manually)
Hope the provided information helps in resolving the issue.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vidya,
I initialized the oneAPI environment by running the setvars.bat file.
I am still getting the same error when I try to run the program.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aishwarya,
Thanks for accepting our solution.
As the issue is resolved we are closing this thread. Please post a new question if you need any additional information from Intel as this thread will no longer be monitored.
Have a Great Day!
Regards,
Vidya.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page