# Compiler x64 on Visual studio 2022 undetected

**URL:** <https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833>\
**Category:** Help\
**Created:** [November 12, 2024, 11:29am UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833 "2024-11-12T11:29:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arman09](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@arman09](https://fortran-lang.discourse.group/u/arman09)\
**Post date:** [November 12, 2024, 11:29am UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833/1 "2024-11-12T11:29:48Z")

</div>

I’m trying to compile a program with Visual Sudio 2022 professional.

But at the moment I click on “Start”, this error message appears :  
“Configuration ‘Debug|x64’ requires compiler support fpr the ‘x64’ platform, but that support is non-installed.”

I tried uninstalling/installing MVS (with the C++ desktop option) and IntelAPI, I tried a few things with ChatGPT and spent already too much time on this.

Has any one of you got an idea ?

Thank you

---

<div class="post-metadata">

**Author:** ![Arjen](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Arjen](https://fortran-lang.discourse.group/u/Arjen)\
**Post date:** [November 12, 2024, 11:41am UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833/2 "2024-11-12T11:41:43Z")

</div>

Welcome to the forum. You probably need to set the compiler to ifx instead of ifort. I had the same problem last week and was able to solve it in my specific environment by telling CMake it needed to look for a particular toolset. See the thread [Problems with Visual Studio and Intel Fortran oneAPI](https://fortran-lang.discourse.group/t/problems-with-visual-studio-and-intel-fortran-oneapi/8810)

---

<div class="post-metadata">

**Author:** ![arman09](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@arman09](https://fortran-lang.discourse.group/u/arman09)\
**Post date:** [November 14, 2024, 9:22pm UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833/3 "2024-11-14T21:22:07Z")

</div>

Thank you for your answer. I’m using it on windows 11. I’m trying to figure out with Chat GPT how to set the compiler to ifx but I’m struggling. Would you know a procedure that would work for me ?

Thanks also for the thread but it’s not really helping my case, and I’m not using Cmake so…

---

<div class="post-metadata">

**Author:** ![arman09](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@arman09](https://fortran-lang.discourse.group/u/arman09)\
**Post date:** [November 14, 2024, 9:43pm UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833/4 "2024-11-14T21:43:03Z")

</div>

Alright I found it, it was really simple actually. Just had to look in the properties of my file and set the compiler to IFX.

Thanks a lot again.

---

<div class="post-metadata">

**Author:** ![sblionel](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/sblionel/32/853_2.png) [@sblionel](https://fortran-lang.discourse.group/u/sblionel)\
**Post date:** [November 15, 2024, 12:41am UTC](https://fortran-lang.discourse.group/t/compiler-x64-on-visual-studio-2022-undetected/8833/5 "2024-11-15T00:41:41Z")

</div>

I’m glad to hear that you found a solution. In the future, should you have questions about using Intel Fortran, I suggest you post in [Intel® Fortran Compiler - Intel Community](https://community.intel.com/t5/Intel-Fortran-Compiler/bd-p/fortran-compiler)
