Вниз
Скачать: CL | DM;

Проблема KOL и FPC   Найти похожие ветки 

← →
Евгений Ч   (2006-03-23 14:23) [0]

Скачал KOL (ver. 2.30) и FreePascal (ver 2.0.2). Обработал файл kol.pas утилитой GlueCut, для совместимости с FPC. По всякому экспериментировал с параметрами компилятора, не получается ничего.

Выдает ошибки:

DESTRUCTOR name must be done
и
constructor name must be init

Как лечить?


← →
ElDev   (2006-03-24 23:05) [1]

Посмотри на форуме по Free Pascal, там всё...


← →
thaddy   (2006-03-25 12:13) [2]

Not true any more
gluecut is obsolete and  no longer necessary!
using init for constructors is also obsolete and not necessary!

I have explained it at my website http://www.thaddy.com/kolindex.htm

All you need with KOL+ freepascal is the correct compilersettings
and compile KOL in PAS_VERSION mode (Define) )
The best settings for fpc.cfg - for me -  are:


#Adapt the paths to point to your own FPC directory

-Fuc:\FPC\/units/$FPCTARGET/
-Fuc:\FPC\/units/$FPCTARGET/*
-Fuc:\FPC\/units/$FPCTARGET/rtl
-Fuc:\FPC\kol

# For a release compile with optimizes and strip debuginfo
#IFDEF RELEASE
-Og1p2
-Xs
#KOL
-Mdelphi
-CX
-Sg

#WRITE Compiling Release Version
#ENDIF

# For a debug version compile with debuginfo and all codegeneration checks on

#IFDEF DEBUG
-gcl
-Crtoi
-Sg
#KOL
-Sa
-Mdelphi
#WRITE Compiling Debug Version
#ENDIF



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.031 c
15-1166472099
PHPDeveloper
2006-12-18 23:01
2007.01.07
закачка файла


2-1166356390
VadimSpb
2006-12-17 14:53
2007.01.07
Определение ID последней записи


2-1166205215
Tupoy
2006-12-15 20:53
2007.01.07
OnKeyPres. подскажите пример


15-1166042104
Rouse_
2006-12-13 23:35
2007.01.07
CompareMem


15-1166101735
Ученик чародея
2006-12-14 16:08
2007.01.07
Был сегодня на предзащите докторской ф-м.н.




   Наверх