|
[Sponsors] |
January 10, 2018, 11:39 |
64-bit machine, 32-bit build environment
|
#1 |
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 8 |
Dear all,
I am trying to compile a UDF file (in C) provided in a Fluent tutorial package, but using TUI (not the GUI), as explained in the help documentation. The reason I chose this way is because the compiling process (building the libudf folder and files) always failed. I set up the folder structure, then copied and modified the user_nt.udf and Makefile files. I tried to run the nmake procedure (by executing work_dir\libudf\win64\2ddp>nmake in the developer command prompt for VS), but then the following error message was shown: makefile(50): Error(E33): You need to define the environmental variable FLUENT_INC. You seem to be working on 64-bit machine, but in a 32-bit build environment. If you really want to build the UDF for the "ntx86" FLUENT_ARCH, then please set the "FLUENT_ARCH" environment variable to "ntx86" before calling this. makefile(71): Error(E33): Aborting. Error(E02): Make execution terminated. I think it is related to platform compatibility. I am using Fluent 17.2 in Windows 10. (I installed the Visual Studio 2017, but the nmake was executed by Open Watcom C/C++ NMAKE Clone, probably due to the fact that I had it installed before I installed the VS 2017.) I don't understand how I can set that FLUENT_ARCH environment variable. I open the Environment Variables from Advanced System Settings, but I cannot find the FLUENT_ARCH entry and have no idea where to find the "ntx86". Really appreciate if ones can help. Daniel |
|
January 12, 2018, 16:50 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66 |
Quote:
Then in Variable value put ntx86 You can do this as a user var or a system var. You might need to log out and log in again before the changes have any effect. |
||
January 18, 2018, 13:06 |
|
#3 |
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 8 |
Hi Tran,
Thank you. I did a fresh start of Windows to get rid of all MS C++ and Visual Studio (so many of them already) and reinstalled the program as you suggested. It worked well. Daniel |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building from Source on Windows using Cygwin64 | ericthefatguy | SU2 | 2 | May 12, 2015 18:23 |
CFdesign software for 64 bit machine | M_Marivani | Autodesk Simulation CFD | 0 | April 20, 2006 09:50 |
Fortran programming and 64 bit machine | Q | Main CFD Forum | 4 | November 7, 2005 05:18 |
64 Bit machine | P | FLUENT | 7 | June 24, 2005 13:17 |
PC vs. Workstation | Tim Franke | Main CFD Forum | 5 | September 29, 1999 15:01 |