![]() |
|
#1
|
|||
|
|||
Fl_PNG_Image undefined referenceHi everbody,
I am using fltk-1.1.7 , and i have configured it using --enable-threads and --enable-localpng but when I am trying to load png image using Fl_PNG_Image it is giving undefined reference CPP / C++ / C Code:
I am stuck with this can anyone help me __________________
Everything you see is a Dream... |
|||
|
#2
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceProblem is solved it was an error in make file
__________________
Everything you see is a Dream... |
|
#3
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceHi, can you tell about the problem and how you solved it?
I have a similar problem: Code:
Thanks |
|
#4
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceFirst you have to tell me which version you are using ?
If you are using fltk-1.1.7 ,just check your configuration .You need to configure your FLTK with PNG I think this should work for you . ------------ good luck __________________
Everything you see is a Dream... |
|
#5
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceMay you help me?
I am using FLTK 1.1.9 and I am trying to use PNG or JPEG images. I already included the required libraries. CPP / C++ / C Code:
I've got the following error: Code:
What should I do to solve this problem? |
|
#6
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceI am using Visual Studio 2005 and I included the libraries:
fltkd.lib fltkjpegd.lib fltkimagesd.lib fltkzd.lib wsock32.lib comctl32.lib Is there another library that I should include?? |
|
#7
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceI solved this problem. It was because I forgot to include the fltkpngd.lib library.
But now, I've got a runtime error. This code is compiling. CPP / C++ / C Code:
But the image isn't being loaded in the box. I've got this message: Unhandled exception at 0x8910558b in Project.exe: 0xC0000005: Access violation reading location 0x8910558b. And the program breaks because it can't import the image. My question is: How should I import this image? The way I did is correct? cheers, Newhunter |
|
#8
|
|||
|
|||
Re: Fl_PNG_Image undefined referenceI found the problem!
Now it is working: CPP / C++ / C Code:
I created a pointer of Fl_PNG_Image class because the image parameter should be a pointer. Now it is working very well. |
|
#9
|
|||
|
|||
Re: Fl_PNG_Image undefined referencePlease, help me with this problem.. Still, I misunderstand why doesn't it working, when I'm trying to use this.. (And sorry for my bad eng ^^)
Trying to do this: CPP / C++ / C Code:
And have this: Code:
Included libraries: fltkd.lib wsock32.lib comctl32.lib fltkpngd.lib I'm new in fltk, and do not know it well.. So, can't understand, why this happens =) |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two-Tier data dissemination code installation problem | nidhibansal1984 | Computer Software Forum - Linux | 6 | 16-Sep-2007 10:13 |
| linker error | unpep | FLTK Forum | 4 | 15-Apr-2007 03:03 |
| gnu.linkonce undefined reference | newbie06 | C++ Forum | 4 | 13-Mar-2007 09:53 |
| c++ inheritance | illbemissingu | C++ Forum | 14 | 23-Oct-2005 17:35 |
| fltk-2.0 cvs | Plumb | FLTK Forum | 20 | 13-Nov-2004 07:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The