#exult@irc.freenode.net logs for 9 Jun 2002 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:01:51] --> DougW has joined #exult
[00:03:05] <DougW> Hello?
[00:03:50] <matto> ouch
[00:03:51] <matto> you pinged me!
[00:03:54] <DougW> sorry
[00:04:05] <DougW> I must admit...I'm new to IRC...
[00:04:16] <DougW> clciked the wrong button :-(
[00:06:36] <-- DougW has left #exult ()
[00:15:24] --- Darke|afk is now known as Darke
[00:49:07] <-- Fingolfin has left IRC ("42")
[02:59:45] --> Colourless has joined #Exult
[02:59:46] --- ChanServ gives channel operator status to Colourless
[03:00:49] --> Kirben has joined #exult
[03:00:49] --- ChanServ gives channel operator status to Kirben
[04:40:04] <-- Colourless has left IRC ("no comment")
[07:05:35] <Kirben> oops, not all have sstream available.
[07:05:46] <Kirben> jeff just reverted the change.
[07:44:51] --> Kirben2 has joined #exult
[07:44:51] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[08:43:19] <-- Kirben2 has left IRC ("System Meltdown")
[09:12:26] --> Kirben has joined #exult
[09:12:26] --- ChanServ gives channel operator status to Kirben
[09:41:31] --> wjp has joined #exult
[09:41:31] --- ChanServ gives channel operator status to wjp
[09:41:39] <wjp> hi
[09:41:39] <Darke> Hi.
[10:01:00] <matto> hi :)
[10:42:49] --> sb-x has joined #exult
[10:42:54] <sb-x> Ahoy hoy.
[10:42:59] <wjp> hi
[10:43:46] <sb-x> happy yesterday birthday wjp
[10:44:15] <wjp> today, actually :-)
[10:44:23] <wjp> thanks :-)
[10:44:55] <sb-x> oh, i was gonna suggest you put a "Yesterday" link on exultbot's log page to celebrate
[10:45:22] <sb-x> but.. if you dont want to thats ok:)
[10:49:45] <sb-x> im going to play crusader
[10:49:51] <-- sb-x has left IRC ("X-Chat [1.6.4]")
[10:53:16] <Darke> Since everyone else is saying it. *grin* Happy Birthday wjp!
[10:53:24] <wjp> thanks :-)
[10:55:30] * Darke waits for sb-x to return from playing crusader and put up a forum entry saying 'Happy Birthday wjp!'. *grin*
[10:57:54] * wjp grants sb-x' wish
[10:58:13] * wjp points at the new 'Yesterday' link in exultbot's logs
[10:58:31] <wjp> brb, family stuff :-)
[10:58:40] <Darke> Bye! Have fun! *grin*
[11:39:09] <Kirben> Happy Birthday, WJP!
[11:47:12] <wjp> thanks :-)
[11:48:00] <wjp> hm, I'm going to replace my CPU fan.. it's making some kind of howling noise... :-)
[11:48:04] <wjp> I'll bbl hopefully :-)
[11:48:08] <-- wjp has left IRC ("bbl")
[12:08:43] --- Darke is now known as Darke|afk
[13:40:24] --> wjp has joined #exult
[13:40:24] --- ChanServ gives channel operator status to wjp
[13:40:26] <wjp> hi again
[14:38:53] <-- Kirben has left IRC ("System Meltdown")
[15:43:54] --> Colourless has joined #Exult
[15:43:54] --- ChanServ gives channel operator status to Colourless
[15:44:07] <Colourless> hi
[15:49:07] <wjp> hi
[16:01:13] <wjp> more family stuff... I'll bbl
[16:01:24] <Colourless> k, cya
[16:23:19] --> Cless has joined #Exult
[16:23:53] <-- Colourless has left IRC (Killed (NickServ (Ghost: Cless!Cless@ppp921.adelaide.on.net.au)))
[16:23:56] --- Cless is now known as Colourless
[16:23:57] --- ChanServ gives channel operator status to Colourless
[16:28:45] --> Cless has joined #Exult
[16:28:46] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[16:28:51] --- Cless is now known as Colourless
[16:28:57] --- ChanServ gives channel operator status to Colourless
[17:03:28] --> Cless has joined #Exult
[17:03:54] <-- Colourless has left IRC (Killed (NickServ (Ghost: Cless!Cless@ppp1523.adelaide.on.net.au)))
[17:03:54] --- Cless is now known as Colourless
[17:03:56] --- ChanServ gives channel operator status to Colourless
[17:04:10] <Colourless> what i wouldn't do to have an UPS right now...
[17:04:45] <wjp> power failures?
[17:04:56] <Colourless> yep
[17:05:05] <Colourless> 4 tonight lasting about 20 seconds
[17:05:14] <wjp> :/
[17:05:22] <wjp> ugh, that must be very annoying
[17:05:56] <Colourless> yeah it is.
[17:18:16] --- wjp is now known as wjp|dinner
[17:38:26] --> bj0ern has joined #exult
[17:38:30] <bj0ern> hiya
[17:39:30] <Colourless> hi
[17:39:50] <bj0ern> is anyone here able to give a hint on how to get rid of this "unresolved external symbol _SDL_main" in VC++6 when using SDL? I tried everything i could find on the net, nothing works
[17:40:46] * Colourless looks around... looks at his copy of msvc and decides to remain quite... no, there is no what he know what could be the problem... no way at all
[17:40:51] <Colourless> :-)
[17:41:01] <Colourless> are you linking to sdl_main.lib ?
[17:41:51] <bj0ern> i tried to add it, yes, and it is added to the project too
[17:42:13] <bj0ern> i mean to add it to the list of libs in the preferences settings
[17:42:29] <Colourless> sdlmain.lib i mean
[17:42:38] <bj0ern> yep
[17:43:52] <bj0ern> the SDL mailinglist archives say there has to be an int main(int, char**).. not an int main() .. but thats not the case for me, i couldn't find anything else on this topic
[17:44:00] <Colourless> hmm, is your main func:
[17:44:01] <Colourless> int main(int argc, char *argv[])
[17:44:03] <Colourless> or is it
[17:44:06] <Colourless> int main()
[17:44:11] <bj0ern> first one
[17:44:17] <Colourless> hmm, strange
[17:44:31] <bj0ern> copied the start source from the VisualC.html that comes with the SDL dev package
[17:44:48] <bj0ern> and did everything thats written down in this paper
[17:44:49] <Colourless> it complaining about no _SDL_main or no _SDL_main@16
[17:45:02] <bj0ern> _SDL_main
[17:45:16] <bj0ern> Linking...
[17:45:16] <bj0ern> sdlmain.lib(SDL_main.obj) : error LNK2001: unresolved external symbol _SDL_main
[17:45:38] <Colourless> so, it's complaining in the library...
[17:45:48] <Colourless> did you compile the libs yourself?
[17:45:51] <bj0ern> strange thing. i know that it worked like 1 year ago when i tried some OpenGL stuff with SDL
[17:45:56] <bj0ern> nope
[17:47:04] <bj0ern> wait, the .dll is just needed at runtime?
[17:47:18] <Colourless> yeah only runtime. why?
[17:47:25] <bj0ern> ah, ok
[17:48:00] <Colourless> linking to SDL.lib will link to SDL.dll
[17:48:28] <bj0ern> k. was just wondering why WIN32 needs a .lib and a .dll
[17:48:54] <Colourless> the dll is a Dynamic Link Library
[17:49:03] <bj0ern> i know
[17:49:07] <Colourless> you don't link to a dll. the lib links to the dll
[17:49:13] <bj0ern> ah ok
[17:49:34] <Colourless> basically the lib contains info to tell the linker that a particular function is inside a particular dll
[17:51:16] <bj0ern> still strange
[17:51:47] <Colourless> sounds to me like your sdlmain.lib is bad
[17:52:48] <bj0ern> ok, i will try an older release
[17:54:56] <bj0ern> oh, there is an SDL channel on openprojects.. i will ask there =) thanks for the help =)
[17:55:07] <Colourless> :-)
[18:25:06] <bj0ern> got it
[18:25:10] <bj0ern> on my own :)
[18:25:16] <bj0ern> well, sort of
[18:25:24] <bj0ern> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/LNK2001.asp
[18:25:29] <bj0ern> this is the way to go
[18:25:53] <bj0ern> good source of information, didn't know that M$ is providing such stuff
[18:26:13] <Colourless> you didn't know about the MSDN library?
[18:26:26] <bj0ern> the 3rd paragraph under "coding problems" was the problem
[18:26:52] <bj0ern> i knew that there is such stuff, but i didnt know that it has comprehensive information about every possible error
[18:27:16] <Colourless> you inlined?
[18:27:26] <bj0ern> and the MSDN Library CD i have here was pretty useless from what i saw.. couldn't find anything there
[18:27:58] <bj0ern> well, i had no header file. so main was declared AFTER the SDL macro
[18:28:11] <Colourless> that could be a problem
[18:28:28] <Colourless> :-)
[18:28:31] <bj0ern> it links now
[18:28:56] <bj0ern> well, this means that i can use 1.2.4 of SDL.. i have like 1.0.8 installed now
[18:29:09] <Colourless> you need to #include <SDL.h> in the file that contains int main(int argc, char *argv[])
[18:30:10] <Colourless> are you using MSVC6.0 or MSVC.NET
[18:30:12] <bj0ern> i know, but the problem was that you have to give a definition of main BEFORE the SDL.h stuff, so i have to #include "main.h" and THEN "sdl.h"
[18:30:18] <bj0ern> 6.0
[18:30:34] <Colourless> you shouldn't have too
[18:30:51] <bj0ern> but its working now that i've done that
[18:31:09] <bj0ern> but, after all, VC is really strange
[18:31:16] <Colourless> not really :-)
[18:31:22] <bj0ern> ohhhhh yes it is
[18:31:28] <Colourless> oh, no it's not
[18:31:36] <bj0ern> for me it is ;)
[18:31:47] <Colourless> well, what compiler do you normally use?
[18:31:51] <bj0ern> g++
[18:32:00] <Colourless> you see, there's your problem ;-)
[18:32:10] <bj0ern> hehe
[18:32:29] <Colourless> msvc's main problem is just that it's not completely standards complient
[18:32:59] <bj0ern> i heard MS needs 3 years to apply a new standard. thats ridicoulous (sp?)
[18:33:08] <Colourless> MSVC.NET fixes many of the standards problems
[18:33:41] <Colourless> ms does things when they feel they need to
[18:34:40] <bj0ern> how much does VC.net cost?
[18:34:52] <Colourless> one of their problems i beleive is just that their previous products were not standards conforming, so making a revision standards conforming will tend to break things badly... and will then kind of convince people not to upgrade
[18:35:50] <Colourless> no idea about the costs. i'm guessing the standard 'lots'
[18:37:24] <bj0ern> 139 Euros.. thats cheap
[18:38:07] <Colourless> what's the 'condition'
[18:38:08] <bj0ern> oh wait, thats 6.0 ;)
[18:38:32] <bj0ern> no .net version there
[18:39:07] <Colourless> all of the cheep versions of msvc have certain restirctions... such as the optimizer is disabled
[18:39:25] <bj0ern> yeah, that was the standard edition of VC6
[18:39:47] <Colourless> enterprise is the only one with the optimizer
[18:40:07] <Colourless> enterprise is 'real' expensive :-)
[18:40:37] <bj0ern> i see it.. over 2000 Euros
[18:41:00] <bj0ern> c++.net standard edition 139 Euros
[18:41:13] <bj0ern> well, hm
[18:44:10] <Colourless> hmm, maybe professional has the optimizer as well... it's real expensive too... just not 'real' expensive ;-)
[18:47:24] <Colourless> yep, professional has it too
[18:48:02] --- wjp|dinner is now known as wjp
[18:48:20] <Colourless> standard does not: http://msdn.microsoft.com/visualc/howtobuy/choosing.asp
[18:53:42] <bj0ern> ok, looking
[18:59:33] <bj0ern> well, except for the optimization part the standard edition would be ok
[19:28:26] <-- Colourless has left IRC ("time for me to leave #exult once again")
[21:10:21] --- Darke|afk is now known as Darke
[21:13:05] <wjp> morning
[21:14:10] <Darke> Morning. *grin* Or rather probably 'evening' for you, unless it's _really_ late.
[21:14:42] <wjp> nah, not evening midnight yet
[21:15:32] <wjp> ugh
[21:15:38] <wjp> s/evening/even/
[21:15:52] <wjp> but apparently it's really late already, if I'm making typos like that :-)
[21:16:51] * Darke laughs.
[21:56:37] --- Darke is now known as Darke|afk
[22:26:33] --- Darke|afk is now known as Darke
[22:32:01] <matto> I think the "professional" edition does optimizations .. but not for any new cpu's
[23:37:38] <wjp> I should go
[23:37:40] <wjp> g'night
[23:37:46] <-- wjp has left IRC ("Zzzz...")
[23:54:03] <-- Darke has left IRC (herbert.openprojects.net irc.openprojects.net)
[23:54:03] <-- matto has left IRC (herbert.openprojects.net irc.openprojects.net)
[23:54:03] <-- bj0ern has left IRC (herbert.openprojects.net irc.openprojects.net)
[23:54:52] --> Darke has joined #exult
[23:54:52] --> bj0ern has joined #exult
[23:54:52] --> matto has joined #exult