Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Licensing

Licensing

Fluent (any version) UDF compilation running on Windows 10 with Microsoft Visual Studio fails to compile with the error: UDF compilation error- LINK : fatal error LNK1104: cannot open file ‘kernel32.lib’

    • SolutionSolution
      Participant

      This error will occur when there is a LIB environment variable present that is pointing to an outdated location for kernel32.lib or if there is no LIB variable pointing to a newer kernel32.lib file. For Fluent Version V202: Create a LIB System variable. The value would be: LIB=C:Program FilesANSYS Incv202fluentntbinclangkitlibwinv6.3umx64 For Fluent Version 201 and older: I have attached kernel32.zip file. Download the file and extract it to anywhere on your system, for example, c:temp. Create a LIB SYSTEM variable and the value will be the location of the kernel32.lib file.

      Attachments:
      1. 2061708.zip