Message 1 of 5
Linker errors

Not applicable
01-27-2017
10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I brought a project in to VS 2017 from VS 2013 and now I get a ton of linker errors.
Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A00061B) "public: wchar_t const * __cdecl AcString::kwszPtr(void)const " (?kwszPtr@AcString@@$$FQEBAPEB_WXZ) referenced in function "public: __cdecl AcString::operator wchar_t const *(void)const " (??BAcString@@$$FQEBAPEB_WXZ) .... Severity Code Description Project File Line Suppression State Error LNK2028 unresolved token (0A000613) "public: class AcRxObject * __cdecl AcRxClass::create(void)" (?create@AcRxClass@@$$FQEAAPEAVAcRxObject@@XZ) referenced in function "private: class Detailer::Common::TPG_Material * __clrcall Detailer::Common::TPG_MaterialMgd::GetInternalObject(void)" (?GetInternalObject@TPG_MaterialMgd@Common@Detailer@@$$FAE$AAMPEAVTPG_Material@23@XZ) Detailer.dotNET.Entities
I have been over all of my library includes and cannot for the life of me find which is missing. The following files are added to the "Additional Dependencies" list:
rxapi.lib
acdb21.lib
acge21.lib
acdbmgd.lib
As you can see one is related to AcString and the other is related to AcRxObject. I have upgraded the project settings to point to the new ObjectArx 2017 directory for the include and lib files. This builds in 2013 no problem.
Any hints?
Mike