Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Unresolved External Symbol C++

Name: Anonymous 2006-04-05 23:43

Just requesting a basic explaination on what this means:

sendpack error LNK2019: unresolved external symbol _ifprint referenced in function _main

Name: Anonymous 2006-04-06 4:51

The object module compiled from your .c file with the main() function uses a function that's compiled as ifprint, and the linker can't find it in the libraries you listed. You probably need to check if your compiler works correctly (i.e. it uses the appropriate default libraries) and add libraries for the functions you use with -lXXX or just /path/to/library/libXXX.a as if it were an input module.

Now you'll ask, where exactly to find XXX? Well, that's the bad thing about it. Library management is still in the dark ages and it sucks. Hard.

Name: Anonymous 2006-04-06 6:20

>>2
Onry Windose.

Name: Anonymous 2006-04-06 16:55

>>2
Thanks alot :)

Name: Anonymous 2006-04-06 18:14

>>3
Let me know if there's something better for Linux, cause then it exists on Windows too.

Name: Anonymous 2006-04-07 3:59

>>5
libtool

Name: Anonymous 2006-04-07 11:55 (sage)

>>6
Autoconf, Automake, and Libtool: pretending that shared libraries aren't a ridiculous mess by covering it up with COMPLICATED VOODOO MAGIC!

Name: Anonymous 2010-09-23 17:13

N-N-N-N-NECRO BUMP

Name: Anonymous 2010-12-24 11:33

Name: Anonymous 2011-02-04 13:55

Name: Anonymous 2011-02-18 13:33

dubz

Name: Anonymous 2011-05-31 15:50

>>1,11

Ignore this.

Name: Anonymous 2012-03-28 2:19

my farts burn my anus
it hurts
in a good way

Don't change these.
Name: Email:
Entire Thread Thread List