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/)
-   -   problem with compiling udf through visual studio (https://www.cfd-online.com/Forums/fluent-udf/158115-problem-compiling-udf-through-visual-studio.html)

chem engineer August 16, 2015 02:34

problem with compiling udf through visual studio
 
hi everyone
I want to compile a mass inlet udf for boundary condition. I run fluent through microsoft VS 2010. I also copied the fluent.exe address in environmental variable path. the udf is compiled in another system with these conditions. but I in my system I face the following error while compiling it. I will be really thankful if anyone could help me with this problem.
(system "copy c:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\3ddp\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\3ddp")()
massinlet.c
c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(158) : see previous definition of 'stdout'
c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(159) : see previous definition of 'stderr'
c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(157) : see previous definition of 'stdin'
# Generating udf_names.c because of makefile massinlet.obj
Done.
"j:/fluen/1"
Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.
Error Object: ()

Far August 16, 2015 23:36

Did you check the compatibility of VS2010 and fluent 6.3?

I have recently used fluent 16.0 and visual studio 2012 express and it is working perfectly...

chem engineer August 17, 2015 10:46

yes I used fluent 6 and vs 2010. I uninstalled fluent and again I installed it. the problem was solved and it worked. I think i had made a mistake in installation process. thanks for your kind answer.


All times are GMT -4. The time now is 07:29.