In VS2005, has anyone encountered a mysterious: error LNK2016: Absolute symbol
'@comp.id' used as target of REL32 relocation?
The msdn documentation is uselessly non-descriptive, stating that:
Absolute symbol 'symbol' used as target of target relocation
An absolute symbol is not a legal target of a relocation. You may want to contact your compiler vendor.
I am getting this from trying to link in a x64 native static lib into a x64 managed program. This only happens with the release version of the lib. The debug lib links in just fine.
The weird part, is I have done this exact same project setup before without any issue.
Anyone know what this means and how to go about fixing it?
An absolute symbol is not a legal target of a relocation. You may want to contact your compiler vendor.
I am getting this from trying to link in a x64 native static lib into a x64 managed program. This only happens with the release version of the lib. The debug lib links in just fine.
The weird part, is I have done this exact same project setup before without any issue.
Anyone know what this means and how to go about fixing it?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.