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.
1568 Discussions

stdio not found , new installation in vs2022.11.17 and inteloneapi 2024.2

tat0k
Novice
987 Views

Hello i just install new vs 2022.11.17 on and inteloneapi 2024.2. on no problem in windows installation.

after install i ran inteloneapi command line said  Visual Studio command-line environment was not configured.

so i put VS2022INSTALLDIR  in servars.bat intel.

set "VS2022INSTALLDIR=d:\Program Files\Microsoft Visual Studio\2022\Community"
rem ====================================================================

 

then..

 

:: initializing oneAPI environment...
Initializing Visual Studio command-line environment...
Visual Studio version 17.11.0 environment configured.
"d:\Program Files\Microsoft Visual Studio\2022\Community\"
Visual Studio command-line environment initialized for: 'x64'
: advisor -- latest
: compiler -- latest
: debugger -- latest
: dev-utilities -- latest
: dpcpp-ct -- latest
: dpl -- latest
: ipp -- latest
: mkl -- latest
: mpi -- latest
: ocloc -- latest
: tbb -- latest
: vtune -- latest
:: oneAPI environment initialized ::

 

 

but when i ran compiling

 

d:\intel-run\superlu7\SRC>icx *.c /c /Qmkl /QaxCORE-AVX2 -DF77_CALL_C=UPCASE /Ox
Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.2.1 Build 20240711
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.

 

d:\intel-run\superlu7\SRC\ccolumn_bmod.c(34,10): fatal error: 'stdio.h' file not found
34 | #include <stdio.h>
| ^~~~~~~~~
1 error generated.

it cant find stdio.h

 

any clue

Labels (1)
0 Kudos
1 Solution
tat0k
Novice
890 Views

Problem solved.

It need windows 11 SDK installed during installation Visual Studio 2022.11.17

 

1. Yes successfully installed.

2. 2022.11.17

3. Windows 11

4. No only the latest one. 2024.2

5. offline

6. logs file. its on newer computer. i will sent it later.  

 

 

View solution in original post

0 Kudos
3 Replies
Vipin_S_Intel
Moderator
920 Views

Hi Ary, could you please share the below details with us?

 

  • Has the product been successfully installed? If not, kindly share the below information.
  • Exact Version of Microsoft Visual Studio installed along with it's build version.
  • Operating System build on which you are installing the product.
  • Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on the system.
  • Is the installer an online or an offline package? 
  • Installation Log files. 
    • The default path for a log file for a oneAPI installation is: C:\Program Files (x86)\Intel\oneAPI\logs 

 

To assist you further, we would require these details.


0 Kudos
tat0k
Novice
891 Views

Problem solved.

It need windows 11 SDK installed during installation Visual Studio 2022.11.17

 

1. Yes successfully installed.

2. 2022.11.17

3. Windows 11

4. No only the latest one. 2024.2

5. offline

6. logs file. its on newer computer. i will sent it later.  

 

 

0 Kudos
Vipin_S_Intel
Moderator
793 Views

Hi Ary, thank you for your confirmation. We are glad that the issue has been resolved.  

 

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


0 Kudos
Reply