ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 64bit without "link with Runtime-Packages"
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

to10

Germany
7 Posts

Posted - Jul 14 2015 :  04:02:24  Show Profile  Reply
Is it possible to make an 64bit Application without "link with Runtime-Packages" in c++ Builder XE 8 ?

I have try Weeks to solve the Problem.
I do not want to deploy all BPL Files with my Projekt.
So in uncheck the Option "link with Runtime Packages" in c++ Builder.

I can compile 64 Programms fine, but if i add any ImageEN Component Errors Ocure .

If i Add an TImageEN Komponent in the Form.
The Error was : [ilink64 Error] Fatal: Unable to open file 'IEVIEW.O'
But i dont find this File on my Computer.

I have checkt the Path to ImageEN, all OK.

Can you help ?

Unit1.cpp
#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)

#pragma link "ieview"
#pragma link "imageen"
#pragma link "imageenview"
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------


Unit1.h
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "ieview.hpp"
#include "imageen.hpp"
#include "imageenview.hpp"

//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
	TImageEn *ImageEn1;
private:	// Benutzer-Deklarationen
public:		// Benutzer-Deklarationen
	__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif


LG
T

xequte

38510 Posts

Posted - Jul 14 2015 :  18:16:41  Show Profile  Reply
Hi

ImageEn does not require any runtime packages.

You are encountering some odd compilation issue. .O files are an intermediate file created during compilation:

http://docwiki.embarcadero.com/RADStudio/XE8/en/C%2B%2B_Object_File

Please try some of the suggested fixes at:

http://www.google.com/search?q=ilink64+Error+Fatal:+Unable+to+open+file++.O

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

to10

Germany
7 Posts

Posted - Jul 15 2015 :  01:20:15  Show Profile  Reply
I try to make an 64bit Application with ImageEn over an Year .
With no Result, i have try all fixes on Google with no Result.
All other external Komponents (LMD, IBDAC, ...) works without any Problems. But when i add any ImageEn Komponent the Error Occurs.

I Use C++ Builder XE8 without the Delphi personality, can this be a Problem. But i dont have RAD Studio, Only Builder XE8.

If there an User of XE8 can show me his Projekt Options ?
I dont have any clue, where the Problem ist.


Go to Top of Page

to10

Germany
7 Posts

Posted - Jul 15 2015 :  01:40:45  Show Profile  Reply
if i add ieview.hpp and ImageEnView.hpp to Projekt an Klick "Use for Precompiling" on both, Compiler goes one Step forward and an new Error Occurs :

[ilink64 Fehler] Error: Unresolved external 'vtable for Imageenview::TImageEnView' referenced from C:\USERS\ORTLEB\DOCUMENTS\RAD STUDIO\PROJEKTE\TEST_64BIT_XE8\WIN64\RELEASE\UNIT1.O
Go to Top of Page

to10

Germany
7 Posts

Posted - Jul 15 2015 :  01:50:31  Show Profile  Reply
Same Error if i remove :

#pragma link "ieview"
#pragma link "imageenview"

Go to Top of Page

xequte

38510 Posts

Posted - Jul 16 2015 :  05:18:21  Show Profile  Reply
This works in our testing:

- Create new project and place a TImageEnView on the main form
- Add 64 bit target platform
- Add ImageEn directory (where ImageEn .hpp files are located) to "C++Compiler->Directories and conditionals->Include file search path"
- Disable "C++Linked->Link with dynamic RTL" checkbox
- Disable "Packages->Runtime Packages" checkbox
- Rebuild


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

to10

Germany
7 Posts

Posted - Jul 16 2015 :  06:50:54  Show Profile  Reply
Same Error, with exact these Steps.
I have record the Try, please Watch :

http://youtu.be/y5KGZ-dgx4g

Do have test this with c++ Builder XE8 or with RAD Studio XE8 ?

Very Strange, but i need 64bit urgently .
I must know wher the Difference between yours and our Developer System is. ImageEn is the Only Komponent with these Problem, all other works fine under 64bit.

It is very important to know if you have install the Delphi personality from RAD Studio, it can be possible that C++ Builder XE8 with 64bit have Problems Build the Object File from ImageEn Component without Delphi Compiler.
Go to Top of Page

xequte

38510 Posts

Posted - Jul 16 2015 :  14:52:11  Show Profile  Reply
Hi

We used RAD Studio XE8, which does have the Delphi personality, but I would not think that would make a difference.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

to10

Germany
7 Posts

Posted - Jul 22 2015 :  02:56:18  Show Profile  Reply
OK, you have right.

i have uninstalled C++ Builder XE 8 with all Registry entries and folders and installet a RAD Studio XR 8 Trail.
Then i have installed only Imageen and make exact the steps, what you described. But i have the same Error "Unable to open file 'IEVIEW.O'

But what is different between your System and my System.
I User Win 7 with 64bit

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: