Forum > General

Error Compiling in my application

(1/1)

xinyiman:
I create an application and into Linux compiling correct, but under windows not compiling! The errors :



Hint: Start of reading config file C:\lazarus\fpc\2.4.0\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\lazarus\fpc\2.4.0\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.4.0 [2010/07/19] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling project1.lpr
Compiling unit1.pas
Compiling myserialnumber.pas
myserialnumber.pas(82,3) Note: Local variable "app" not used
myserialnumber.pas(106,3) Note: Local variable "app" not used
myserialnumber.pas(154,8) Note: Local variable "kb" not used
myserialnumber.pas(157,3) Note: Local variable "b" not used
Compiling unit2.pas
Compiling unitvariabileglobale.pas
Compiling gethtml.pas
Compiling httpsend.pas
Compiling blcksock.pas
Compiling synafpc.pas
synafpc.pas(69,16) Hint: Type "TLibHandle" redefinition
synafpc.pas(74,28) Hint: Parameter "Module" not used
synafpc.pas(74,48) Hint: Parameter "Buffer" not used
synafpc.pas(74,63) Hint: Parameter "BufLen" not used
Compiling synsock.pas
sswin32.pas(1111,13) Hint: Type "pu_long" redefinition
sswin32.pas(1195,20) Hint: Local variable "Hints1" does not seem to be initialized
sswin32.pas(1196,20) Hint: Local variable "Hints2" does not seem to be initialized
sswin32.pas(1221,40) Hint: Local variable "Sin1" does not seem to be initialized
sswin32.pas(1227,44) Hint: Local variable "Sin2" does not seem to be initialized
sswin32.pas(1321,21) Hint: Local variable "Hints" does not seem to be initialized
sswin32.pas(1389,21) Hint: Local variable "Hints" does not seem to be initialized
sswin32.pas(1439,21) Hint: Local variable "Hints" does not seem to be initialized
Compiling synautil.pas
synautil.pas(370,39) Hint: Local variable "zoneinfo" does not seem to be initialized
synautil.pas(634,27) Hint: Local variable "x" does not seem to be initialized
synautil.pas(715,20) Hint: Local variable "stw" does not seem to be initialized
synautil.pas(814,44) Hint: Local variable "freq" does not seem to be initialized
synautil.pas(816,41) Hint: Local variable "tick" does not seem to be initialized
synautil.pas(73,29) Hint: Unit "synafpc" not used in synautil
Compiling synacode.pas
synacode.pas(1088,19) Hint: Local variable "MDContext" does not seem to be initialized
synacode.pas(1110,19) Hint: Local variable "MDContext" does not seem to be initialized
synacode.pas(1132,19) Hint: Local variable "MDContext" does not seem to be initialized
synacode.pas(1192,31) Hint: Local variable "W" does not seem to be initialized
synacode.pas(1282,14) Hint: Type "Pinteger" redefinition
synacode.pas(1282,14) Hint: Local type "Pinteger" is not used
synacode.pas(1316,23) Hint: Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1338,23) Hint: Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1360,23) Hint: Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1446,19) Hint: Local variable "MDContext" does not seem to be initialized
Compiling synaip.pas
blcksock.pas(928,14) Note: Virtual method "TTCPBlockSocket.GetErrorDescEx:AnsiString;" has a lower visibility (public) than parent class TBlockSocket (published)
blcksock.pas(335,33) Hint: Parameter "Stub" not used
blcksock.pas(1726,17) Hint: Local variable "sin" does not seem to be initialized
blcksock.pas(1743,15) Hint: Local variable "sin" does not seem to be initialized
blcksock.pas(1808,15) Hint: Local variable "Sin" does not seem to be initialized
blcksock.pas(1827,13) Hint: Local variable "Sin" does not seem to be initialized
blcksock.pas(2510,46) Hint: Local variable "x" does not seem to be initialized
blcksock.pas(2851,16) Hint: Local variable "FDSet" does not seem to be initialized
blcksock.pas(1172,35) Hint: Parameter "Host" not used
blcksock.pas(1213,25) Hint: Parameter "Buffer" not used
blcksock.pas(1213,42) Hint: Parameter "Len" not used
blcksock.pas(1218,25) Hint: Parameter "Buffer" not used
blcksock.pas(1218,42) Hint: Parameter "Len" not used
blcksock.pas(4157,47) Hint: Variable "WsaDataOnce" does not seem to be initialized
httpsend.pas(387,64) Hint: Local variable "Para" does not seem to be initialized
httpsend.pas(387,58) Hint: Local variable "Path" does not seem to be initialized
httpsend.pas(387,52) Hint: Local variable "Port" does not seem to be initialized
httpsend.pas(387,46) Hint: Local variable "Host" does not seem to be initialized
httpsend.pas(387,40) Hint: Local variable "Pass" does not seem to be initialized
httpsend.pas(387,34) Hint: Local variable "User" does not seem to be initialized
httpsend.pas(387,28) Hint: Local variable "Prot" does not seem to be initialized
unit2.pas(41,4) Note: Local variable "VarG" not used
unit2.pas(21,31) Hint: Parameter "Sender" not used
Compiling libordinamentovett.pas
Compiling controlloatletisingoli.pas
Compiling unit_listaatleta.pas
Compiling unit1.pas
unit1.pas(1214,4) Note: Local variable "variabile" not used
unit1.pas(1215,4) Note: Local variable "valore" not used
unit1.pas(1767,4) Note: Local variable "cont" not used
unit1.pas(1792,4) Note: Local variable "stringa" not used
unit1.pas(327,31) Hint: Parameter "Sender" not used
unit1.pas(314,27) Hint: Parameter "Sender" not used
unit1.pas(2331,4) Note: Local variable "VarG" not used
unit1.pas(273,26) Hint: Parameter "Sender" not used
unit1.pas(2419,4) Note: Local variable "Esci" not used
unit1.pas(2426,4) Note: Local variable "Esci" not used
unit1.pas(258,45) Hint: Parameter "Sender" not used
unit1.pas(250,43) Hint: Parameter "Sender" not used
unit1.pas(2543,4) Note: Local variable "Differenza" is assigned but never used
unit1.pas(2546,4) Note: Local variable "PercorsoReport" not used
unit1.pas(2790,4) Note: Local variable "Differenza" is assigned but never used
unit1.pas(2792,4) Note: Local variable "Esci" not used
unit1.pas(2793,4) Note: Local variable "PercorsoReport" not used
unit1.pas(252,49) Hint: Parameter "Sender" not used
unit1.pas(3048,4) Note: Local variable "stringa" not used
unit1.pas(3049,4) Note: Local variable "j" not used
unit1.pas(347,36) Hint: Parameter "AtletiInseriti" not used
unit1.pas(3172,4) Note: Local variable "stringa" not used
unit1.pas(3173,4) Note: Local variable "j" not used
unit1.pas(3222,4) Note: Local variable "Spec" not used
unit1.pas(253,41) Hint: Parameter "Sender" not used
unit1.pas(254,44) Hint: Parameter "Sender" not used
unit1.pas(246,38) Hint: Parameter "Sender" not used
unit1.pas(247,37) Hint: Parameter "Sender" not used
unit1.pas(248,44) Hint: Parameter "Sender" not used
unit1.pas(249,49) Hint: Parameter "Sender" not used
unit1.pas(245,42) Hint: Parameter "Sender" not used
unit1.pas(239,30) Hint: Parameter "Sender" not used
unit1.pas(3583,4) Note: Local variable "Turno" not used
unit1.pas(240,31) Hint: Parameter "Sender" not used
unit1.pas(344,36) Hint: Parameter "Sender" not used
unit1.pas(345,36) Hint: Parameter "Sender" not used
unit1.pas(241,32) Hint: Parameter "Sender" not used
unit1.pas(242,36) Hint: Parameter "Sender" not used
unit1.pas(243,41) Hint: Parameter "Sender" not used
unit1.pas(3710,24) Warning: Local variable "j" does not seem to be initialized
unit1.pas(3694,4) Note: Local variable "ErrorMsg" not used
unit1.pas(244,32) Hint: Parameter "Sender" not used
unit1.pas(255,40) Hint: Parameter "Sender" not used
unit1.pas(256,39) Hint: Parameter "Sender" not used
unit1.pas(257,46) Hint: Parameter "Sender" not used
unit1.pas(259,32) Hint: Parameter "Sender" not used
unit1.pas(4167,4) Note: Local variable "Spec" not used
unit1.pas(261,33) Hint: Parameter "Sender" not used
unit1.pas(262,43) Hint: Parameter "Sender" not used
unit1.pas(263,39) Hint: Parameter "Sender" not used
unit1.pas(264,38) Hint: Parameter "Sender" not used
unit1.pas(265,45) Hint: Parameter "Sender" not used
unit1.pas(266,44) Hint: Parameter "Sender" not used
unit1.pas(267,34) Hint: Parameter "Sender" not used
unit1.pas(4630,48) Hint: Local variable "Campo2" does not seem to be initialized
unit1.pas(4630,41) Hint: Local variable "Campo1" does not seem to be initialized
unit1.pas(4630,34) Hint: Local variable "Titolo" does not seem to be initialized
unit1.pas(268,31) Hint: Parameter "Sender" not used
unit1.pas(4678,4) Note: Local variable "NumPareggio" not used
unit1.pas(4679,4) Note: Local variable "IdSpecialita" not used
unit1.pas(4679,18) Note: Local variable "IdAtleta" not used
unit1.pas(4680,4) Note: Local variable "Ciclo" not used
unit1.pas(4680,11) Note: Local variable "i" not used
unit1.pas(4681,4) Note: Local variable "Esci" not used
unit1.pas(4682,4) Note: Local variable "EsciIns" not used
unit1.pas(269,39) Hint: Parameter "Sender" not used
unit1.pas(270,44) Hint: Parameter "Sender" not used
unit1.pas(271,26) Hint: Parameter "Sender" not used
unit1.pas(272,25) Hint: Parameter "Sender" not used
unit1.pas(272,46) Hint: Parameter "CloseAction" not used
unit1.pas(274,27) Hint: Parameter "Sender" not used
unit1.pas(4802,4) Note: Local variable "VarG" not used
unit1.pas(275,24) Hint: Parameter "Sender" not used
unit1.pas(4817,4) Note: Local variable "Sesso" not used
unit1.pas(276,36) Hint: Parameter "Column" not used
unit1.pas(277,42) Hint: Parameter "Sender" not used
unit1.pas(4889,4) Note: Local variable "P" not used
unit1.pas(278,45) Hint: Parameter "Sender" not used
unit1.pas(278,62) Hint: Parameter "aCol" not used
unit1.pas(279,36) Hint: Parameter "aState" not used
unit1.pas(280,48) Hint: Parameter "Sender" not used
unit1.pas(4968,4) Note: Local variable "P" not used
unit1.pas(281,38) Hint: Parameter "Sender" not used
unit1.pas(281,55) Hint: Parameter "aCol" not used
unit1.pas(282,21) Hint: Parameter "aState" not used
unit1.pas(283,43) Hint: Parameter "Sender" not used
unit1.pas(5005,4) Note: Local variable "P" not used
unit1.pas(284,46) Hint: Parameter "Sender" not used
unit1.pas(284,63) Hint: Parameter "aCol" not used
unit1.pas(285,36) Hint: Parameter "aState" not used
unit1.pas(286,35) Hint: Parameter "Sender" not used
unit1.pas(287,31) Hint: Parameter "Sender" not used
unit1.pas(288,30) Hint: Parameter "Sender" not used
unit1.pas(289,37) Hint: Parameter "Sender" not used
unit1.pas(290,36) Hint: Parameter "Sender" not used
unit1.pas(291,27) Hint: Parameter "Sender" not used
unit1.pas(292,27) Hint: Parameter "Sender" not used
unit1.pas(5176,4) Note: Local variable "NumP" not used
unit1.pas(5302,4) Note: Local variable "Cont" not used
unit1.pas(21,3) Hint: Unit "IniFiles" not used in Unit1
unit1.pas(21,109) Hint: Unit "ControlloAtletiSingoli" not used in Unit1
unit_listaatleta.pas(165,23) Note: Local variable "i" not used
unit_listaatleta.pas(165,26) Note: Local variable "app" is assigned but never used
unit_listaatleta.pas(235,68) Hint: Local variable "Campo2" does not seem to be initialized
unit_listaatleta.pas(235,61) Hint: Local variable "Campo1" does not seem to be initialized
unit_listaatleta.pas(235,54) Hint: Local variable "Titolo" does not seem to be initialized
unit_listaatleta.pas(303,18) Note: Local variable "appPos" not used
unit_listaatleta.pas(336,18) Note: Local variable "cont" not used
project1.lpr(11,51) Hint: Unit "UnitVariabileGlobale" not used in project1
project1.lpr(11,60) Hint: Unit "GetHtml" not used in project1
project1.lpr(11,80) Hint: Unit "LibOrdinamentoVett" not used in project1
project1.lpr(12,25) Hint: Unit "ControlloAtletiSingoli" not used in project1
project1.lpr(12,43) Hint: Unit "unit_listaatleta" not used in project1
Compiling resource C:\Documents and Settings\sammarco\Desktop\Lazarus Progetti\Progetto karate\project1.rc
Compiling resource project1.or
project1.lpr(22,1) Error: Error while compiling resources
Linking project1.exe
project1.lpr(22,1) Fatal: There were 1 errors compiling module, stopping

mvampire:
Seems to be a bug:
http://bugs.freepascal.org/view.php?id=15613

You maybe need to remove spaces from project path.
E.g., move and rename C:\Documents and Settings\sammarco\Desktop\Lazarus Progetti\Progetto karate\project1.rc to
C:\Progetto_karate\project1.rc

Ocye:
There is absolutely no need to post hints.
IMHO your problem is related to resources. Comment out the rc line.

xinyiman:

--- Quote from: Ocye on September 10, 2010, 10:46:11 am ---There is absolutely no need to post hints.
IMHO your problem is related to resources. Comment out the rc line.

--- End quote ---

Thank you

Navigation

[0] Message Index

Go to full version