Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.01.07;
Скачать: 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 вся ветка

Текущий архив: 2007.01.07;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.04 c
1-1163766674
Mishenka
2006-11-17 15:31
2007.01.07
Как в Word вставить картинку не поверх текста?


2-1166288517
Viper_Omsk
2006-12-16 20:01
2007.01.07
Процедура при нажатии на "крест"


15-1166272226
iZEN
2006-12-16 15:30
2007.01.07
MS запатентовала микроядерную архитектуру.


3-1161444236
dj0n
2006-10-21 19:23
2007.01.07
как в DBImage заставить понимать jpg?


15-1166520001
tesseract
2006-12-19 12:20
2007.01.07
к 100-летию Леонида Ильича от керка