View previous topic :: View next topic |
Author |
Message |
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Sun Jun 18, 2006 1:53 pm Post subject: gdk_pixbuf_new_from_file |
|
|
One of my apps works good with the actual svn version of DUIT. I build a libDuit.a and link statically to it.
Now I started a new app and get linker error about multiple definitions of
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
in the files gdk.o (lib/gdk.d) and gdkpixbuf.o (lib/gdkpixbuf.d)
How can this be solved? |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun Jun 25, 2006 3:37 pm Post subject: Re: gdk_pixbuf_new_from_file |
|
|
keinfarbton wrote: | One of my apps works good with the actual svn version of DUIT. I build a libDuit.a and link statically to it.
Now I started a new app and get linker error about multiple definitions of
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
in the files gdk.o (lib/gdk.d) and gdkpixbuf.o (lib/gdkpixbuf.d)
How can this be solved? |
I think I moved those functions from one package to another.
maybe there is some old files on the SVN.
I have to check that.
At |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun Jun 25, 2006 3:57 pm Post subject: Re: gdk_pixbuf_new_from_file |
|
|
Ant wrote: | keinfarbton wrote: | One of my apps works good with the actual svn version of DUIT. I build a libDuit.a and link statically to it.
Now I started a new app and get linker error about multiple definitions of
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
in the files gdk.o (lib/gdk.d) and gdkpixbuf.o (lib/gdkpixbuf.d)
How can this be solved? |
I think I moved those functions from one package to another.
maybe there is some old files on the SVN.
I have to check that.
At |
well, it's not that I have the duplicated definition also... I'll take a look |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun Jun 25, 2006 5:11 pm Post subject: Re: gdk_pixbuf_new_from_file |
|
|
keinfarbton wrote: | One of my apps works good with the actual svn version of DUIT. I build a libDuit.a and link statically to it.
Now I started a new app and get linker error about multiple definitions of
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
in the files gdk.o (lib/gdk.d) and gdkpixbuf.o (lib/gdkpixbuf.d)
How can this be solved? |
can you remove the references to:
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
from lib/gdkpixbuf.d
and try again.
Let me know, It's probably that but if you could test it would make
think easier for me, thank you.
Ant |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun Jun 25, 2006 5:31 pm Post subject: Re: gdk_pixbuf_new_from_file |
|
|
keinfarbton wrote: | One of my apps works good with the actual svn version of DUIT. I build a libDuit.a and link statically to it.
Now I started a new app and get linker error about multiple definitions of
gdk_pixbuf_new_from_file
gdk_pixbuf_new_from_file_at_size
gdk_pixbuf_new_from_file_at_scale
in the files gdk.o (lib/gdk.d) and gdkpixbuf.o (lib/gdkpixbuf.d)
How can this be solved? |
ok, I removed them from lib/gdkpixbuf.d.
Let me know if now works.
Ant |
|
Back to top |
|
|
|