#pentagram@irc.freenode.net logs for 8 Jan 2004 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:49:15] --> Fingolfin has joined #pentagram
[00:49:15] --- ChanServ gives channel operator status to Fingolfin
[02:24:39] <-- shinji-kun has left IRC (""Baka!" - Asuka-chan")
[02:53:39] --> Spawny has joined #pentagram
[02:53:46] <-- Spawny has left #pentagram ()
[03:05:48] --> watt has joined #pentagram
[03:42:50] <-- Fingolfin has left IRC ("42")
[05:03:24] --> Cashman has joined #pentagram
[05:10:18] <-- Cashman has left IRC ()
[07:12:32] --> Knight has joined #pentagram
[08:04:06] --> SB-X has joined #pentagram
[11:21:02] * watt can't sleep.. time to pour coffee and code.. yeehaa.
[11:36:57] --> servus has joined #pentagram
[12:09:11] --> Colourless has joined #Pentagram
[12:09:15] --- ChanServ gives channel operator status to Colourless
[12:10:23] <Colourless> hi
[12:11:20] <servus> Hlothere
[12:23:05] <-- Kirben has left IRC ("System Meltdown")
[12:25:53] --> Kirben has joined #pentagram
[12:25:53] --- ChanServ gives channel operator status to Kirben
[13:12:24] <watt> YES! Mouse bindings successful.. tee hee
[13:14:49] * watt dances around like a giddy little school girl
[13:15:31] * Darke dances around like a bunny version of Snoopy.
[13:18:25] * servus sits in the corner, watching everybody go nutzo
[13:30:48] <watt> yay.. it works for my additional buttons on my mouse too!
[13:34:26] --> Nadir has joined #pentagram
[13:43:30] * watt forgot to cvs up before starting.. whoops.
[13:46:27] <watt> but everything is still in order.. time to make another patch.
[13:59:29] <watt> crap. my 2 current patches slightly depend on each other.
[14:03:55] <watt> well.. I think I can hack the diff slightly to make it work right...
[14:08:49] <-- Nadir has left IRC (sterling.freenode.net irc.freenode.net)
[14:12:27] <watt> oh.. I see why it's doing it....... hmm.. well, I think a dependency on the other patch may be called for here.
[14:21:08] * Darke makes everything recursively depend upon watt
[14:22:29] <watt> ouch. I don't think my internal CPU can handle that.
[14:23:22] <watt> well.. I guess the patch is up.. arg! just those 2 lines of code taunting me.
[14:24:13] <watt> you guys like case insensitive XML keys, right? Heh?
[14:36:41] <Colourless> case sensitive is evil!
[14:36:59] <Colourless> while us programmer types may understand, it causes havoc for end users
[14:40:59] <watt> well. I guess you'll like that XML patch then.. I hope.
[14:41:20] <Colourless> you'd hope so :-)
[14:48:13] <-- SB-X has left IRC ("ZZzZzz")
[15:09:14] --> wjp has joined #pentagram
[15:09:15] --- ChanServ gives channel operator status to wjp
[15:09:19] <Colourless> hi
[15:09:25] <wjp> hi
[15:10:52] <wjp> watt: I'll look at your patches tonight
[15:11:10] <wjp> case-insensitive config keys sounds good
[15:13:39] <wjp> (cleanup does too, but that takes a closer look ;-) )
[15:52:12] <-- wjp has left IRC ("Lost terminal")
[16:55:31] --> wjp has joined #pentagram
[16:55:31] --- ChanServ gives channel operator status to wjp
[17:29:17] <wjp> watt: I just applied the xml/istring patch. Thanks :-)
[17:36:10] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[17:41:39] <watt> ^_^
[17:42:13] <watt> I'm soo about to fall asleep.. but I only need to stay awake 4 more hours.
[17:43:32] <watt> I also think I chose the wrong music for staying awake.. too mellow
[17:56:35] <Knight> lol
[18:10:30] <Knight> hey watt
[18:10:32] <Knight> you there?
[18:14:57] <watt> oh yup.. just aiming with the locals..
[18:15:02] <watt> what's up?
[18:15:18] <Knight> you know c/c++ right?
[18:15:37] <watt> right. Link error still?
[18:15:50] <Knight> yup
[18:16:06] <Knight> it some c program that makes uses of the opengl library
[18:16:20] <Knight> but i don't know why it doesn't build
[18:16:32] <Knight> well.. i do, but can't find the error
[18:16:33] <watt> I'll play friendly.. what headers does it include.
[18:16:46] <Knight> i can send it to you
[18:16:49] <Knight> not many files
[18:16:52] <Knight> 4 or so..
[18:17:04] <Knight> for use with dev-c++
[18:17:18] <watt> in C++ many libraries can automagically link to libraries.. where in C it's all manual
[18:18:10] <Knight> I c..
[18:18:23] <Knight> well it has all the headers needed included i think
[18:18:34] <Knight> can i send it to you and you give it a look
[18:18:38] <watt> Ok.
[18:18:40] <Knight> ;)
[18:18:42] <Knight> thanks
[18:19:33] <Colourless> if you have a linking error, make sure you are linking to your opengl library file
[18:19:40] <watt> bingo.
[18:20:03] <watt> compiling for linux? or Other?
[18:20:10] <Knight> win
[18:20:39] <Knight> I didn't make the code..
[18:20:53] <Knight> some messy code from sourceforge
[18:21:00] <Colourless> ok make sure you are linking to opengl32.lib
[18:21:02] <Knight> but if it runs ogl then welcome
[18:21:17] <Knight> tried.. couldn't make it work.. =(
[18:21:46] <Colourless> well, unless you give us more info we can't exactly help you any further
[18:21:52] <Colourless> what is it's exact error
[18:21:57] <Knight> i've sent watt the code
[18:22:15] <wjp> if it's on SF, which project is it?
[18:22:43] <Knight> let me check again
[18:22:52] <wjp> and what is the exact error that you got?
[18:26:11] <Knight> http://sourceforge.net/projects/ff3dengine/
[18:28:59] <Knight> [Linker error] undefined reference to `glViewport@16'
[18:29:07] <Knight> and i got like 40 more of that ones
[18:29:29] <Colourless> then you aren't liking to opengl32.lib
[18:29:46] <Colourless> s/liking/linking/
[18:30:47] <Knight> this are the includes..
[18:30:48] <Knight> #include <gl\gl.h> // Header File For The OpenGL32 Library
[18:30:48] <Knight> #include <gl\glu.h>
[18:30:56] <Colourless> it's got nothing to do with includes
[18:30:58] <wjp> includes aren't relevant
[18:31:15] <Knight> how do i make it link then/
[18:31:37] <Colourless> somewhere in your project options you should have something that will allow you to set what libraries to link to
[18:31:59] <Colourless> i'm guessing none of us here have used dev-c++ so you'll be on your own finding it
[18:32:59] <Knight> should i pass the command to the linker or the compiler?
[18:33:17] <Colourless> libraries are a linker option
[18:33:20] <watt> linker.
[18:33:59] <Knight> nmmm better now..
[18:34:19] <Knight> have only 2 linker errors :D
[18:34:49] <wjp> and they are?
[18:35:19] <watt> opengl32.lib and glu32.lib right?
[18:35:50] <Colourless> yeah glu32.lib would be needed too
[18:36:01] <Knight> yup..
[18:36:09] <Knight> well.. now my linker error is this..
[18:36:14] <Knight> [Linker error] undefined reference to `PlaySoundA@12'
[18:36:27] <Knight> any idea what's playsound ?
[18:36:27] <Colourless> link to winmm.lib
[18:36:32] <watt> the code has #pragma's that usually can take care of things.. gmm.
[18:37:11] <Knight> thanks
[18:37:14] <Knight> it compiled :D
[18:37:24] <wjp> no, it linked. It already compiled.
[18:37:27] <wjp> ;-)
[18:37:28] <Knight> lol
[18:37:29] <Knight> true
[18:37:36] <Colourless> hah hah
[18:37:44] <Knight> now i have to find the damn files it loads
[18:38:52] <watt> nowadays many people get confused between compiling and linking simply because the compiler typically can link for you as well.
[18:42:04] <watt> about 3/4 of the people at my university would confuse the two
[18:42:38] <Colourless> you're talking about a university. Even the lecturers probably confused the two :-)
[18:42:49] <watt> some.
[18:43:01] <watt> I could name a few.
[18:43:23] <Colourless> which is just sad
[18:44:15] <watt> yeah.
[18:45:10] <watt> I still say that what I can do now I should have learned by my 2nd year.
[19:04:50] <Knight> lol
[19:20:41] <-- Colourless has left IRC ("casts invisibility")
[20:06:42] --> Fingolfin has joined #pentagram
[20:06:42] --- ChanServ gives channel operator status to Fingolfin
[20:16:13] <wjp> hi Max
[20:20:34] <Fingolfin> hi
[21:53:52] --> Cashman has joined #pentagram
[21:54:28] <Cashman> Colourless, wjp darke, watt etc. does that knight falla still need help with compiling under dev c++
[21:54:39] <Cashman> [18:31:59] <Colourless> i'm guessing none of us here have used dev-c++ so you'll be on your own finding it
[21:55:17] <Cashman> colourless cant remember but surely u wjp and darke remember that I use to compile pentagram and opengl demos etc. under dev all the time
[21:55:49] <Cashman> :-)
[22:01:44] <wjp> if you read the logs you probably also read the problem has already been solved
[22:05:38] <Cashman> ok, down the bottom I guess - must have skipped that part
[22:08:43] <Cashman> bye
[22:08:48] <Cashman> :-)
[22:08:48] <-- Cashman has left IRC ()
[22:31:24] <Knight> mmm..
[22:31:36] <Knight> what do you guys use?
[22:31:43] <Knight> for programming win stuff
[22:32:03] * wjp doesn't program windows stuff :-)
[22:32:33] * wjp looks around the channel
[22:32:47] <wjp> most here don't use windows
[22:32:56] <Knight> lol.. and how come there is a windows port :p
[22:33:10] <wjp> Colourless does use windows
[22:33:43] <wjp> it's not really a "port", though; pentagram is pretty much fully cross-platform
[22:34:15] <wjp> (there are some windows or linux specific bits of course, but not that many)
[22:34:22] <Knight> cool
[22:34:39] <Knight> pure ansi and use of sdl i suppose then right?
[22:36:46] <wjp> pretty much
[22:37:33] <Knight> cool
[22:45:37] <-- Fingolfin has left IRC ("42")
[23:23:04] <-- wjp has left IRC ("Zzzz...")