error LNK2019
C / C++ / MFC
5
Posts
2
Posters
0
Views
1
Watching
-
Where do i start when figuring out an error LNK2019: unresolved external symbol ? I defined a function that returns a map std::map getMyMap Whenever i try to call this function, getMyMap, i get the error.
-
LCI wrote:
Where do i start when figuring out an error LNK2019: unresolved external symbol ?
MSDN...? It seems that the definition of getMyMap can't be found, if it's in another file make sure that you are linking with it.
-
It is all in the same class.. The definition was made in the .h file and the function is in the .cpp and it is also being called from there...
-
Found the problem.. it was my fault. The defintion in the .cpp was without the class identifier. Silly me... Sorry