|
[Sponsors] |
February 20, 2006, 18:15 |
MS Visual Studio
|
#1 |
Guest
Posts: n/a
|
Greetings,
I have a mixed language project which I am trying to build using NMAKE. I opened the MS Visual Studio and exported the make file. I am using Compaq Digital Fortran ver and the OS is Windows XP Professional. Whenever I build the project using Visual Studio everything links with no problem, however when I try to use NMake with the exported make file I get the following error. LINK : fatal error LNK1104: cannot open file "dfor.lib" NMAKE : fatal error U1077: 'link.exe' : return code '0x450' Does anyone know how to fix this? All help is appreciated! Thanks, AK |
|
February 20, 2006, 22:28 |
Re: MS Visual Studio
|
#2 |
Guest
Posts: n/a
|
Build your project with visual studio and study the output window or build log file. Look for either a /LIBPATH argument to the link command or a set LIB=xxx command in the build log. Then add that to your nmake file or LIB environment variable.
The dfor.lib file is probably in a subdirectory of the fortran installation directory - you could just look for it and add that directory to the makefile (/LIBPATH:xxx option on the link line). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Microsoft Visual Studio | ehooi | Fluent UDF and Scheme Programming | 0 | January 14, 2011 12:47 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
error while compiling a udf | rahul | FLUENT | 10 | August 30, 2006 09:33 |