i try to compile our own components (Windows only) in 64bit. Some of our Components are derived from TMS and as long as i have the 32bit target set everything works as expected and our components compile without any issue.
But as soon is i set 64bit as target platform i get the following error:
[ILINK32 Fehler] Fatal: Unable to open file '\REGISTERED\TMS FNC CORE;C:\USERS\CHRIS\APPDATA\LOCAL\TMSSOFTWARE\REGISTERED\TMS FNC CORE\DELPHI11\WIN64\RELEASE;C:\USERS\CHRIS\APPDATA\LOCAL\TMSSOFTWARE\REGISTERED\TMS FNC MAPS;C:\USERS\CHRIS\APPDATA\LOCAL\TMSSOFTWARE\R'
I've already uninstalled all components and reinstalled them. I also checked the environment paths and as far as i can say, everything looks fine.
I'm stuck right now and don't know where to search for the issue. Does anyone has a suggestion?
For C++Builder you might need to recompile the original packages and set the target to 64 bit, the output folder should be located where the packages are. There you should find the required C++Builder files to compile against.
It's unclear where the linker error comes from. Did this used to work or is this the first time you try to compile packages based on 64 bit? Did you set the target to Release, because Release is used to compile the packages.
So for everyone who is maybe running into the same problem. After i wasted a full day for this i found the problem (and solution). It is indeed no TMS-Problem neither a "real" problem that we where causing ourself.
But i blame Embarcadero for that rather awfull error message that isn't pointing into a direction what the problem could be.
Long story short: We grouped our own components in subfolders like so:
At a certain point it seems that the library and include paths are getting to long and the Win64-bit linker fails with a message like i posted earlier. Ironically the 32bit linker has no problem with this long paths.