CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

MS Visual Studio

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2006, 18:15
Default MS Visual Studio
  #1
ajay kumar
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

  Reply With Quote

Old   February 20, 2006, 22:28
Default Re: MS Visual Studio
  #2
Chris
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).

  Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 15:50.