We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

ANSYS Fluent cannot find compiler for visual studio when running UDF.

    • Rosa Spence
      Subscriber

      Have been having some issues loading a User Defined Function into ANSYS. Am getting the following warning. Visual studio is installed. Any advise how to set the compiler correctly.

      scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

      Thank you

    • Federico
      Ansys Employee

      Have you tried the Built-in Compiler within Fluent?

      • Rosa Spence
        Subscriber

        Yes, I have also tried opening fluent through the visual studio command prompt, however that does not solve the error.

        • Federico
          Ansys Employee

          Are you able to load the UDF? If you're using Fluent's built-in compiler, you can just ignore this message.

Viewing 1 reply thread
  • The topic ‘ANSYS Fluent cannot find compiler for visual studio when running UDF.’ is closed to new replies.