Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32


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


Permlink Replies: 5 - Last Post: Mar 12, 2017 3:19 PM Last Post By: Palle Meinert
Brett Wilton

Posts: 45
Registered: 10/1/11
BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 26, 2016 7:06 PM
Can someone confirm they have managed to link a static library with BCC32C ?

I'm getting an unresolved external as follows : -

[ilink32 Error] Error: Unresolved external 'std::codecvt_base::{1173}...' referenced from Z:\SRC\GIT\BIMARIS\SRC\STUDIO\EDS\ENVIEW\EDS\WIN32\RELEASE\LIBEDS.LIB|edsclient
Sebastian Ledesma

Posts: 78
Registered: 11/9/00
Re: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 26, 2016 8:05 PM   in response to: Brett Wilton in response to: Brett Wilton
Yes we did static linking with both BCC32c and BCC64.
Brett Wilton

Posts: 45
Registered: 10/1/11
Re: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 26, 2016 8:46 PM   in response to: Sebastian Ledesma in response to: Sebastian Ledesma
Yes we did static linking with both BCC32c and BCC64.

Thanks for confirming, I'll need to dig further. Might have to rebuild the project.
Palle Meinert

Posts: 14
Registered: 10/3/12
Re: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 9, 2017 3:18 AM   in response to: Brett Wilton in response to: Brett Wilton
Brett Wilton wrote:
Yes we did static linking with both BCC32c and BCC64.

Thanks for confirming, I'll need to dig further. Might have to rebuild the project.

Did you find a solution?

I have a similar problem using an ActiveX component, when not link with dynamic RTL in linker options.
[ilink32 Error] Error: Unresolved external 'std::locale::id::id(unsigned int)' referenced from C:\USERS\PUBLIC\DOCUMENTS\EMBARCADERO\STUDIO\18.0\DCP\JVL_MAC_PACKAGE.LIB|JVL_MAC_Package
[ilink32 Error] Error: Unresolved external 'std::codecvt_base::{1173}...' referenced from C:\USERS\PUBLIC\DOCUMENTS\EMBARCADERO\STUDIO\18.0\DCP\JVL_MAC_PACKAGE.LIB|JVL_MAC_Package

Edited by: Palle Meinert on Mar 9, 2017 4:18 AM
Brett Wilton

Posts: 45
Registered: 10/1/11
Re: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2017 3:05 PM   in response to: Palle Meinert in response to: Palle Meinert
In our case I rebuilt the library as well which got it sorted.
Palle Meinert

Posts: 14
Registered: 10/3/12
Re: BCC32C Berlin 10.1 Up1 Static library linking ? Unresolved external ilink32  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2017 3:19 PM   in response to: Brett Wilton in response to: Brett Wilton
Brett Wilton wrote:
In our case I rebuilt the library as well which got it sorted.
Ok. Thanks for reporting back. It is only 2 small dll's I need to bundle with the program to make it work, so it is not a big problem.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02