Elektroda.pl
Elektroda.pl
X
Proszę, dodaj wyjątek www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

[Delphi] Lazarus. Projekt z innego pc-ta nie kompiluje się.

pipinet 01 Wrz 2010 20:42 1325 1
  • #1 01 Wrz 2010 20:42
    pipinet
    Poziom 18  

    Przeniosłem projekt na pendrivie z jednego komputera na inny (cały folder) i przy próbie kompilacji wyświetla mi sie komunikat o bledach taki jak poniżej.

    Code:
    unit5.pas(41,1) Note: Local variable "wybrano" not used
    
    windres [option(s)] [input-file] [output-file]
    windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
    Hint: Start of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
    Hint: End of reading config file C:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
    Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
    Copyright (c) 1993-2008 by Florian Klaempfl
    Target OS: Win32 for i386
    Compiling project1.lpr
    Compiling unit1.pas
    Compiling unit2.pas
    unit2.pas(22,28) Hint: Parameter "Sender" not used
    unit2.pas(23,28) Hint: Parameter "Sender" not used
    Compiling unit3.pas
    unit3.pas(23,28) Hint: Parameter "Sender" not used
    unit3.pas(22,28) Hint: Parameter "Sender" not used
    unit3.pas(24,31) Hint: Parameter "Sender" not used
    unit3.pas(25,26) Hint: Parameter "Sender" not used
    unit3.pas(26,27) Hint: Parameter "Sender" not used
    Compiling unit4.pas
    unit4.pas(22,28) Hint: Parameter "Sender" not used
    unit4.pas(23,28) Hint: Parameter "Sender" not used
    Compiling unit5.pas
    unit5.pas(19,26) Hint: Parameter "Sender" not used
    unit5.pas(41,1) Note: Local variable "wybrano" not used
    unit5.pas(20,27) Hint: Parameter "Sender" not used
    unit5.pas(18,31) Hint: Parameter "Sender" not used
    Compiling unit6.pas
    unit6.pas(21,28) Hint: Parameter "Sender" not used
    unit6.pas(20,28) Hint: Parameter "Sender" not used
    Compiling unit7.pas
    unit7.pas(20,28) Hint: Parameter "Sender" not used
    unit7.pas(21,26) Hint: Parameter "Sender" not used
    unit7.pas(22,34) Hint: Parameter "Sender" not used
    unit7.pas(23,34) Hint: Parameter "Sender" not used
    unit7.pas(24,34) Hint: Parameter "Sender" not used
    Compiling unit8.pas
    unit8.pas(27,28) Hint: Parameter "Sender" not used
    unit8.pas(28,28) Hint: Parameter "Sender" not used
    unit8.pas(29,28) Hint: Parameter "Sender" not used
    unit8.pas(30,28) Hint: Parameter "Sender" not used
    unit8.pas(31,28) Hint: Parameter "Sender" not used




    unit8.pas(32,27) Hint: Parameter "Sender" not used
    unit8.pas(33,26) Hint: Parameter "Sender" not used
    unit8.pas(34,27) Hint: Parameter "Sender" not used
    unit1.pas(35,28) Hint: Parameter "Sender" not used
    unit1.pas(36,28) Hint: Parameter "Sender" not used
    unit1.pas(37,28) Hint: Parameter "Sender" not used
    unit1.pas(38,28) Hint: Parameter "Sender" not used
    unit1.pas(39,28) Hint: Parameter "Sender" not used
    unit1.pas(40,28) Hint: Parameter "Sender" not used
    unit1.pas(41,28) Hint: Parameter "Sender" not used
    unit1.pas(42,28) Hint: Parameter "Sender" not used
    unit1.pas(43,28) Hint: Parameter "Sender" not used
    unit1.pas(44,34) Hint: Parameter "Sender" not used
    unit1.pas(45,34) Hint: Parameter "Sender" not used
    unit1.pas(46,34) Hint: Parameter "Sender" not used
    Compiling unit9.pas
    unit9.pas(19,26) Hint: Parameter "Sender" not used
    unit9.pas(18,31) Hint: Parameter "Sender" not used
    Compiling resource C:\\project1.rc
    Usage: C:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe [option(s)] [input-file] [output-file]
     The options are:
      -i --input=<file>            Name input file
      -o --output=<file>           Name output file
      -J --input-format=<format>   Specify input format
      -O --output-format=<format>  Specify output format
      -F --target=<target>         Specify COFF target
         --preprocessor=<program>  Program to use to preprocess rc file
      -I --include-dir=<dir>       Include directory when preprocessing rc file
      -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
      -U --undefine <sym>          Undefine SYM when preprocessing rc file
      -v --verbose                 Verbose - tells you what it's doing
      -l --language=<val>          Set language when reading rc file
         --use-temp-file           Use a temporary file instead of popen to read
                                   the preprocessor output
         --no-use-temp-file        Use popen (default)
      -r                           Ignored for compatibility with rc
      -h --help                    Print this help message
      -V --version                 Print version information
    FORMAT is one of rc, res, or coff, and is deduced from the file name
    extension if not specified.  A single file name is an input file.
    No input-file is stdin, default rc.  No output-file is stdout, default rc.
    C:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
    project1.lpr(28,1) Error: Error while linking
    project1.lpr(28,1) Fatal: There were 1 errors compiling module, stopping


    Z góry dziękuję za pomoc.

    0 1
  • #2 10 Wrz 2010 01:34
    pipinet
    Poziom 18  

    Problemem była dwuczłonowa nazwa folderu z projektem.

    0