When compiling a C++ Builder 10.4 project, I get the following linker error:
[ilink32 Error] Error: Unresolved external 'std::locale::id::id(unsigned int)' referenced from C:\USERS\PUBLIC\DOCUMENTS\EMBARCADERO\STUDIO\21.0\DCP\SCREEN2VIDEO.LIB|Screen2Video
This linker error happens when 'Link with dynamic RTL', and 'Link with run-time packages' are turned off. When linking with dynamic RTL, the linker error does not occur, but I want to link statically.
The SCREEN2VIDEO.LIB is from a package containing an imported ActiveX control.
Recompile all dependent packages (including the screen2video.bpl) with dynamic RTL turned off. This fixed the linker error.