Jump to content

Recommended Posts

  • Premium

Error    296    error LNK2001: unresolved external symbol __imp__GrannyConvertSingleObject@20    etergrnlib.lib    UserInterface
Error    297    error LNK2001: unresolved external symbol __imp__GrannyFindMatchingMember@16    etergrnlib.lib    UserInterface
Error    298    error LNK2001: unresolved external symbol __imp__GrannyUpdateModelMatrix@20    etergrnlib.lib    UserInterface
Error    299    error LNK2001: unresolved external symbol __imp__GrannyNewMeshDeformer@16    etergrnlib.lib    UserInterface
 

Link to comment
Share on other sites

 
// Ira.h
class Ira
{
public:
  void Func(); // Declaration
};

// Ira.cpp
//definition
void Ira::Func()
{
  // Do something
}		
		 
 
In your case, the definition cannot be found. The issue could be that you are including a header file, which brings in some function declarations, but you either:
1. definition for those functions cannot be found
2. The library is compiled with an older or newer compiler. And as i can see problem is in __imp__ wich is in the dllexport and dllimport
Solve :
- Take granny2.lib from another source Who is compiled with same compier.
- Problem can be in you project toolset too.
 
As far as i know don't matter if dynamic libs is compiled with different compiler but give it a try.
Just static libs need to be compiled with same compilet that is linked.
 
Check you project toolset
Check check granny2.lib
 
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.