[gtkmm] building dll for windows using cygwin



Hi all,

i had built a libgnomecanvasmm on windows using cygwin with 
gcc 3.2.3
libtool 1.5
autoconf 2.57

and also by changing the line 
printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
with 
printf ("\t\"%s\" @ %ld ;\n", erva+name_rva, 1+ i); 
 as sugested in 
http://bugzilla.gnome.org/show_bug.cgi?id=91033

there are around 7 folders in the package libgnomecanvasmm i.e.

build_shared
demos
docs
examples
libgnomecanvas
scripts
tools

after configuration when used make, it left the folders demo,doc saying nothing to built.
and resulted into libgnomecanvasmm-2.0.a file which 15961 kbytes and la file 2 kb.

what i tried is trying to make dll to have work on windows by using the src code files in src folder in libgnomecanvas folder there are .lo and .o files and i used these command

$ gcc -shared -o cyglibgnomecanvasmm-2.dll -Wl,--out-implib=libgnomecanvasmm-2.
dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive can
vas.o ellipse.o rect.o group.o item.o line.o polygon.o rect-ellipse.o shape.o p
ixbuf.o rich-text.o text.o widget.o path-def.o bpath.o -Wl,--no-whole-archive 
-L/d/Manjit/Cygwin/usr/lib -lgtkmm-2.0 -lgnomecanvas-2 -lgdkmm-2.0 -latkmm-1.0
-lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-win32-2
.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-
1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm

it bombarded with many undefined refernces. i have downloaded the the binaries from 
http://web.sfc.keio.ac.jp/~s01397ms/cygwin/index.html.en

CAN ANY 1 WOULD SUGGEST WHAT TO DO FOR HAVING DLL FILE FOR WINDOWS.

tHANX IN ADVANCED
Regards
Manjit Dua







-- 
______________________________________________
http://www.indiainfo.com
Now with POP3/SMTP access for only US$14.95/yr

Powered by Outblaze



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]