|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
EmmaKate
Join Date: Aug 2023
Posts: 9
Rep Power: 2 ![]() |
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! |
|
![]() |
![]() |
![]() |
Tags |
compile error, error, makefile, udf |
|
|
![]() |
||||
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 03:46 |
Error: WorkBench Error: Could not handle event: SolutionStatusUpdate | Kieyo | Fluent Multiphase | 0 | November 9, 2022 23:58 |
how to run fluent from matlab without using aas toolbox? | artemis96 | ANSYS | 7 | May 23, 2022 12:16 |
Running Fluent from Python: UDF Compilation problems | Ames | Fluent UDF and Scheme Programming | 5 | November 16, 2020 06:12 |
[OpenFOAM.com] Issue configuring ./makeParaView - Ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 2 | April 20, 2020 13:50 |