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

Dfconsol.lib or Ifconsol.lib for linking earexe ?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 12, 2008, 11:11
Default Dfconsol.lib or Ifconsol.lib for linking earexe ?
  #1
Noel
Guest
 
Posts: n/a
Dear all,

I try to Build Earth, but it fails with error in the linking process. The message given in the builtear file (I attach the content of Bldear.BAT below) is :

"LINK : fatal error LNK1104: cannot open file "ifconsol.lib".

In the Lib directory of my Visual Fortran compiler, I found Dfconsol.lib, but there is no ifconsol.lib.
Is this where the error originates ? If yes, then how can I change the setting of linking process so that it calls Dfconsol.lib instead of ifconsol.lib ?


Regards,

Noel

================================================== ======
rem <html><head><link rel="stylesheet" type="text/css" href="/phoenics/d_polis/polstyle.css"></head>
@echo off
rem bldear.bat creates a local Digital Fortran earexe.exe
rem starting with a local main.htm or main.for
rem and/or a local ground.htm or ground.for
rem it makes a 2-level back-up of already-existing executables

rem ********* obtain and compile MAIN ************
if defined phoenics (set pho=%phoenics%) else set pho=\phoenics
if exist main.htm goto aa
if exist main.for goto bb

copy "%pho%\d_earth\main.htm" main.for
goto bb

:aa
copy main.htm main.for > nul

:bb
call compile main.for
rem ********* obtain and compile GROUND ************
if exist ground.htm goto ee
if exist ground.for goto ff

rem otherwise get the version provided by CHAM
copy "%pho%\d_earth\ground.htm" ground.for > nul
goto ff

:ee
call copy ground.htm ground.for

:ff
call compile ground.for

if exist gentra.for goto gg
if exist gentra.htm copy gentra.htm gentra.for > nul
:gg
if exist gentra.for call compile gentra.for

echo linking earexe
rem core
echo. > earexe
echo main.obj >> earexe
echo ground.obj >> earexe
if exist gentra.obj echo gentra.obj >> earexe
if not exist cospmain.obj echo "%pho%\d_earth\d_windf\cospmain.obj" >>earexe
if exist cospmain.obj echo cospmain.obj >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\m_*.obj" >> earexe
echo "%pho%\d_earth\d_windf\d_corobj\*.obj" >> earexe
echo "%pho%\d_earth\d_windf\d_corobj\*.lib" >> earexe
rem goto noopt
rem options
echo "%pho%\d_earth\d_windf\d_optobj\*.lib" >> earexe
:noopt
rem goto nospec
rem specials
echo "%pho%\d_earth\d_windf\d_speobj\*.lib" >> earexe
:nospec
rem goto nochemkin
rem chemkin
echo "%pho%\d_earth\d_windf\d_cmkobj\*.lib" >> earexe
:nochemkin
rem libraries
echo "%pho%\d_earth\d_windf\d_parobj\parlib.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\esalib.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\gralib.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\syslib.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\phodum.obj" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\msw*.obj" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\mph*.obj" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\pollib.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\mpi\mpich.lib" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\sentpro\sentpro.lib " >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\sentpro\spdf90. obj" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\flexlm\lm_new.o bj" >> earexe
echo "%pho%\d_allpro\d_libs\d_windf\flexlm\lmgr.lib " >> earexe
echo /defaultlib:user32.lib gdi32.lib winmm.lib advapi32.lib >> earexe
echo version.lib wininet.lib netapi32.lib kernel32.lib >> earexe
echo comctl32.lib comdlg32.lib dformt.lib libcmt.lib >> earexe
echo /nodefaultlib:libc.lib dfor.lib msvcrt.lib libcd.lib >> earexe
echo /out:temp.exe /largeaddressaware >> earexe
link @earexe >builtear
del earexe
copy temp.exe earexe.exe
del temp.exe
if exist main.htm del main.for
if exist main.obj del main.obj
if exist ground.htm del ground.for
if exist ground.obj del ground.obj
if exist gentra.htm del gentra.for
if exist gentra.obj del gentra.obj
rem
</body></html>
  Reply With Quote

 


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
earexe.exe file Juan Phoenics 1 June 23, 2006 09:42
EAREXE error Sileno Phoenics 2 February 13, 2006 13:10
earexe User Phoenics 2 November 12, 2004 20:24
RUNEAR INSTEAD OF EAREXE, IS IT POSSIBLE? stk Phoenics 0 February 22, 2004 05:35
RUN EAREXE IN VR STK Phoenics 6 February 22, 2004 05:33


All times are GMT -4. The time now is 16:34.