From: Robert B Q. Jr. <da...@de...> - 2006-11-18 00:25:24
|
Building synfig on windows is an absolute nightmare. I have a build =20 setup that just barely works, but I set it up so long ago that I =20 don't think I can really be much of a help. Starting with Gustin's ports is a good start. I personally use the cygwin environment for my build, and just have =20 it build mingw binaries. This seems to make things a little easier. On Nov 7, 2006, at 7:29 AM, lrngate wrote: > Hello. I=E2=96=93m trying to make my own Synfig build for Windows via =20= > MinGW. I=E2=96=93m use MinGW-5.0.3 (mingw-runtime-3.10, w32api-3.7, =20= > binutils--2.16.91-20060119-1, gcc-core--3.4.5-20060117-1, gcc-g +=20 > +--3.4.5-20060117-1, mingw32-make--3.80.0-3). Also MSYS-1.0.10, =20 > msysDTK-1.0.1 (autoconf-2.56, automake-1.7.1, libtool-1.4e), =20 > bash-3.1-MSYS-1.0.11. > > And gtk-dev-2.8.20-win32-1 (http://gladewin32.sourceforge.net/=20 > modules/news/) with gtkmm-devel-2.8.8-2 (http://www.pcpm.ucl.ac.be/=20 > ~gustin/win32_ports/gtkmm.html). > > I=E2=96=93m also trying to use computers with Windows 2000 SP4 and = Windows =20 > XP SP2. > > The first problem was absence in MinGW cygpath tool which demands =20 > libtool. As this utility from cygwin has refused to work in MinGW, =20 > I=E2=96=93m read the documentation and have replaced with it=E2=96=93s = by =20 > following script: > #!/bin/bash > # Simple Cygpath replacement > > until [ -z "$1" ] > do > if [ "${1:0:1}" !=3D "-" ]; then > echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g' > fi > shift > done > > But this is not an end of my problems. Attempt to build version =20 > 0.61.05 using sources from the site has ended with an error of make: > *** Warning: This system can not link to static lib archive ../../=20 > libltdl/libltdl.la. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have. > mingw32-g++ -shared -nostdlib /mingw/lib/dllcrt2.o C:/MinGW/bin/../=20 > lib/gcc/mingw32/3.4.5/crtbegin.o .libs/libsynfig_la-=20 > blinepoint.o .libs/libsynfig_la-gradient.o .libs/libsynfig_la-=20 > value.o .libs/libsynfig_la-layer_motionblur.o .libs/libsynfig_la-=20 > layer_pastecanvas.o .libs/libsynfig_la-layer_solidcolor.o .libs/=20 > libsynfig_la-layer_polygon.o .libs/libsynfig_la-=20 > layer_composite.o .libs/libsynfig_la-layer_bitmap.o .libs/=20 > libsynfig_la-layer_mime.o .libs/libsynfig_la-layer_shape.o .libs/=20 > libsynfig_la-target_scanline.o .libs/libsynfig_la-=20 > target_tile.o .libs/libsynfig_la-target_multi.o .libs/libsynfig_la-=20 > target_null.o .libs/libsynfig_la-target_null_tile.o .libs/=20 > libsynfig_la-valuenode_sine.o .libs/libsynfig_la-=20 > valuenode_radialcomposite.o .libs/libsynfig_la-=20 > valuenode_bline.o .libs/libsynfig_la-=20 > valuenode_segcalcvertex.o .libs/libsynfig_la-=20 > valuenode_segcalctangent.o .libs/libsynfig_la-=20 > valuenode_twotone.o .libs/libsynfig_la-valuenode_stripes.o .libs/=20 > libsynfig_la-valuenode_subtract.o .libs/libsynfig_la-=20 > valuenode_const.o .libs/libsynfig_la-valuenode_reference.o .libs/=20 > libsynfig_la-valuenode_linear.o .libs/libsynfig_la-=20 > valuenode_composite.o .libs/libsynfig_la-=20 > valuenode_dynamiclist.o .libs/libsynfig_la-=20 > valuenode_animated.o .libs/libsynfig_la-valuenode_scale.o .libs/=20 > libsynfig_la-valuenode_timedswap.o .libs/libsynfig_la-=20 > valuenode_gradientrotate.o .libs/libsynfig_la-mutex.o .libs/=20 > libsynfig_la-timepointcollect.o .libs/libsynfig_la-rect.o .libs/=20 > libsynfig_la-node.o .libs/libsynfig_la-guid.o .libs/libsynfig_la-=20 > loadcanvas.o .libs/libsynfig_la-distance.o .libs/libsynfig_la-=20 > palette.o .libs/libsynfig_la-paramdesc.o .libs/libsynfig_la-=20 > waypoint.o .libs/libsynfig_la-activepoint.o .libs/libsynfig_la-=20 > gamma.o .libs/libsynfig_la-uniqueid.o .libs/libsynfig_la-=20 > context.o .libs/libsynfig_la-renddesc.o .libs/libsynfig_la-=20 > time.o .libs/libsynfig_la-exception.o .libs/libsynfig_la-=20 > keyframe.o .libs/libsynfig_la-main.o .libs/libsynfig_la-=20 > surface.o .libs/libsynfig_la-module.o .libs/libsynfig_la-=20 > importer.o .libs/libsynfig_la-layer.o .libs/libsynfig_la-=20 > color.o .libs/libsynfig_la-canvas.o .libs/libsynfig_la-=20 > render.o .libs/libsynfig_la-target.o .libs/libsynfig_la-=20 > savecanvas.o .libs/libsynfig_la-valuenode.o .libs/libsynfig_la-=20 > blur.o .libs/libsynfig_la-curve_helper.o .libs/libsynfig_la-=20 > polynomial_root.o .libs/libsynfig_la-transform.o .libs/libsynfig_la-=20= > curveset.o .libs/libsynfig_la-listimporter.o -LC:/GTK/lib -L/C/GTK/=20= > lib -lole32 -L/c/GTK/lib -lxml++-2.6 -lxml2 -lz -lws2_32 -=20 > lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lkernel32 -=20 > luser32 -lsigc-2.0 -LC:/MinGW/bin/../lib/gcc/mingw32/3.4.5 -LC:/=20 > MinGW/bin/../lib/gcc -Lc:/GTK/lib -LC:/msys/1.0/synfig/ffmpeg-r6800/=20= > lib -L/mingw/lib/gcc/mingw32/3.4.5 -LC:/MinGW/bin/../lib/gcc/=20 > mingw32/3.4.5/../../../../mingw32/lib -L/mingw/lib/gcc/=20 > mingw32/3.4.5/../../../../mingw32/lib -L/mingw/lib -LC:/MinGW/=20 > bin/../lib/gcc/mingw32/3.4.5/../../.. -L/mingw/lib/gcc/=20 > mingw32/3.4.5/../../.. -lstdc++ -lmingw32 -lgcc -lmoldname -=20 > lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -=20 > lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt C:/MinGW/bin/../lib/=20 > gcc/mingw32/3.4.5/crtend.o -Wl,--export-all-symbols -Wl,--=20 > subsystem=3Dconsole -Wl,--enable-runtime-pseudo-reloc -o .libs/=20 > libsynfig-0.dll -Wl,--image-base=3D0x10000000 -Wl,--out-implib,.libs/=20= > libsynfig.dll.a > Creating library file: .libs/libsynfig.dll.a > .libs/libsynfig_la-module.o:module.cpp:(.text+0x3d): undefined =20 > reference to `lt_dlinit' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x52): undefined =20 > reference to `lt_dlerror' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x79): undefined =20 > reference to `lt_dladdsearchdir' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x85): undefined =20 > reference to `lt_dladdsearchdir' > .libs/libsynfig_la-module.o:module.cpp:(.text+0xb4): undefined =20 > reference to `lt_dladdsearchdir' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x227): undefined =20 > reference to `lt_dladdsearchdir' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x233): undefined =20 > reference to `lt_dladdsearchdir' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x23f): more =20 > undefined references to `lt_dladdsearchdir' follow > .libs/libsynfig_la-module.o:module.cpp:(.text+0x37a): undefined =20 > reference to `lt_dlexit' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x89a): undefined =20 > reference to `lt_dlopenext' > .libs/libsynfig_la-module.o:module.cpp:(.text+0xbb1): undefined =20 > reference to `lt_dlopenext' > .libs/libsynfig_la-module.o:module.cpp:(.text+0xbd8): undefined =20 > reference to `lt_dlerror' > .libs/libsynfig_la-module.o:module.cpp:(.text+0xfed): undefined =20 > reference to `lt_dlsym' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x11fe): undefined =20 > reference to `lt_dlsym' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x16e7): undefined =20 > reference to `lt_dlsym' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x1bd0): undefined =20 > reference to `lt_dlsym' > .libs/libsynfig_la-module.o:module.cpp:(.text+0x2100): undefined =20 > reference to `lt_dlerror' > collect2: ld returned 1 exit status > make[3]: *** [libsynfig.la] Error 1 > make[3]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build/=20 > src/synfig' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/Atrus/synfig-0.61.05/win32build' > make: *** [all] Error 2 > > Attempt to build the svn version (revision: 228) was successful =20 > (make has not come to the end with an error). However, during =20 > assembly I received similar messages: > /bin/sh ../../libtool --mode=3Dlink mingw32-g++ -DNDEBUG -Wno-=20 > deprecated -O1 -W -Wall -Wno-unused-parameter -LC:/GTK/lib -=20 > fpermissive -lole32 -no-undefined -Wl,--export-all-symbols -Wl,--=20 > subsystem=3Dconsole -Wl,--enable-runtime-pseudo-reloc -o libsynfig.la =20= > -rpath C:/PROGRA~1/Synfig/lib -export-dynamic -no-undefined -=20 > version-info 0:0:0 libsynfig_la-blinepoint.lo libsynfig_la-=20 > gradient.lo libsynfig_la-value.lo libsynfig_la-layer_motionblur.lo =20 > libsynfig_la-layer_pastecanvas.lo libsynfig_la-layer_solidcolor.lo =20 > libsynfig_la-layer_polygon.lo libsynfig_la-layer_composite.lo =20 > libsynfig_la-layer_bitmap.lo libsynfig_la-layer_mime.lo =20 > libsynfig_la-layer_shape.lo libsynfig_la-target_scanline.lo =20 > libsynfig_la-target_tile.lo libsynfig_la-target_multi.lo =20 > libsynfig_la-target_null.lo libsynfig_la-target_null_tile.lo =20 > libsynfig_la-valuenode_sine.lo libsynfig_la-=20 > valuenode_radialcomposite.lo libsynfig_la-valuenode_bline.lo =20 > libsynfig_la-valuenode_segcalcvertex.lo libsynfig_la-=20 > valuenode_segcalctangent.lo libsynfig_la-valuenode_twotone.lo =20 > libsynfig_la-valuenode_stripes.lo libsynfig_la-=20 > valuenode_subtract.lo libsynfig_la-valuenode_const.lo libsynfig_la-=20 > valuenode_reference.lo libsynfig_la-valuenode_linear.lo =20 > libsynfig_la-valuenode_composite.lo libsynfig_la-=20 > valuenode_dynamiclist.lo libsynfig_la-valuenode_animated.lo =20 > libsynfig_la-valuenode_scale.lo libsynfig_la-valuenode_timedswap.lo =20= > libsynfig_la-valuenode_gradientrotate.lo libsynfig_la-mutex.lo =20 > libsynfig_la-timepointcollect.lo libsynfig_la-rect.lo libsynfig_la-=20 > node.lo libsynfig_la-guid.lo libsynfig_la-loadcanvas.lo =20 > libsynfig_la-distance.lo libsynfig_la-palette.lo libsynfig_la-=20 > paramdesc.lo libsynfig_la-waypoint.lo libsynfig_la-activepoint.lo =20 > libsynfig_la-gamma.lo libsynfig_la-uniqueid.lo libsynfig_la-=20 > context.lo libsynfig_la-renddesc.lo libsynfig_la-time.lo =20 > libsynfig_la-exception.lo libsynfig_la-keyframe.lo libsynfig_la-=20 > main.lo libsynfig_la-surface.lo libsynfig_la-module.lo libsynfig_la-=20= > importer.lo libsynfig_la-layer.lo libsynfig_la-color.lo =20 > libsynfig_la-canvas.lo libsynfig_la-render.lo libsynfig_la-=20 > target.lo libsynfig_la-savecanvas.lo libsynfig_la-valuenode.lo =20 > libsynfig_la-blur.lo libsynfig_la-curve_helper.lo libsynfig_la-=20 > polynomial_root.lo libsynfig_la-transform.lo libsynfig_la-=20 > curveset.lo libsynfig_la-listimporter.lo ../../libltdl/libltdl.la -=20= > Lc:/GTK/lib -lxml++-2.6 -lxml2 -lz -lws2_32 -lglibmm-2.4 -=20 > lgobject-2.0 -lsigc-2.0 -lglib-2.0 -lintl -liconv -lkernel32 -=20 > luser32 -Lc:/GTK/lib -lsigc-2.0 > > *** Warning: This system can not link to static lib archive ../../=20 > libltdl/libltdl.la. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have. > > *** Warning: linker path does not have real file for library -lole32. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libole32 and none of the candidates passed a file format test > *** using a file magic. Last file checked: C:/mingw/lib//libole32.a > > *** Warning: linker path does not have real file for library -lz. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libz and none of the candidates passed a file format test > *** using a file magic. Last file checked: c:/GTK/lib//libz.dll.a > > *** Warning: linker path does not have real file for library -lws2_32. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libws2_32 and none of the candidates passed a file format =20 > test > *** using a file magic. Last file checked: C:/mingw/lib//libws2_32.a > > > *** Warning: linker path does not have real file for library -lintl. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libintl and none of the candidates passed a file format test > *** using a file magic. Last file checked: c:/GTK/lib//libintl.dll.a > > *** Warning: linker path does not have real file for library -liconv. > *** I have the capability to make that library automatically link =20 > in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libiconv and none of the candidates passed a file format test > *** using a file magic. Last file checked: c:/GTK/lib//libiconv.dll.a > *** The inter-library dependencies that have been dropped here will be > *** automatically added whenever a program is linked with this library > *** or is declared to -dlopen it. > > *** Since this library must not contain undefined symbols, > *** because either the platform does not support them or > *** it was explicitly requested with -no-undefined, > *** libtool will only create a static version of it. > > At the end I have working exe-file, but no one dll=E2=94=98 > > I have suspected, that I have problem with building dll-files, so I =20= > go to MinGW site and use their tutorial of building dll libraries. =20 > The dll was build perfectly, but that tutorial does not use =20 > libtool. So, I can make dll, but not for Synfig=E2=94=98 > > Any ideas? What I=E2=96=93m doing wrong? > > Atrus. > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > Synfig-devl mailing list > Syn...@li... > https://lists.sourceforge.net/lists/listinfo/synfig-devl __________________ Robert Quattlebaum Jabber: da...@de... eMail: da...@de... www: http://www.deepdarc.com/ |