|
[Sponsors] |
August 6, 2015, 08:45 |
UDF compilation error
|
#1 |
New Member
Martin Vymazal
Join Date: Dec 2009
Posts: 16
Rep Power: 17 |
Hello,
I have a legally obtained and installed copy of Fluent, that I'm trying to make run on unsupported Linux distribution (Arch Linux in my case). A compilation of a simple udf file (which works fine under Windows) results in an error on Linux. The error message is: Code:
cpp -I"/opt/ansys_inc/v145/fluent/fluent14.5.7/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.7/cortex/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.7/client/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.7/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "/home/martin/Work/TestSimulationAnsys/Elbow_TestCase/ParabolicSteadyVelocity_ElbowPipe.c" In file included from /home/martin/Work/TestSimulationAnsys/Elbow_TestCase/ParabolicSteadyVelocity_ElbowPipe.c:7: /usr/include/math.h:379: warning: `M_SQRT2' redefined /opt/ansys_inc/v145/fluent/fluent14.5.7/src/global.h:99: warning: this is the location of the previous definition Error: /usr/include/bits/types.h: line 31: syntax error. Code:
typedef unsigned short int __u_short; |
|
Tags |
compilation error, linux, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |