Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: [ilink64 Error] Fatal: Unable to open file 'FIREDAC.PHYS.SQLPREPROCESSOR.O'


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Dec 21, 2015 12:29 AM Last Post By: Petr Vykouk
Petr Vykouk

Posts: 42
Registered: 6/4/00
[ilink64 Error] Fatal: Unable to open file 'FIREDAC.PHYS.SQLPREPROCESSOR.O'  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 20, 2015 12:33 AM
I have this test Component:

GraphicControl1.h
************************************************************************************************
#ifndef GraphicControl1H
#define GraphicControl1H
//---------------------------------------------------------------------------
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <FireDAC.Comp.Client.hpp>

//---------------------------------------------------------------------------
class PACKAGE TGraphicControl1 : public TGraphicControl
{
private:
protected:
TFDQuery *FSQLQuery;
public:
__fastcall TGraphicControl1(TComponent* Owner);
__published:
__property TFDQuery *SQLQuery = { read = FSQLQuery, write = FSQLQuery };

};
//---------------------------------------------------------------------------
#endif
*************************************************************************************************************

GraphicControl1.cpp
//---------------------------------------------------------------------------

#include <vcl.h>

#pragma hdrstop

#include "GraphicControl1.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
// ValidCtrCheck is used to assure that the components created do not have
// any pure virtual functions.
//

static inline void ValidCtrCheck(TGraphicControl1 *)
{
new TGraphicControl1(NULL);
}
//---------------------------------------------------------------------------
__fastcall TGraphicControl1::TGraphicControl1(TComponent* Owner)
: TGraphicControl(Owner)
{
}
//---------------------------------------------------------------------------
namespace Graphiccontrol1
{
void __fastcall PACKAGE Register()
{
TComponentClass classes[1] = {__classid(TGraphicControl1)};
RegisterComponents(L"Samples", classes, 0);
}
}
//---------------------------------------------------------------------------

C++Builder XE8 Upd.1

Linking for Win32 is OK,

but Linking for Win64 ends on [ilink64 Error] Fatal: Unable to open file 'FIREDAC.PHYS.SQLPREPROCESSOR.O'

In Requires section of Package1.bpl is included FireDAC.bpi

Where is Error?

Thanks for suggestion.

Edited by: Petr Vykouk on Dec 20, 2015 12:49 AM
Petr Vykouk

Posts: 42
Registered: 6/4/00
Re: [ilink64 Error] Fatal: Unable to open file 'FIREDAC.PHYS.SQLPREPROCESSOR.O'  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 21, 2015 12:29 AM   in response to: Petr Vykouk in response to: Petr Vykouk
Petr Vykouk wrote:
I have this test Component:

GraphicControl1.h
************************************************************************************************
#ifndef GraphicControl1H
#define GraphicControl1H
//---------------------------------------------------------------------------
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <FireDAC.Comp.Client.hpp>

//---------------------------------------------------------------------------
class PACKAGE TGraphicControl1 : public TGraphicControl
{
private:
protected:
TFDQuery *FSQLQuery;
public:
__fastcall TGraphicControl1(TComponent* Owner);
__published:
__property TFDQuery *SQLQuery = { read = FSQLQuery, write = FSQLQuery };

};
//---------------------------------------------------------------------------
#endif
*************************************************************************************************************

GraphicControl1.cpp
//---------------------------------------------------------------------------

#include <vcl.h>

#pragma hdrstop

#include "GraphicControl1.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
// ValidCtrCheck is used to assure that the components created do not have
// any pure virtual functions.
//

static inline void ValidCtrCheck(TGraphicControl1 *)
{
new TGraphicControl1(NULL);
}
//---------------------------------------------------------------------------
__fastcall TGraphicControl1::TGraphicControl1(TComponent* Owner)
: TGraphicControl(Owner)
{
}
//---------------------------------------------------------------------------
namespace Graphiccontrol1
{
void __fastcall PACKAGE Register()
{
TComponentClass classes[1] = {__classid(TGraphicControl1)};
RegisterComponents(L"Samples", classes, 0);
}
}
//---------------------------------------------------------------------------

C++Builder XE8 Upd.1

Linking for Win32 is OK,

but Linking for Win64 ends on [ilink64 Error] Fatal: Unable to open file 'FIREDAC.PHYS.SQLPREPROCESSOR.O'

In Requires section of Package1.bpl is included FireDAC.bpi

Where is Error?

Thanks for suggestion.

Edited by: Petr Vykouk on Dec 20, 2015 12:49 AM

Resolved:

In Required Section added: dbrtl.bpi, FireDACCommon.bpi and FireDACCommonDriver.bpi
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02