paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] building stable with mingw32


From: Mike Lin
Subject: [paragui-users] building stable with mingw32
Date: Sat, 26 Jun 2004 10:13:14 -0700
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hi, I'm trying to get to know paragui, but I can't get it to build with mingw32.

The dependencies im using are:
internal-expat
zlib built from source from zlib.org
physfs built from source
libpng and freetype from gnuwin32, which then also required gw32c (a minimal impl. of glibc) from gnuwin32
sdl and sdl_image binaries.
pthreads-win32 binaries

The only change i made to the build was to additionally link -lgw32c. My build stops at the tests, which fail to link, with undefined reference to address@hidden' does anyone know where main is supposed to be defined? alternatively, does anyone have working mingw32 binaries they can give me?

Thanks!

final output:
c:\development\MinGW\bin\make.exe[2]: Entering directory `c:/development/paragui-1.0.4/test/keyboard' C:/development/msys/1.0/bin/sh.exe ../../libtool --mode=link g++ -g -O2 -Wall -Ic:/progra~1/FreeType/include/freetype2 -Ic:/progra~1/FreeType/include -fno-exceptions -o keyboard.exe keyboard.o main.o -L../../src -lparagui -Lc:/development/mingw//lib -lmingw32 -lSDLmain -lSDL -mwindows -lSDL_image -Lc:/progra~1/FreeType/lib -lfreetype -lgw32c -lz -Wl, -u,address@hidden -lstdc++ -ljpeg libtool: link: warning: library `c:/development/mingw//lib/libSDL.la' was moved. libtool: link: warning: library `c:/development/mingw//lib/libfreetype.la' was moved. libtool: link: warning: library `c:/development/mingw//lib/libSDL.la' was moved. libtool: link: warning: library `c:/development/mingw//lib/libfreetype.la' was moved. g++ -g -O2 -Wall "-Ic:/progra~1/FreeType/include/freetype2" "-Ic:/progra~1/FreeType/include" -fno-exceptions -o keyboard.exe keyboard.o main.o -mwindows -u,address@hidden -Lc:/development/paragui-1.0.4/src c:/development/paragui-1.0.4/src/.libs/libparagui.a -Lc:/development/mingw//lib c:/development/mingw//lib/.libs/libphysfs.a -L/develop/gcc-3.2-mingw/build/mingw32/libstdc++-v3/src -L/develop/gcc-3.2-mingw/build/mingw32/libstdc++-v3/src/.libs -L/develop/gcc-3.2-mingw/build/gcc -L/mingw/mingw32/bin -L/mingw/mingw32/lib -L/mingw/lib/gcc-lib/mingw32/3.2.3 -L/mingw/lib/gcc-lib/mingw32/3.2.3/../../../../mingw32/lib -L/mingw/lib/gcc-lib/mingw32/3.2.3/../../.. -lSDLmain .libs/libimp-SDL.a -lgdi32 -lwinmm -ldxguid -lSDL_image -Lc:/progra~1/FreeType/lib c:/development/mingw//lib/libfreetype.a -lgw32c -lz /mingw/lib/./libstdc++.a -lm -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ljpeg -Wl,--rpath -Wl,c:/development/mingw//lib -Wl,--rpath -Wl,c:/development/mingw//lib c:/development/mingw//lib/libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to address@hidden'
c:\development\MinGW\bin\make.exe[2]: *** [keyboard.exe] Error 1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]