#exult@irc.freenode.net logs for 12 May 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:10:12] <-- chimera|wookin has left IRC (So many rubes in this world who need to be dealt with ... and I don't have time to do the dealing. http://www.rubecity.com)
[00:10:15] --> chimera|wookin has joined #exult
[00:26:02] --> Kirben has joined #exult
[01:11:29] --> matt0 has joined #exult
[02:03:27] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: EOF from client)
[02:03:59] --> matt0 has joined #exult
[02:04:46] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: EOF from client)
[02:05:24] --> matt0 has joined #exult
[02:06:22] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: EOF from client)
[02:17:01] --> matt0 has joined #exult
[02:18:02] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[05:25:57] --> matt0 has joined #exult
[05:41:00] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: EOF from client)
[05:41:33] --> matt0 has joined #exult
[05:48:48] <-- matt0 has left IRC (Ping timeout for matt0[1667079149-yippy.dsl.xmission.com])
[05:49:58] --> matt0 has joined #exult
[05:55:15] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[06:02:32] --> matt0 has joined #exult
[06:49:43] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: EOF from client)
[08:12:18] --> matt0 has joined #exult
[08:22:36] <-- matt0 has left IRC (Ping timeout for matt0[1667079149-yippy.dsl.xmission.com])
[08:40:09] --> wjp has joined #exult
[09:20:50] --> matt0 has joined #exult
[09:48:57] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[10:23:51] <Kirben> Is libtoolsize part of libtool ?
[10:25:07] <Kirben> nevermind
[10:25:36] <wjp> libtoolize? yeah, but I guess you already found out :-)
[10:25:40] <Kirben> I'm experimenting to see if autogen will work on cygwin
[10:25:51] <wjp> it should
[10:26:03] <wjp> I got it to work, except the resulting binary wouldn't run :/
[10:26:39] <Kirben> How long ago did you try ?
[10:26:48] <wjp> hmm, a few months I think
[10:27:18] <Kirben> been a lot of progress on cygwin and sdl since then so should hopefully work better now
[10:27:56] <Kirben> Just installed libtool 1.4, still compiling sdl 1.2.1cvs
[10:29:23] <wjp> is compiling with configure & libtool really slow for you too?
[10:29:29] <wjp> (in cygwin, that is)
[10:30:29] <Kirben> Sometimes seems slow with configure, Cygwin has been known to get slower over last few updates
[10:33:47] <Kirben> any of these warnings serious:
[10:33:48] <Kirben> unknown@CO3007967-A c:/exult
[10:33:48] <Kirben> $ ./autogen.sh
[10:33:48] <Kirben> You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
[10:33:48] <Kirben> aclocal: configure.in: 134: macro `AM_DISABLE_SHARED' not found in library
[10:33:48] <Kirben> aclocal: configure.in: 136: macro `AM_PROG_LIBTOOL' not found in library
[10:33:50] <Kirben> automake: configure.in: installing `./install-sh'
[10:33:52] <Kirben> automake: configure.in: installing `./mkinstalldirs'
[10:33:54] <Kirben> automake: configure.in: installing `./missing'
[10:33:56] <Kirben> configure.in: 136: required file `./ltconfig' not found
[10:37:20] <wjp> yeah, I got that too
[10:38:17] <wjp> I think it was caused by automake installing things in the wrong dir
[10:38:59] <wjp> or maybe libtool
[10:39:10] <wjp> where did libtool.m4 get installed?
[10:40:19] <Kirben> C:\cygwin\usr\local\share\aclocal
[10:40:53] <Kirben> Configure doesn't get far either:
[10:40:54] <Kirben> unknown@CO3007967-A c:/exult
[10:40:55] <Kirben> $ ./autogen.sh
[10:40:55] <Kirben> You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
[10:40:55] <Kirben> aclocal: configure.in: 134: macro `AM_DISABLE_SHARED' not found in library
[10:40:55] <Kirben> aclocal: configure.in: 136: macro `AM_PROG_LIBTOOL' not found in library
[10:40:56] <Kirben> automake: configure.in: installing `./install-sh'
[10:40:58] <Kirben> automake: configure.in: installing `./mkinstalldirs'
[10:41:00] <Kirben> automake: configure.in: installing `./missing'
[10:41:02] <Kirben> configure.in: 136: required file `./ltconfig' not found
[10:41:04] <Kirben> oops
[10:41:09] <Kirben> unknown@CO3007967-A c:/exult
[10:41:09] <Kirben> $ ./configure
[10:41:10] <Kirben> creating cache ./config.cache
[10:41:12] <Kirben> checking host system type... i586-pc-cygwin
[10:41:14] <Kirben> checking build system type... i586-pc-cygwin
[10:41:16] <Kirben> ./configure: 638: Syntax error: word unexpected (expecting ")")
[10:41:33] <wjp> moving libtool.m4 to /usr/share/aclocal should work
[10:44:46] <Kirben> ok down to this now:
[10:44:46] <Kirben> unknown@CO3007967-A c:/exult
[10:44:46] <Kirben> $ ./autogen.sh
[10:44:46] <Kirben> You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
[10:44:46] <Kirben> automake: configure.in: installing `./install-sh'
[10:44:46] <Kirben> automake: configure.in: installing `./mkinstalldirs'
[10:44:48] <Kirben> automake: configure.in: installing `./missing'
[10:44:50] <Kirben> configure.in: 136: required file `./ltconfig' not found
[10:45:25] <Kirben> configure is working this time
[10:47:37] <wjp> hmm, I have a ltconfig file in my exult directory. I wonder what program created it
[10:48:19] <Kirben> hmm seems part of libtool too
[10:48:28] <Kirben> http://www.delorie.com/gnu/docs/libtool/libtool_26.html
[10:49:07] <Kirben> configure done, attempting a compile
[10:50:29] <Kirben> Compile failed due to no auto kudge for mingw
[10:50:48] <Kirben> The old `snprintf' undeclared (first use this function)
[10:50:51] <Kirben> error
[10:57:57] <Kirben> Another odd point is it include mingw includes but not mingw compiler switch:
[10:57:58] <Kirben> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../conf -I./../.. -I./.. -I./../../files -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -DWIN32 -O2 -Wno-long-long -I../../conf -I../../files --pedantic -Wp,-MD,.deps/win_MCI.pp -c win_MCI.cc -o win_MCI.o
[11:02:50] <wjp> that'll probably require a configure.in hack :/
[11:05:12] <Kirben> ok in meantime where should I add -include mingw_kludges.h to makefile ?
[11:05:41] <Kirben> mingw includes are been added by sdl
[11:07:00] <Kirben> So next time *.in files are altered might as well change cygwin build to use -mno-cygwin
[11:07:08] <wjp> one really really really ugly way to temporarily fix it would be replacing the "-DWIN32" by "-DWIN32 -include ...." in the cygwin section of configure.in (around line 60)
[11:08:11] <Kirben> Yes that should do it
[11:08:31] <wjp> don't tell anyone I suggested that ;-)
[11:09:27] <wjp> a cleaner way would probably be adding the line: CPPFLAGS="$CPPFLAGS -include ..." to that section
[11:10:16] <wjp> umm, no, CXXFLAGS, sorry
[11:10:35] <wjp> (both times)
[11:13:35] <wjp> it's too hot in here :/
[11:29:22] <Kirben> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../conf -I./../.. -I./.. -I./../../files -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -DWIN32 -include mingw_kludges.h -O2 -Wno-long-long -I../../conf -I../../files --pedantic -Wp,-MD,.deps/KMIDI.pp -c KMIDI.cc -o KMIDI.o
[11:29:23] <Kirben> cpp0.exe: mingw_kludges.h: No such file or directory
[11:32:27] <wjp> how strange
[11:33:37] <wjp> you could try using CPPFLAGS after all
[11:33:54] <wjp> -include is technically a preprocessor option... (PP = preprocessor)
[11:37:30] <wjp> (btw, you can add the -mno-cygwin to that line too)
[11:40:52] <Kirben> so change it to this:
[11:40:54] <Kirben> cygwin* ) WINDOWING_SYSTEM="-DWIN32" CPPFLAGS=-mno-cygwin -include mingw_kludges.h cat >> confdefs.h <<\EOF
[11:41:24] <Kirben> cygwin* )
[11:41:24] <Kirben> WINDOWING_SYSTEM="-DWIN32"
[11:41:24] <Kirben> CPPFLAGS=-mno-cygwin -include mingw_kludges.h
[11:41:24] <Kirben> cat >> confdefs.h <<\EOF
[11:41:26] <Kirben> ?
[11:41:47] <wjp> ?? where is that?
[11:42:43] <wjp> in configure itself?
[11:42:54] <Kirben> yes
[11:43:02] <wjp> you should be editing configure.in
[11:43:11] <Kirben> ok
[11:43:16] <wjp> configure is generated from that
[11:43:56] <wjp> CPPFLAGS="$CPPFLAGS -mno-cygwin -include mingw_kludges.h"
[11:45:45] <Kirben> ok so this:
[11:45:46] <Kirben> cygwin* )
[11:45:46] <Kirben> WINDOWING_SYSTEM="-DWIN32"
[11:45:46] <Kirben> CPPFLAGS="$CPPFLAGS -mno-cygwin -include mingw_kludges.h"
[11:45:46] <Kirben> AC_DEFINE(CYGWIN)
[11:45:46] <Kirben> AC_MSG_RESULT(Win32 (cygwin))
[11:45:48] <Kirben> EXE_TARGET="exult.exe"
[11:45:50] <Kirben> SYSLIBS="-lwinmm"
[11:45:52] <Kirben> ICON_FILE="win32/exultico.o"
[11:45:54] <Kirben> enable_kmid="no"
[11:45:54] <wjp> yeah
[11:45:56] <Kirben> enable_timidity="no"
[11:46:00] <Kirben> ?
[11:46:36] <Kirben> Should I change SYSLIBS to ="-lwinmm -lstdc++" now too since it will end up been mingw compile ?
[11:46:58] <wjp> if you need -lstdc++, yes
[11:52:57] <Kirben> odd, now configure detects mingw instead of cygwin
[11:53:27] <wjp> what does it report as "build system type" ?
[11:53:50] <wjp> and did you run autogen.sh after editing configure.in?
[11:53:58] <Kirben> creating cache ./config.cache
[11:53:58] <Kirben> checking host system type... i586-pc-cygwin
[11:53:58] <Kirben> checking build system type... i586-pc-cygwin
[11:54:08] <Kirben> yes
[11:54:34] <wjp> could you dcc configure.in?
[11:54:45] <Kirben> checking for Cygwin environment... no
[11:54:45] <Kirben> checking for mingw32 environment... yes
[11:54:47] <Kirben> ok
[11:55:06] <wjp> oh, wait a sec
[11:55:20] <wjp> does it still report Win32 (cygwin) for windowing system?
[11:55:41] <Kirben> yes:
[11:55:42] <Kirben> checking windowing system... Win32 (cygwin)
[11:55:47] <wjp> ok, never mind then
[11:56:02] <Kirben> Strange other part doesn't detect it though
[11:56:15] <wjp> I think it's libtool reacting to the -mno-cygwin
[11:56:26] <wjp> should be ok
[12:23:35] <Kirben> darn same error
[12:24:03] <Kirben> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../conf -I./../.. -I./.. -I./../../files -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -DWIN32 -O2 -Wno-long-long -mno-cygwin -include mingw_kludges.h -I../../conf -I../../files -mno-cygwin -include mingw_kludges.h --pedantic -Wp,-MD,.deps/KMIDI.pp -c KMIDI.cc
[12:24:03] <Kirben> cpp0.exe: mingw_kludges.h: No such file or directory
[12:25:44] <wjp> is cygwin case-sensitive?
[12:26:11] <Kirben> I think so
[12:26:39] <Kirben> but the case is all correct
[12:27:27] <wjp> any idea why it specifies -include ... twice?
[12:28:26] <Kirben> maybe its using a combined cygwin and mingw config ?
[12:31:20] <wjp> what do you mean?
[12:33:36] <Kirben> I mean maybe configure used CPPFLAGS from both cygwin and mingw sections
[12:46:38] <wjp> oh, I think I see why... in audio/midi_drivers/Makefile.am CPPFLAGS is added to INCLUDES
[13:27:38] <wjp> rebooting to windows... brb
[13:27:42] <-- wjp has left IRC (rebooting)
[13:30:53] --> wjp has joined #exult
[13:37:18] <Kirben> night
[13:37:35] <-- Kirben has left IRC (Sleep)
[14:10:33] <-- wjp has left IRC (Leaving)
[14:47:58] --> Dominus has joined #Exult
[14:48:09] <-- Dominus has left IRC ()
[16:17:48] --> sikor_sxe has joined #exult
[16:54:58] <sikor_sxe> chimera|wookin: awake?
[17:03:08] <-- sikor_sxe has left IRC (Client Exiting)
[17:13:12] --> Colourless has joined #Exult
[20:03:14] --> Blackthorn has joined #exult
[20:03:20] <-- Blackthorn has left IRC ()
[20:41:57] --> wjp has joined #exult
[20:42:06] <wjp> hi
[20:42:11] <Colourless> hi
[20:42:28] * wjp is taking a shot at writing a U7 shape Photoshop plugin
[20:43:08] <Colourless> that should be useful
[20:43:25] <wjp> yeah, that's what I thought
[20:44:08] <wjp> looks like it won't be easy, though :/
[20:56:58] <wjp> argh... I really need some getting used to VC++ :-)
[20:57:15] <Colourless> what's your problem with it?
[20:57:28] <wjp> generally finding my way around
[20:57:41] <Colourless> ah
[20:57:56] <wjp> I took me a few minutes just to add an include directory :-)
[20:58:01] <wjp> s/I/it/
[21:27:44] <wjp> bah, this sample plugin has a really unfinished feel to it
[21:28:50] <wjp> tons of 'foo's and 'bar's, wrong comments at top of files
[21:29:17] <Colourless> that's got to be a little annoying
[21:29:34] <wjp> a little, yes ;-)
[21:30:50] <wjp> I think I got the basic idea on how to read/write a single-layered image
[21:31:03] <wjp> still need to figure out multiple-layers
[21:34:45] <wjp> oh great, this function has comments straight from another (completely unrelated) plugin
[21:36:28] * wjp complains some more about this hopeless SDK :-)
[21:37:12] <Colourless> :)
[21:38:49] <wjp> maybe I should try to locate a well-written open-sourced photoshop format plugin
[21:39:05] <wjp> unfortunately format plugins are rare :/
[21:39:19] <wjp> (since most file formats are supported directly)
[21:49:34] --> Blackthorn has joined #exult
[21:49:39] <-- Blackthorn has left IRC ()
[23:26:16] <wjp> god this code is ugly
[23:26:31] <wjp> it depends on binary layout of nearly every structure
[23:38:10] <Colourless> bed time for me
[23:38:14] <-- Colourless has left IRC (to be)