compile using the built in compiler. in fluent select user defined tab, then functions, compile .. check the built in compiler box. and built. probably you will get different error. Visual studio doesn't know the header files in fluent .. so it will come with more errors.
Ansys customers with active commercial software licenses can access the
customer portal and submit support questions. You will need your active account number to register.