CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Compiler error UDF Fluent

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2024, 17:04
Default Compiler error UDF Fluent
  #1
New Member
 
EmmaKate
Join Date: Aug 2023
Posts: 11
Rep Power: 3
emmakateh is on a distinguished road
I am using the x64 Native tools Command Prompt for VS 2017 to build my UDF Library (chapter 5 in the udf manual) I have setup the user_nt.udf in this way:

CSOURCES = $(SRC)magneticfield_w_externalcalcs.c
HSOURCES = $(SRC)header_external_calcs.h
VERSION = 3ddp_node
PARALLEL_NODE = smpi

# Do not change the following line unless externally precompiled objects
# are to be included at the linking stage.
# For example: USER_OBJECTS = my_fortran_funcs.obj

USER_OBJECTS = external_calcs.obj


I put the magneticfield_w_externalcalcs.c and header_external_calcs.h in the ..\..\src folder but when I execute the makefile i get this error:

cl : Command line warning D9024 : unrecognized source file type '..\..\src\header_external_calcs.h', object file assumed
cl : Command line warning D9027 : source file '..\..\src\header_external_calcs.h' ignored

I am not sure why the makefile is ignoring the header but if anyone can help, please let me know!
emmakateh is offline   Reply With Quote

Reply

Tags
compile error, error, makefile, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
../externals/cgns/hdf5/H5public.h:63:10: fatal error: mpi.h: No such file or director Mohsin1 SU2 8 November 25, 2023 04:46
Error: WorkBench Error: Could not handle event: SolutionStatusUpdate Kieyo Fluent Multiphase 0 November 10, 2022 00:58
how to run fluent from matlab without using aas toolbox? artemis96 ANSYS 7 May 23, 2022 13:16
Running Fluent from Python: UDF Compilation problems Ames Fluent UDF and Scheme Programming 5 November 16, 2020 07:12
[OpenFOAM.com] Issue configuring ./makeParaView - Ubuntu 16.04 bjdarrer OpenFOAM Installation 2 April 20, 2020 14:50


All times are GMT -4. The time now is 11:40.