Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2006.04.02;
Скачать: [xml.tar.bz2];

Вниз

Unit xxxxx was compiled with another version of yyyyy   Найти похожие ветки 

 
EVILDeath   (2005-08-07 17:37) [0]

http://bonanzas.rinet.ru/r_other.htm:
1. Чтобы избавиться от сообщения Unit xxxxx was compiled with another version of yyyyy, возникающего при компиляции с заменой системных модулей, попробуйте вот такой прием: скомпилируйте все (Build All) сначала без замены, затем выполните замену (измените настройки путей к модулям), и выполните компиляцию (Compile).

Не работает =(.
Когда компилю Build (нету такой кнопки Build all) без замены, все работает, а как только заменю - ругается что [Fatal Error] SysUtils.pas(3777): Unit Variants was compiled with a different version of System.TVarData .
Пробовал FakeVariants, там говорит что [Fatal Error] SysUtils.pas(3777): Variants unit out of date or corrupted: missing "@VarToLStr"
Что с этой бедой делать? Маленький SysUtils бы пригодился.


 
thaddy   (2005-08-07 22:48) [1]

For all your questions:

Read the documentation and the FAQ here.


 
EVILDeath   (2005-08-08 00:28) [2]

2 thaddy
Yes, I"ve read them before posting, and even gave an example from there, but it not solved this problem.


 
Thaddy   (2005-08-08 00:56) [3]

Did you mix VCL code with KOL code?
Or did you use VCL code with System replacements?
You cannot use the system  replacements with VCL code or the MCK.
After your project is finished, recompile it with the systemreplacements, but not when you are still developing.
Also: do a rebuild all in that case!


 
Thaddy   (2005-08-08 01:02) [4]

Did you mix VCL code with KOL code?
Or did you use VCL code with System replacements?
You cannot use the system  replacements with VCL code or the MCK.
After your project is finished, recompile it with the systemreplacements, but not when you are still developing.
Also: do a rebuild all in that case!


 
EVILDeath   (2005-08-08 01:25) [5]

Also: do a rebuild all in that case!
Not completely understood... i know just "Build all projects" button...

I was happy when I don"t know about KOL :) (Yesterday)
Now my Delphi gone crazy and at last start compiling random projects.
One thing i didn"t (know - how to tell in past form?? Same word or not?) is that MCK don"t support shrinked units... But Delphi starts compiling some of my test projects, so i think my problem is just from my experiments with kol.


 
thaddy   (2005-08-08 11:57) [6]

But KOL + MCK is very stable environment if you do NOT use sysdcu replacements during design phase. What I do is design and build without the system replacements and then, when I am finished, I change the first path in my lib directories to $(DELPHI)\KOL\SYSDCU
(You have to create those directories and put the replacements in it)
The I recompile (with KOL_VERSION, ofcourse) After you have created the KOL project, there are no longer depenencies on the RTL system units. Also, try to avoid using variants the unit, use Vladimir's Dummy empty variants.pas in the final product.


 
EVILDeath   (2005-08-08 18:16) [7]

Allright, I"m already doing so.


 
azsd ©   (2005-08-11 06:48) [8]

you may have check "uses " section if you add some units atfer {$ENDIF},and move the none manual units to place before {$endif}.

MCK always search the end ";" of uses section and add desgn time package there,they offer an comment ask user "place your units here" but always consider user never do it before add new control must insert design time package.



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

Форум: "KOL";
Текущий архив: 2006.04.02;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.041 c
6-1134836998
ReFresh
2005-12-17 19:29
2006.04.02
Отключить "подключение по локальной сети"


1-1141126052
oleg__
2006-02-28 14:27
2006.04.02
Загрузка процессора приложением


2-1142850343
Новичоккк
2006-03-20 13:25
2006.04.02
Работа с буффером


2-1142486308
Canopus
2006-03-16 08:18
2006.04.02
Запмсь текстового файла


15-1142229826
Некто
2006-03-13 09:03
2006.04.02
Полезные физические упражнения





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский