CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   error setting up libudf (https://www.cfd-online.com/Forums/fluent/31979-error-setting-up-libudf.html)

andrew_garrard August 15, 2003 05:59

error setting up libudf
 
I have recently got a new machine to run fluent 6.1.18 or which is a linux machine rather than the sun that I am used to. I have tried to build my libudf structre and I think that it is all OK, because I got fluent to build it for me. Unfortunaly I am getting errors I don't understand. I made the simplest .c file, so I don't think that is the problem. The error that is produced is below.

Help? anyone, please.

/bin/sh: line 1: cc: command not found

make[3]: *** [test.o] Error 127

make[3]: Target `libudf.so' not remade because of errors.

make[3]: Leaving directory

`/home/mep02ag/cfd/BV_models/libudf/lnx86/2d'

make[2]: *** [lnx86] Error 2

make[2]: Leaving directory

`/home/mep02ag/cfd/BV_models/libudf/lnx86/2d'

make[1]: *** [default] Error 2

make[1]: Leaving directory

`/home/mep02ag/cfd/BV_models/libudf/lnx86/2d'

[mep02ag@dyn056171 libudf]$ ls

pk August 15, 2003 11:16

Re: error setting up libudf
 
hi

Makes sure that your machine has a C++ compiler installed on it.

this is necessary for the compilation of the UDFs

Hope this helps you

by

-pk

andrew_garrard August 18, 2003 04:41

Re: error setting up libudf
 
Thankyou for your reply, however, I was under the impression that Fluent had it's own C compiler built in specifically for the purpose of building UDF's. When compiling UDF's from source files you can either do it through the Fluent GUI or by typing make "FLUENT_ARCH=lnx86" in the libudf directory.

pk August 19, 2003 01:35

Re: error setting up libudf
 
If you plan to use compiled UDFs [ not interpreted udfs] then you will need the C++ compiler. As I had faced similar problem and once I installed VC++ compiler, it works fine [ I am working with windows. ] by

andrew_garrard August 19, 2003 10:17

Re: error setting up libudf
 
great, that was the problem, now got a complier and things are working fine. thanks


All times are GMT -4. The time now is 13:52.