All Questions

1076
votes
27answers
376253 views

What is an undefined reference/unresolved external symbol error and how do I fix it?

What are undefined reference/unresolved external symbol errors? What are common causes and how to fix/prevent them? Feel free to edit/add your own.
131
votes
22answers
348021 views

Unresolved external symbol in object files

During coding in Visual Studio I got an unresolved external symbol error and I've got no idea what to do. I don't know what's wrong. Could you please decipher me? Where should I be looking for what ki...
72
votes
12answers
69113 views

unresolved external symbol __imp__fprintf and __imp____iob_func, SDL2

Could someone explain what the __imp__fprintf and __imp____iob_func unresolved external means? Because I get these errors when I'm trying to compile: 1>SDL2main.lib(SDL_windows_main....
17
votes
4answers
18377 views

Unresolved externals in C++ when using vectors and find

I have tried this code in a totally separate project, and it works fine (the only difference being that the project that is not working is being exported as a DLL). Here is the code: RTATMATHLIB.CPP ...
3
votes
1answers
34689 views

error LNK2019 unresolved external symbol

I am quite new to C++ so I downloaded a sample C++ program. The sample program seems to hit the following error when it is compiling :- Error 22 error LNK2019: unresolved external symbol _acsEnum...
26
votes
6answers
29317 views

Unresolved symbols when linking a program using libcurl

I know this is programming questions but I'm just frustrated trying to figure out what I'm doing wrong.. I'm using visual studio 2010 and followed all the steps here: http://curl.haxx.se/libcurl/c/vi...
20
votes
1answers
29799 views

Unresolved external symbols - Qt creator

I must be missing a basic concept with headers and includes because when I attempt to call even the simplest of a function from a separate source file I get an error: main.obj:-1: error: LNK2019: ...
7
votes
1answers
4095 views

unresolved external

I have an unresolved external symbol error that's driving me nuts. In short, I have a wrapper class for SDL_Surfaces ('DgSurface') and a class to load and store DgSurfaces ('DgSurfaceList'). The link ...
11
votes
1answers
6442 views

CUDA external class linkage and unresolved extern function in ptxas file

I'm working with CUDA and I have created an int2_ class to deal with complex integer numbers. Class declarations in the ComplexTypes.h file as follows: namespace LibraryNameSpace { class int2_ ...
6
votes
8answers
88098 views

How to solve error LNK2019

I am sending a simple email in C++. I downloaded a sample C++ program from the below link. http://cboard.cprogramming.com/cplusplus-programming/125655-sending-simple-email-cplusplus.html The sample p...

Previous Next