I am trying to compile a udf I copied from fluent udf manual. My OS is win10 and I am using ansys fluent 18.2. My problem is: no matter what kinds of environmental variable I set or what kind of modification I do to udf.bat file in fluent root path, I always get error like 'the udf library you are trying to load is not compiled for this platform (win 64)'
I can build udf library without any error. This error pops up when I try to load it.
PS: the same udf code on my friend's computer with win7 system does not give any error.
Can anybody tell me how to solve this problem?