Compile Error in ODAC 5.50.0.17

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
3dhunter
Posts: 5
Joined: Wed 22 Dec 2004 09:27

Compile Error in ODAC 5.50.0.17

Post by 3dhunter » Tue 12 Apr 2005 14:51

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'

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 13 Apr 2005 08:30

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.

3dhunter
Posts: 5
Joined: Wed 22 Dec 2004 09:27

Post by 3dhunter » Wed 13 Apr 2005 09:19

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;

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 13 Apr 2005 12:39

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.

3dhunter
Posts: 5
Joined: Wed 22 Dec 2004 09:27

Post by 3dhunter » Thu 14 Apr 2005 01:48

Problem has been solved after redownload the ODAC and uninstall the older version. Thanks for your help.

arenklier
Posts: 1
Joined: Sat 17 Dec 2005 11:39

Re: Compile Error in ODAC 5.50.0.17

Post by arenklier » Sat 17 Dec 2005 11:41

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'

Post Reply