Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: Berlin ilink64 link Error "Fatel: Error detected (EXE1825)"


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


Permlink Replies: 3 - Last Post: May 20, 2016 7:12 AM Last Post By: Valence Crearer Threads: [ Previous | Next ]
Valence Crearer

Posts: 64
Registered: 11/27/99
Berlin ilink64 link Error "Fatel: Error detected (EXE1825)"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 6, 2016 12:02 PM
Have a new error in an old file.

Seattle compiles and links project fine.

Project is C++ Package that uses another package. The one that is not linking now, due to [ilink64 Error] Fatal: Error detected (EXE1825), is a static library package that inherits from another package.

Has been working for years, and in Seattle, but now breaks in Berlin. So that I can narrow down why, has anyone else seen this error?

Thanks
Valence Crearer

Posts: 64
Registered: 11/27/99
Re: Berlin ilink64 link Error "Fatel: Error detected (EXE1825)"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 19, 2016 1:45 PM   in response to: Valence Crearer in response to: Valence Crearer
Valence Crearer wrote:

Project is C++ Package that uses another package.

I was using #pragma comment(lib,"packagename")

That was working in Seattle.

now
#pragma comment(lib,"packagename.bpi")

this works in Berlin.
Vladimir Ulchenko

Posts: 248
Registered: 1/12/00
Re: Berlin ilink64 link Error "Fatel: Error detected (EXE1825)"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2016 3:01 AM   in response to: Valence Crearer in response to: Valence Crearer
On Thu, 19 May 2016 13:45:54 -0700, Valence Crearer <> wrote:

I was using #pragma comment(lib,"packagename")

That was working in Seattle.

now
#pragma comment(lib,"packagename.bpi")

this works in Berlin.

I've been using following macros for years

#ifdef STATIC_BUILD
#define LIBEXT lib
#else
#define LIBEXT bpi
#endif

#define M(x) # x
#define F(x,y) M(x ## . ## y)
#define S(x,y) F(x, y)
#define L(x) lib, S(x, LIBEXT)

and then

#pragma comment(L(vcl))
#pragma comment(L(rtl))
...

#undef L
#undef S
#undef F
#undef M

doing this way allows to centralize logic and possible modifications in one place

--
Vladimir Ulchenko aka vavan

Valence Crearer

Posts: 64
Registered: 11/27/99
Re: Berlin ilink64 link Error "Fatel: Error detected (EXE1825)"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2016 7:12 AM   in response to: Vladimir Ulchenko in response to: Vladimir Ulchenko
Vladimir Ulchenko wrote:
doing this way allows to centralize logic and possible modifications in one place

--
Vladimir Ulchenko aka vavan

Thanks very much!
We'll use a variant of this.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02