General

General

I have UDF that used to work, but now the compilation is failing on a header file with the error: ….srcUDF.c(9) : fatal error C1083: Cannot open include file: ‘info.h’: Invalid argument If I comment out the include line for info.h, it fails on the next header file. The required header files are all in my working directory. Why isn’t Fluent finding them?

    • SolutionSolution
      Participant

      Unlike built-in header files, custom header files will not be located unless they are added to the right hand side of the “Compiled UDFs” window (see attachment). This will ensure that they are copied (along with the UDF) to the libudf/src folder, which is where the compile looks for them.

      Attachments:
      1. header_files.png