home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,862 of 2,978   
   Robert AH Prins to Adrian Devries   
   Re: FPC - trying again :(   
   10 Jan 12 10:04:47   
   
   XPost: comp.lang.pascal.misc   
   From: spamtrap@prino.org   
      
   On 2012-01-10 07:58, Adrian Devries wrote:   
   > Before I try to compile your sources with fpc, I try to compile it with   
   > vpc. With the following batch   
   >   
   > @echo off   
   > :Main   
   > setlocal   
   > set  DevDir=c:\01-lift\vp\dev   
   > set     VPC=c:\vp21\bin.w32\vpc -M -V%DevDir%   
   > set   Progs=chkdat dat2csv dat2txt dayform get-aud h-h2rtf lift \   
   > newlift h-h2wiki   
   > set LogFile=%~dpn0.log   
   > type nul>"%LogFile%"   
   > pushd "%~dp0"   
   > if not exist "%DevDir%" (md "%DevDir%")   
   > copy /y ..\source\*.* "%DevDir%\" 1>nul   
   > copy /y ..\vpo\*.*    "%DevDir%\" 1>nul   
   > pushd "%DevDir%"   
   > touch *.pas *.vpo   
   > for %%a in ( %Progs% ) do (   
   > 	if "%%~a"=="get-aud" (sed -i -r -e "s_d:_c:_g" "%%~a.vpo"&  \ del /f /q   
   > sed*.)   
   > 	%VPC%\%%~a.vpo | tee -a "%LogFile%"   
   > )   
   > popd   
   > popd   
   > endlocal   
   > pause   
   > goto :EOF   
   > :EOF   
   >   
   > I get following results:   
   >   
   > Virtual Pascal  Version 2.1.279  Copyright (C) 2000-2004 vpascal.com   
   >                  Built in London, UK on 9 May 2004 by build@vpascal.com   
   >   
   > c:\01-lift\vp\dev\chkdat.pas(1)   
   > c:\01-lift\vp\dev\chkdat.pas(27): Error 15: File 'hhcommon.vpi' is not found   
   >    hhcommon;   
   > ..........^   
   >   
   > (...)   
   >   
   > The file get-aud.vpo contains incorrect path settings; the batch   
   > corrects it on the fly. But the main problem is the missing hhcommon stuff.   
      
   hhcommon.pas should compile to hhcommon.vpi/hhcommon.lib, a "Make" (F9)   
   in the IDE should create the critter, in my case in "C:\vp21\out.w32\units"   
      
   FWIW, my VP install is the one that is created by the VP installer, i.e.   
   in c:\vp21, with only the CHM (from Ning) documentation added to the   
   vp21\doc library.   
      
   Robert   
   --   
   Robert AH Prins   
   robert(a)prino(d)org   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca