Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    64-bit Link errors - VLONG casting?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 242 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/09/2005 at 03:09, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      How do I fix these linker errors? Casting to VLONG doesn't seem to be appeasing the linker.

        
      animloader.obj : error LNK2019: unresolved external symbol "void __cdecl CopyMem(void *,void *,long)" (?CopyMem@@YAXPEAX0J@Z) referenced in function "public: unsigned char __cdecl AnimLoader::Begin(class BaseDocument *,class AtomArray *,class Filename,class String,long,long,long,long,float,unsigned char,unsigned char)" (?Begin@AnimLoader@@QEAAEPEAVBaseDocument@@PEAVAtomArray@@VFilename@@VString@@JJJJMEE@Z)  
      morphtag.obj : error LNK2001: unresolved external symbol "void __cdecl CopyMem(void *,void *,long)" (?CopyMem@@YAXPEAX0J@Z)  
      entries.obj : error LNK2019: unresolved external symbol "public: long __cdecl BaseFile::ReadBytes(void *,long,int)" (?ReadBytes@BaseFile@@QEAAJPEAXJH@Z) referenced in function "unsigned char __cdecl LoadEntries(void)" (?LoadEntries@@YAEXZ)  
      ipdialog.obj : error LNK2001: unresolved external symbol "public: long __cdecl BaseFile::ReadBytes(void *,long,int)" (?ReadBytes@BaseFile@@QEAAJPEAXJH@Z)  
      filereader.obj : error LNK2019: unresolved external symbol "public: long __cdecl BaseFile::GetLength(void)" (?GetLength@BaseFile@@QEAAJXZ) referenced in function "public: void __cdecl FileReader::Init(class BaseFile *,class Filename)" (?Init@FileReader@@QEAAXPEAVBaseFile@@VFilename@@@Z)  
      filereader.obj : error LNK2019: unresolved external symbol "public: int __cdecl BaseFile::Seek(long,long)" (?Seek@BaseFile@@QEAAHJJ@Z) referenced in function "public: void __cdecl FileReader::SetPosition(long)" (?SetPosition@FileReader@@QEAAXJ@Z)  
      ipdialog.obj : error LNK2001: unresolved external symbol "public: int __cdecl BaseFile::Seek(long,long)" (?Seek@BaseFile@@QEAAHJJ@Z)  
      filereader.obj : error LNK2019: unresolved external symbol "public: long __cdecl BaseFile::GetPosition(void)" (?GetPosition@BaseFile@@QEAAJXZ) referenced in function "public: long __cdecl FileReader::GetPosition(void)" (?GetPosition@FileReader@@QEAAJXZ)  
      grpmats.obj : error LNK2019: unresolved external symbol "void __cdecl ClearMem(void *,long,long)" (?ClearMem@@YAXPEAXJJ@Z) referenced in function "public: unsigned char __cdecl GrpMats::Init(unsigned char)" (?Init@GrpMats@@QEAAEE@Z)  
      ipdialog.obj : error LNK2001: unresolved external symbol "void __cdecl ClearMem(void *,long,long)" (?ClearMem@@YAXPEAXJJ@Z)  
      poserprop.obj : error LNK2001: unresolved external symbol "void __cdecl ClearMem(void *,long,long)" (?ClearMem@@YAXPEAXJJ@Z)  
      ipdialog.obj : error LNK2019: unresolved external symbol "public: int __cdecl BaseFile::WriteBytes(void *,long)" (?WriteBytes@BaseFile@@QEAAHPEAXJ@Z) referenced in function "private: unsigned char __cdecl iPDialog::ReadRSR(class RuntimeItem * )" (?ReadRSR@iPDialog@@AEAAEPEAVRuntimeItem@@@Z)  
      morphtag.obj : error LNK2019: unresolved external symbol "public: int __cdecl HyperFile::ReadMemory(void * *,long * )" (?ReadMemory@HyperFile@@QEAAHPEAPEAXPEAJ@Z) referenced in function "public: virtual int __cdecl MorphTag::Read(class GeListNode *,class HyperFile *,long)" (?Read@MorphTag@@UEAAHPEAVGeListNode@@PEAVHyperFile@@J@Z)  
      morphtag.obj : error LNK2019: unresolved external symbol "public: int __cdecl HyperFile::WriteMemory(void *,long)" (?WriteMemory@HyperFile@@QEAAHPEAXJ@Z) referenced in function "public: virtual int __cdecl MorphTag::Write(class GeListNode *,class HyperFile * )" (?Write@MorphTag@@UEAAHPEAVGeListNode@@PEAVHyperFile@@@Z)  
      ./Commercial/release_9_64/interPoser Ltd.cdl64 : fatal error LNK1120: 9 unresolved externals  
      

      Even in places where I've changed a local LONG variable to VLONG variable, it still spews.

      Thanks,

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 06/09/2005 at 04:06, xxxxxxxx wrote:

        Ooops. Just found out that not all of the *.cpp preprocessor values were cleared and inherited.

        Back to work! 😉

        1 Reply Last reply Reply Quote 0
        • First post
          Last post