Работа в Конструкторе OPC-модели.
При проверке проекта ошибок нет.
При попытке построения выдает вот это:
"Ошибка преобразования пути "$(BDS)\INCLUDE"
Если нажать OK, то далее:
"Ошибка преобразования пути "$(BDS)\INCLUDE\ALT"
BDE установлено.
Ошибка при построении проекта (Конструктор модели)
Переместил простым копированием в d:\temp\temp1
(Выполняю кстати проект про группы насосов из файла помощи, так что делал все так, как указано там).
При проверке ошибок он не находит. При пострении пишет, что есть ошибки.
14:46:23: Генерация кода D:\Temp\temp1\RESULT\Main.h
14:46:23: Генерация кода D:\Temp\temp1\RESULT\Main.cpp
14:46:23: Компиляции файла D:\Temp\temp1\RESULT\CTP.cpp
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\PROGRA~1\Borland\CBuilder6\BIN\bcc32.exe -WD -Od -Hc -H=dml.csm -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi -tWD -tWM -c -D_DEBUG;NO_STRICT -IC:\PROGRA~1\Borland\CBuilder6\INCLUDE;C:\PROGRA~1\Borland\CBuilder6\INCLUDE\ATL;;D:\Temp\temp1\RESULT;C:\PROGRA~1\DEP\Конструктор ОРС-модели\INCLUDE -nD:\Temp\temp1\RESULT\ D:\Temp\temp1\RESULT\CTP.cpp
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
Error E2194: Could not find file 'ОРС-модели\INCLUDE.cpp'
D:\Temp\temp1\RESULT\CTP.cpp:
Error E2209 D:\Temp\temp1\RESULT\CTP.cpp 1: Unable to open include file 'dml.h'
Error E2209 D:\Temp\temp1\RESULT\CTP.h 4: Unable to open include file 'dml.h'
Error E2209 D:\Temp\temp1\RESULT\CTP.h 5: Unable to open include file 'sysdic.h'
Error E2303 D:\Temp\temp1\RESULT\CTP.h 16: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 18: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 20: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 24: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 26: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 28: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 32: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 34: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 36: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 36: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 37: Type name expected
Error E2238 D:\Temp\temp1\RESULT\CTP.h 37: Multiple declaration for 'Pump::wdDOutImp'
Error E2344 D:\Temp\temp1\RESULT\CTP.h 36: Earlier declaration of 'Pump::wdDOutImp'
Error E2139 D:\Temp\temp1\RESULT\CTP.h 37: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 40: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 44: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 46: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 49: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 49: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 50: Type name expected
Error E2238 D:\Temp\temp1\RESULT\CTP.h 50: Multiple declaration for 'GroupPump::wdAIn'
Error E2344 D:\Temp\temp1\RESULT\CTP.h 49: Earlier declaration of 'GroupPump::wdAIn'
Error E2228 D:\Temp\temp1\RESULT\CTP.h 49: Too many error or warning messages
*** 26 errors in Compile ***
** error 1 ** deleting "D:\Temp\temp1\RESULT\CTP.obj"
(Выполняю кстати проект про группы насосов из файла помощи, так что делал все так, как указано там).
При проверке ошибок он не находит. При пострении пишет, что есть ошибки.
14:46:23: Генерация кода D:\Temp\temp1\RESULT\Main.h
14:46:23: Генерация кода D:\Temp\temp1\RESULT\Main.cpp
14:46:23: Компиляции файла D:\Temp\temp1\RESULT\CTP.cpp
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\PROGRA~1\Borland\CBuilder6\BIN\bcc32.exe -WD -Od -Hc -H=dml.csm -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi -tWD -tWM -c -D_DEBUG;NO_STRICT -IC:\PROGRA~1\Borland\CBuilder6\INCLUDE;C:\PROGRA~1\Borland\CBuilder6\INCLUDE\ATL;;D:\Temp\temp1\RESULT;C:\PROGRA~1\DEP\Конструктор ОРС-модели\INCLUDE -nD:\Temp\temp1\RESULT\ D:\Temp\temp1\RESULT\CTP.cpp
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
Error E2194: Could not find file 'ОРС-модели\INCLUDE.cpp'
D:\Temp\temp1\RESULT\CTP.cpp:
Error E2209 D:\Temp\temp1\RESULT\CTP.cpp 1: Unable to open include file 'dml.h'
Error E2209 D:\Temp\temp1\RESULT\CTP.h 4: Unable to open include file 'dml.h'
Error E2209 D:\Temp\temp1\RESULT\CTP.h 5: Unable to open include file 'sysdic.h'
Error E2303 D:\Temp\temp1\RESULT\CTP.h 16: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 18: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 20: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 24: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 26: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 28: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 32: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 34: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 36: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 36: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 37: Type name expected
Error E2238 D:\Temp\temp1\RESULT\CTP.h 37: Multiple declaration for 'Pump::wdDOutImp'
Error E2344 D:\Temp\temp1\RESULT\CTP.h 36: Earlier declaration of 'Pump::wdDOutImp'
Error E2139 D:\Temp\temp1\RESULT\CTP.h 37: Declaration missing ;
Error E2040 D:\Temp\temp1\RESULT\CTP.h 40: Declaration terminated incorrectly
Error E2303 D:\Temp\temp1\RESULT\CTP.h 44: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 46: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 49: Type name expected
Error E2139 D:\Temp\temp1\RESULT\CTP.h 49: Declaration missing ;
Error E2303 D:\Temp\temp1\RESULT\CTP.h 50: Type name expected
Error E2238 D:\Temp\temp1\RESULT\CTP.h 50: Multiple declaration for 'GroupPump::wdAIn'
Error E2344 D:\Temp\temp1\RESULT\CTP.h 49: Earlier declaration of 'GroupPump::wdAIn'
Error E2228 D:\Temp\temp1\RESULT\CTP.h 49: Too many error or warning messages
*** 26 errors in Compile ***
** error 1 ** deleting "D:\Temp\temp1\RESULT\CTP.obj"
Переустановил все деповские программы просто в c:\dep.
Теперь при компиляции проекта получаю это:
9:42:09: Генерация кода C:\DEPt\temp1\RESULT\Main.h
9:42:09: Генерация кода C:\DEPt\temp1\RESULT\Main.cpp
9:42:09: Компиляции файла C:\DEPt\temp1\RESULT\CTP.cpp
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\PROGRA~1\Borland\CBuilder6\BIN\bcc32.exe -WD -Od -Hc -H=dml.csm -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi -tWD -tWM -c -D_DEBUG;NO_STRICT -IC:\PROGRA~1\Borland\CBuilder6\INCLUDE;C:\PROGRA~1\Borland\CBuilder6\INCLUDE\ATL;;C:\DEPt\temp1\RESULT;C:\DEP\Конструктор\INCLUDE -nC:\DEPt\temp1\RESULT\ C:\DEPt\temp1\RESULT\CTP.cpp
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
C:\DEPt\temp1\RESULT\CTP.cpp:
Fatal F1003 C:\DEP\Конструктор\INCLUDE\dml.h 5: Error directive: CPPBuilder ServicePack _4_ must be installed.
*** 1 errors in Compile ***
** error 1 ** deleting "C:\DEPt\temp1\RESULT\CTP.obj"
Не понимаю - это у C++Builder не хватает сервиспака или здесь что-то иное?
P.S. Конструктор не использовать не могу, ибо на обучении в Москве нам показывали именно его. Ничего другого я просто не знаю.
Теперь при компиляции проекта получаю это:
9:42:09: Генерация кода C:\DEPt\temp1\RESULT\Main.h
9:42:09: Генерация кода C:\DEPt\temp1\RESULT\Main.cpp
9:42:09: Компиляции файла C:\DEPt\temp1\RESULT\CTP.cpp
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\PROGRA~1\Borland\CBuilder6\BIN\bcc32.exe -WD -Od -Hc -H=dml.csm -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi -tWD -tWM -c -D_DEBUG;NO_STRICT -IC:\PROGRA~1\Borland\CBuilder6\INCLUDE;C:\PROGRA~1\Borland\CBuilder6\INCLUDE\ATL;;C:\DEPt\temp1\RESULT;C:\DEP\Конструктор\INCLUDE -nC:\DEPt\temp1\RESULT\ C:\DEPt\temp1\RESULT\CTP.cpp
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
C:\DEPt\temp1\RESULT\CTP.cpp:
Fatal F1003 C:\DEP\Конструктор\INCLUDE\dml.h 5: Error directive: CPPBuilder ServicePack _4_ must be installed.
*** 1 errors in Compile ***
** error 1 ** deleting "C:\DEPt\temp1\RESULT\CTP.obj"
Не понимаю - это у C++Builder не хватает сервиспака или здесь что-то иное?
P.S. Конструктор не использовать не могу, ибо на обучении в Москве нам показывали именно его. Ничего другого я просто не знаю.