Page 1 of 1
Compile Error in ODAC 5.50.0.17
Posted: Tue 12 Apr 2005 14:51
by 3dhunter
When I try to compile the ODAC 5.50.0.17 Source, The Compiler returns the following error messages :
C:\temp\ODAC\Source\OraClasses.pas(187) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(188) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(614) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(615) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraConsts.pas(75)
C:\temp\ODAC\Source\OraClasses.pas(929) Fatal: Could not compile used unit 'OraConsts.pas'
Posted: Wed 13 Apr 2005 08:30
by Alex
We couldn't reproduce your problem. Please specify exact IDE version that you use, also try to use command line compilation described in ReadMeSrc.txt.
Posted: Wed 13 Apr 2005 09:19
by 3dhunter
The IDE Version is Borland C++ Builder 6.0 Service pack 2.
I do use Source\CBuilder6\make.bat to rebuilder the ODAC.
The Error lines in OraClasses.pas are :
187 function GetNOTNULL: boolean; override;
188 procedure SetNOTNULL(const Value: boolean); override;
614 procedure SetNOTNULL(FieldNo: word; RecBuf: IntPtr; Value: boolean); override;
615 function GetNOTNULL(FieldNo: word; RecBuf: IntPtr): boolean; override;
Posted: Wed 13 Apr 2005 12:39
by Alex
There are no any GetNOTNULL or SetNOTNULL functions in ODAC, it seems that there are some corrupted files or another files were linked during the compilation. Please download ODAC again and try to remove all other versions of ODAC (if you have them) or remove paths to them from Delphi search path and Path system variable. Pls. inform us if your problem persists.
Posted: Thu 14 Apr 2005 01:48
by 3dhunter
Problem has been solved after redownload the ODAC and uninstall the older version. Thanks for your help.
Re: Compile Error in ODAC 5.50.0.17
Posted: Sat 17 Dec 2005 11:41
by arenklier
3dhunter wrote:When I try to compile the ODAC 5.50.0.17 Source, The Compiler returns the following error messages :
C:\temp\ODAC\Source\OraClasses.pas(187) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(188) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(614) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(615) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraConsts.pas(75)
C:\temp\ODAC\Source\OraClasses.pas(929) Fatal: Could not compile used unit 'OraConsts.pas'