Compiling UDF on NT

While I compile a UDF with Fluent 6.1.15 I get:
> 1 file copiati.
(system "move user_nt.udf provaudfntx863d")0
(system "copy c:fluent.incfluent6.1srcmakefile_nt.udf provaudfntx863dmakefile") 1 file copiati.
(chdir "provaudf")()
(chdir "ntx863d")()

But in the libudf directory in ntx863d I find a log file which contents tells:
cl /c /Za /DUDF_EXPORTING -Ic:fluent.incfluent6.1ntx863d -Ic:fluen
t.incfluent6.1src -Ic:fluent.incfluent6.1cortexsrc -Ic:fluent.incfluen
t6.1clientsrc -Ic:fluent.incfluent6.1tgridsrc -Ic:fluent.incfluent6.1
multiportsrc ....srcInterV.c
"cl" non รจ riconosciuto come comando interno o esterno, /* translation from italian sounds like: "cl" has not been recognized as an internal or external command, an
un programma eseguibile o un file batch. /* executable or a batch file
NMAKE : fatal error U1077: 'cl' : return code '0x1'
If I try to compile from outside fluent after typing nmake I get in the dos prompt the following:
"cl" non riconosciuto come comando interno o esterno, /* same as previous */
un programma eseguibile o un file batch.
NMAKE : U1077: 'cl' : return code '0x1'
It appears that the compiler command "cl "
is not visible in your environment
This probably implies you have not run the visual studio setup batch script "vcvars32.bat"

The best thing to do is to put the driectory where vcvars32.bat reside in your path.

This will be something like:

c:Program FilesMicrosoft Visual StudioVC98Bin

Then, when vcvars32.bat has been run, nmake _should_ find cl and compile successfully

Show Form
No comments yet. Be the first to add a comment!