Re: [Gtk2forpascal-devel] Examples doesn't work at all!
Brought to you by:
mgaertner
From: Olaf L. <le...@ne...> - 2002-07-30 14:19:25
|
Hi Mili! We've discovered serious linking problems using fpc under linux (win32 works well). It seems as if fpc (in any version) has a linking bug that prevents these examples to be linked correctly. Well, we are working on it. Mattias Gaertner has created a script to link the pascal programs correctly. You might try it. Simply put it in the directory where the source file is kept and give the filename as argument: ./compile_with_fpc.sh sourcefile.pas BTW: libraries seem to be linked correctly. Please report us if this solves your problem. Ciao, Olaf Am Die, 2002-07-30 um 15.58 schrieb mili: Hello, Every one I downloaded the latest .tgz file from sourceforge.net (gtk2forpascal-0.4.tgz). I ran the script "compile_with_fpc_under_linux.sh" under redhat 7.3 with a freepascal 1.0.6, and the compilation is successful. Then I enter the path "examples" and ran "make_examples.sh". When I tried to run any created executables, I get the following errors: >>>>>>> specified class size for type `GParamChar' isspecified class size for type `GParamChar' is smaller than the parent type's `GParam' class size specified class size for type `GParamUChar' ispecified class size for type `GParamUChar' is smaller than the parent type's `GParam' class size specified class size for type `GParamBoolean'specified class size for type `GParamBoolean' is smaller than the parent type's `GParam' class size specified class size for type `GParamInt' is specified class size for type `GParamInt' is smaller than the parent type's `GParam' class size specified class size for type `GParamUInt' isspecified class size for type `GParamUInt' is smaller than the parent type's `GParam' class size specified class size for type `GParamLong' isspecified class size for type `GParamLong' is smaller than the parent type's `GParam' class size specified class size for type `GParamULong' ispecified class size for type `GParamULong' is smaller than the parent type's `GParam' class size specified class size for type `GParamInt64' ispecified class size for type `GParamInt64' is smaller than the parent type's `GParam' class size specified class size for type `GParamUInt64' specified class size for type `GParamUInt64' is smaller than the parent type's `GParam' class size specified class size for type `GParamUnichar'specified class size for type `GParamUnichar' is smaller than the parent type's `GParam' class size specified class size for type `GParamEnum' isspecified class size for type `GParamEnum' is smaller than the parent type's `GParam' class size specified class size for type `GParamFlags' ispecified class size for type `GParamFlags' is smaller than the parent type's `GParam' class size specified class size for type `GParamFloat' ispecified class size for type `GParamFloat' is smaller than the parent type's `GParam' class size specified class size for type `GParamDouble' specified class size for type `GParamDouble' is smaller than the parent type's `GParam' class size specified class size for type `GParamString' specified class size for type `GParamString' is smaller than the parent type's `GParam' class size specified class size for type `GParamParam' ispecified class size for type `GParamParam' is smaller than the parent type's `GParam' class size specified class size for type `GParamBoxed' ispecified class size for type `GParamBoxed' is smaller than the parent type's `GParam' class size specified class size for type `GParamPointer'specified class size for type `GParamPointer' is smaller than the parent type's `GParam' class size specified class size for type `GParamValueArrspecified class size for type `GParamValueArray' is smaller than the parent type's `GParam' class size specified class size for type `GParamObject' specified class size for type `GParamObject' is smaller than the parent type's `GParam' class size An unhandled exception occurred at 0x40318F2B : Access violation 0x40318F2B 0x4031908E 0x4031ABED 0x40317552 0x403175C9 0x402A5F6F 0x400FFD06 0x401000DF >>>>>> I am confused by the errors. Can anybody help me to solve the problems and make the gtk2forpascal work well? Actually, I have been waiting for such an interface for quite a long time. I like it. BTW, my free pascal is version 1.0.6-beta [2002/04/30] for i386. Thank you very much. mili 0x080794DB 0x0804DC00 ============================================================= Ãâ·ÑÓÊÏ䜡¿µÉ±¶ŸŽóÐж¯£¡ Ð͝²»ÈçÐж¯ Žó»°Î÷ÓÎ2.0Ãâ·Ñ²âÊÔÖÐ ÍøÒ׷dz£ÄÐÅ® Ž«µÝ¶ÌÐÅÇéžüÅš |