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

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.

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