[fpc-pascal] Problem with freevision (winxp pro sp2 english)

Oliver Leitner shadow333 at gmail.com
Sat Aug 20 13:23:43 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
 
Marco van de Voort wrote:

|> Dear Ladies and Gentleman.
|>
|> I am trying to compile the fv example:
|>
|> C:\FPC\2.0.0\examples\fv\*.pas
|
|
|> fvcommon.pas(2,18) Fatal: Can't find unit FVCommon
|> fvcommon.pas(2,18) Error: Compilation aborted make: ***
|> [tfileio.exe] Error 1
|
|
| Sounds like a problem with your units path.
|
| Make sure you have something like
|
| -Fuc:\fpc\2.0.0\units\i386-win32\*
|
| in your fpc.cfg. Note the asterisk on the end.
|
| If this doesn't work, use compiler option -vt to get info where it
|  is searching.
|
| _______________________________________________ fpc-pascal maillist
| -  fpc-pascal at lists.freepascal.org
| http://lists.freepascal.org/mailman/listinfo/fpc-pascal
|
fpc.cfg looks like this (for units):
# searchpath for units and other system dependent things
- -FuC:\FPC\2.0.0/units/$FPCTARGET/
- -FuC:\FPC\2.0.0/units/$FPCTARGET/*
- -FuC:\FPC\2.0.0/units/$FPCTARGET/rtl

fpc -vo shows the following:

Searching file fpc.cfg... not found
Configfile search: fpc.cfg
Searching file fpc.cfg... not found
Configfile search: C:\FPC\2.0.0\bin\i386-Win32\fpc.cfg
Searching file C:\FPC\2.0.0\bin\i386-Win32\fpc.cfg... found
Reading options from file C:\FPC\2.0.0\bin\i386-Win32\fpc.cfg
Path ".\$1\units\\i386-win32\" not found
Path ".\$1\units\\i386-win32\*\" not found
Path ".\$1\units\\i386-win32\rtl\" not found
Free Pascal Compiler version 2.0.0 [2005/05/08] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Fatal: No source file name in command line
Error: Compilation aborted
Error: C:\FPC\2.0.0\bin\i386-Win32\ppc386.exe returned an error
exitcode (normal if you did not specifiy a source file to be compiled)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
 
iD8DBQFDBxHixHPquN24yVsRAxopAJ96IUllY/u/BX4Sztbf3UgLGB3OfQCfepfG
vGIvUSyuZV4fHGDbRpjjRLw=
=ju2w
-----END PGP SIGNATURE-----





More information about the fpc-pascal mailing list