unresolved external symbol

Login to reply to this topic.
Fri, 2005-11-18 10:15
Joined: 2005-11-16
Forum posts: 34
I'm not really sure how things work out on all those downloadable examples and stuff. But I've been trying to figure out how to determine which libraries to include in my app.

I'm using Visual Studio C++.Net's IDE in learning mobile apps development and I always make sure I included those libararies enumerated in the example's mmp file in the project's library dependencies but it doesn't always work. Not even linking sometimes.

OK, the questions is "How do I know which libs to include in my project aside from those ones listed in the mmp file?".

Thanks guys.

Fri, 2005-11-18 11:28
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: unresolved external symbol
Some errors appear like linking error but are not solved just adding libraries (ex: this is the case for a _chktsk linking error caused by too much stack consumption in your application, and - I am not very sure as it is a long time since I played with this - another error when playing with long long types).

As the SDL sometimes contains some error, then the only solution is to search into the .LIB files for the missing symbols. I think that Symbian has a tool that allows to extract such information. Utilities like dumbin can help as well. But a simple grep into all the .lib is generally enough.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Fri, 2005-11-18 12:13
Joined: 2003-12-05
Forum posts: 672
Re: unresolved external symbol
When you get the linker error about a system class you are using, just open the documentation on that class. At the top of the page, the header and lib for that class is listed -- just add the lib to the mmp file and regenerate the project from the mmp file.
Sat, 2005-11-19 11:05
Joined: 2003-10-10
Forum posts: 124
Re: unresolved external symbol
The other way, which is sometimes quite useful is to use something like DUMPBIN and dump all the *.LIB export lists into a text file. then just search for method name !!!

Certainly helps if you havent got any documentation
  • Login to reply to this topic.