Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: C++ Builder Seattle links in 64bit, but won't link in either 32bit or OS X


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


Permlink Replies: 3 - Last Post: Dec 26, 2015 1:09 PM Last Post By: Patricio Cerda
Patricio Cerda

Posts: 122
Registered: 3/13/01
C++ Builder Seattle links in 64bit, but won't link in either 32bit or OS X  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 25, 2015 7:11 AM
Hi,

The linking process of a simple application using C++ Builder Seattle doesn't work in 32bit nor OS X, but it is compiling, linking and running well on 64bit.
To compile, link and run it over 32bit and OS X, and for 64bit as well, I just change the Target Platforms, but it doesn't work.

The error messages are the following:

For 32bit:
many linker warnings as: [ilink32 Warning] Warning: C:\Apps10\MisClaves\Win32\Debug\MisClaves.ilc: 0x00010000 / 0x08000000
and [ilink32 Warning] Warning: Error detected (LME288)
and finally [ilink32 Warning] Warning: Unable to perform link

For OSX:
many linker errors as: [ILINK32 Error] Error: Unresolved external '__fastcall System::Classes::TComponent::ObserverAdded()' referenced from ...
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Types
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Forms

What else must I change or add in the project options to successfully link my application on these platforms?

Best regards,
Patricio Cerda
Barry Andrews

Posts: 71
Registered: 9/19/03
Re: C++ Builder Seattle links in 64bit, but won't link in either 32bit or OS X  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 25, 2015 6:08 PM   in response to: Patricio Cerda in response to: Patricio Cerda
Patricio Cerda wrote:
Hi,

The linking process of a simple application using C++ Builder Seattle doesn't work in 32bit nor OS X, but it is compiling, linking and running well on 64bit.
To compile, link and run it over 32bit and OS X, and for 64bit as well, I just change the Target Platforms, but it doesn't work.

The error messages are the following:

For 32bit:
many linker warnings as: [ilink32 Warning] Warning: C:\Apps10\MisClaves\Win32\Debug\MisClaves.ilc: 0x00010000 / 0x08000000
and [ilink32 Warning] Warning: Error detected (LME288)
and finally [ilink32 Warning] Warning: Unable to perform link

For OSX:
many linker errors as: [ILINK32 Error] Error: Unresolved external '__fastcall System::Classes::TComponent::ObserverAdded()' referenced from ...
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Types
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Forms

What else must I change or add in the project options to successfully link my application on these platforms?

Best regards,
Patricio Cerda

Hello Patricio

I had issues with linking Win32 application if the project compiler option for windows 32 platform "Use Classic Borland Compiler" was checked.
Turning this off allowed 32 bit applications to once again link for me.
Not doing OSX so don't know regards this.
At least worth a try.
Patricio Cerda

Posts: 122
Registered: 3/13/01
Re: C++ Builder Seattle links in 64bit, but won't link in either 32bit or OS X  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 26, 2015 4:44 AM   in response to: Barry Andrews in response to: Barry Andrews
I had issues with linking Win32 application if the project compiler option for windows 32 platform "Use Classic Borland Compiler" was checked.
Turning this off allowed 32 bit applications to once again link for me.
Not doing OSX so don't know regards this.
At least worth a try.

Thank you Barry, but unfortunately it didn't work for me.
After I unchecked this project compiler option and restarted C++ Builder Seattle IDE and Windows10, the error message is still there.

Regards,
Patricio Cerda
Patricio Cerda

Posts: 122
Registered: 3/13/01
Re: C++ Builder Seattle links in 64bit, but won't link in either 32bit or OS X  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 26, 2015 1:09 PM   in response to: Patricio Cerda in response to: Patricio Cerda
The linking process of a simple application using C++ Builder Seattle doesn't work in 32bit nor OS X, but it is compiling, linking and running well on 64bit.
To compile, link and run it over 32bit and OS X, and for 64bit as well, I just change the Target Platforms, but it doesn't work.

The error messages are the following:

For 32bit:
many linker warnings as: [ilink32 Warning] Warning: C:\Apps10\MisClaves\Win32\Debug\MisClaves.ilc: 0x00010000 / 0x08000000
and [ilink32 Warning] Warning: Error detected (LME288)
and finally [ilink32 Warning] Warning: Unable to perform link

For OSX:
many linker errors as: [ILINK32 Error] Error: Unresolved external '__fastcall System::Classes::TComponent::ObserverAdded()' referenced from ...
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Types
and [ILINK32 Error] Error: Unresolved external '__fastcall Fmx::Forms

What else must I change or add in the project options to successfully link my application on these platforms?

Finally, I had success compiling and linking my little application for OS X platform; not running yet because I have troubles with my INI and TXT files that are needed (I don't know where must I put them on the MAC OS X and how to access their container folders from the application).

This could be helpful to someone, the problem probably is that I didn't proceed as is recommended always by experts: start creating a new project and then adding the units of the project that I want to migrate from a previous version of RAD Studio (C++ Builder on my case). I think so because after experiencing the previously described errors I tried this recommended process and the application compiles and links well in OS X platform. I didn't try the same with 32bit, but surprisingly the migration was too simple in case of 64bit platform (I just open the project from the previous version and everything works well).

I sincerely think that a good incentive to buy Embarcadero products would be if they implemented a wizard that allows or facilitates applications migration from previous versions.

Best regards,
Patricio Cerda
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02