CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Compiler for UDFs in Windows (https://www.cfd-online.com/Forums/fluent-udf/122760-compiler-udfs-windows.html)

acshina37 August 27, 2013 11:12

Compiler for UDFs in Windows
 
When compiling the UDF in Windows operating system (start Fluent from Microsoft windows SDK), the compiler does not let me declare variables after the 1st calculation in the body of UDF. In other words, all variables declaration must be at the beginning of the UDF. Is this the compiler issue? Are there ways that I can change the C compiler? (using GNU gcc compiler from Code::Blocks instead?).


All times are GMT -4. The time now is 19:42.