Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalemulator device in Window Pin
don7cry28-Dec-04 16:56
don7cry28-Dec-04 16:56 
GeneralRe: emulator device in Window Pin
pc_dev28-Dec-04 19:24
pc_dev28-Dec-04 19:24 
GeneralBoost regex (regular expressions) problem Pin
czajnick28-Dec-04 13:56
czajnick28-Dec-04 13:56 
GeneralRe: Boost regex (regular expressions) problem Pin
User 665828-Dec-04 14:33
User 665828-Dec-04 14:33 
GeneralRe: Boost regex (regular expressions) problem Pin
czajnick28-Dec-04 22:50
czajnick28-Dec-04 22:50 
GeneralRe: Boost regex (regular expressions) problem Pin
User 665829-Dec-04 1:44
User 665829-Dec-04 1:44 
GeneralRe: Boost regex (regular expressions) problem Pin
Michael Dunn29-Dec-04 6:53
sitebuilderMichael Dunn29-Dec-04 6:53 
GeneralLinking problems when using libraries! Pin
Dani10000128-Dec-04 12:59
Dani10000128-Dec-04 12:59 
I have a question about a linker error when including some libraries in my application.

This is what i have done:

First I have compiled the ximage.lib and png.lib as static libraries and I got no errors.

Then I have linked ximage.lib and png.lib to my application.

When I compile the application I get these linker errors:

ximage.lib(ximapng.obj) : error LNK2019: unresolved external symbol _png_read_row referenced in function "public: bool __thiscall CxImagePNG::Decode(class CxFile *)"

The png_read_row function is declared in the png.lib project, so how can I get these errors when both libraries compiled successfully?

Where should I look for the error, in the png.lib, or in the ximage.lib or should I use some magical setting in the application project?

I hope someone can tell me what I am missing!

Thanks, Dani


GeneralRe: Linking problems when using libraries! Pin
Chris Losinger28-Dec-04 15:07
professionalChris Losinger28-Dec-04 15:07 
GeneralCapture the Fn key on a laptop Pin
sparker6228-Dec-04 9:32
sparker6228-Dec-04 9:32 
GeneralRe: Capture the Fn key on a laptop Pin
User 665828-Dec-04 9:35
User 665828-Dec-04 9:35 
GeneralRe: Capture the Fn key on a laptop Pin
Dani10000128-Dec-04 12:38
Dani10000128-Dec-04 12:38 
GeneralStatus Bar Pin
Anthony988728-Dec-04 8:44
Anthony988728-Dec-04 8:44 
GeneralMulti-column ListBox Pin
Deian28-Dec-04 7:34
Deian28-Dec-04 7:34 
GeneralRe: Multi-column ListBox Pin
David Crow28-Dec-04 10:00
David Crow28-Dec-04 10:00 
GeneralRe: Multi-column ListBox Pin
Deian28-Dec-04 10:15
Deian28-Dec-04 10:15 
GeneralRe: Multi-column ListBox Pin
David Crow28-Dec-04 10:21
David Crow28-Dec-04 10:21 
GeneralRe: Multi-column ListBox Pin
User 665828-Dec-04 10:23
User 665828-Dec-04 10:23 
GeneralRe: Multi-column ListBox Pin
Deian28-Dec-04 10:41
Deian28-Dec-04 10:41 
GeneralRe: Multi-column ListBox Pin
Rick York28-Dec-04 14:33
mveRick York28-Dec-04 14:33 
Generalrouting information protocol (RIP) problem Pin
Chuan^228-Dec-04 7:22
Chuan^228-Dec-04 7:22 
GeneralRe: routing information protocol (RIP) problem Pin
David Crow28-Dec-04 10:03
David Crow28-Dec-04 10:03 
GeneralHTML in VC++ Pin
Jalia28-Dec-04 7:22
Jalia28-Dec-04 7:22 
GeneralRe: HTML in VC++ Pin
Neville Franks28-Dec-04 9:16
Neville Franks28-Dec-04 9:16 
GeneralDraggable Rectangle Pin
poiut28-Dec-04 7:09
poiut28-Dec-04 7:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.