Jump to content
  • Advertisement
Sign in to follow this  
JohnHurt

[.net] win32 to .net linking troubles

This topic is 4064 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm trying to write a tool for my game in C++ .net. It's a simple windows form app but I'm trying to access classes which are defined in my game engine code. The game engine is in a Win32 static library project. I've set up the engine library as a dependency of the Windows Form app, but I'm getting 4 linker errors when I try and declare an instance of a class from inside the engine library.
1>particle_ed.obj : error LNK2028: unresolved token (0A00000F) "public: __clrcall cMesh::~cMesh(void)" (??1cMesh@@$$FQAM@XZ) referenced in function "private: void __clrcall particle_ed::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@particle_ed@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>particle_ed.obj : error LNK2028: unresolved token (0A000010) "public: __clrcall cMesh::cMesh(void)" (??0cMesh@@$$FQAM@XZ) referenced in function "private: void __clrcall particle_ed::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@particle_ed@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>particle_ed.obj : error LNK2019: unresolved external symbol "public: __clrcall cMesh::~cMesh(void)" (??1cMesh@@$$FQAM@XZ) referenced in function "private: void __clrcall particle_ed::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@particle_ed@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>particle_ed.obj : error LNK2019: unresolved external symbol "public: __clrcall cMesh::cMesh(void)" (??0cMesh@@$$FQAM@XZ) referenced in function "private: void __clrcall particle_ed::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@particle_ed@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!