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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 64bit without "link with Runtime-Packages"

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
to10 Posted - Jul 14 2015 : 04:02:24
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
8   L A T E S T    R E P L I E S    (Newest First)
to10 Posted - Jul 22 2015 : 02:56:18
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

xequte Posted - Jul 16 2015 : 14:52:11
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
to10 Posted - Jul 16 2015 : 06:50:54
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.
xequte Posted - Jul 16 2015 : 05:18:21
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
to10 Posted - Jul 15 2015 : 01:50:31
Same Error if i remove :

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

to10 Posted - Jul 15 2015 : 01:40:45
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
to10 Posted - Jul 15 2015 : 01:20:15
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.


xequte Posted - Jul 14 2015 : 18:16:41
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