code logs -> 2012 -> Sat, 20 Oct 2012< code.20121019.log - code.20121021.log >
--- Log opened Sat Oct 20 00:00:15 2012
--- Day changed Sat Oct 20 2012
00:00
< iospace>
oh, just redundant code that i felt didn't need to be so ^_^
00:03
< Azash>
Ah
00:03
< Azash>
\o/
00:03
< iospace>
yeah
00:11
< iospace>
though i may just have cuased myself to throw an exception which would be fun :P
00:14
< iospace>
nope, no exception it seems
00:17
< iospace>
ohshit
00:18
< iospace>
past 6 whoops D:
00:18
< iospace>
later all
00:49 Derakon[AFK] is now known as Derakon
00:49 mode/#code [+ao Derakon Derakon] by ChanServ
01:21 ErikMesoy [Erik@Nightstar-5b5b3bc5.80-203-69.nextgentel.com] has joined #code
01:21 ErikMesoy|sleep [Erik@A08927.B4421D.B81A91.464BAB] has quit [Ping timeout: 121 seconds]
01:55 Derakon is now known as Derakon[AFK]
02:08 ErikMesoy [Erik@Nightstar-5b5b3bc5.80-203-69.nextgentel.com] has quit [Client closed the connection]
02:08 ErikMesoy [Erik@A08927.B4421D.F502DB.100539] has joined #code
02:19 * gnolam hmms.
02:28
< gnolam>
Bah.
02:28
< gnolam>
I'll need some proper equipment to debug this.
02:29
< gnolam>
I'm getting an ominous hummmm and no booting.
02:30
< Azash>
Check your case for buddhists
02:31
< gnolam>
That would be an Ommmmmm hum.
03:11 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
03:11 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
03:48 Attilla_ [Obsolete@Nightstar-8d4251a5.as43234.net] has quit [Ping timeout: 121 seconds]
04:02 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
04:06 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
05:52 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:02 Kindamoody[zZz] is now known as Kindamoody
06:11 Nemu_ [NeophoxProd@Nightstar-36a17af1.asahi-net.or.jp] has joined #code
06:11 Nemu [NeophoxProd@Nightstar-36a17af1.asahi-net.or.jp] has quit [Connection reset by peer]
06:12 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
06:13 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
06:13 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:13 mode/#code [+o Syloq] by ChanServ
06:14 Syloq is now known as Syloq_Home
06:24
<@Tamber>
w4
06:24 * Tamber sighs, glares at fingers.
06:40 * syksleep chews off Tamber's fingers. Problem solved!
06:40 syksleep is now known as Syk
06:44
<@Tamber>
Augh!
06:46 AnnoDomini [abudhabi@Nightstar-7e16dc65.adsl.inetia.pl] has quit [Ping timeout: 121 seconds]
06:46 Derakon[AFK] is now known as Derakon
06:47 mode/#code [+ao Derakon Derakon] by ChanServ
06:52 * McMartin finally gets freeglut to work.
06:53 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
06:53
<&McMartin>
I wonder how churlish it would be to start systematically translating the MODERN!!!!!!!! OpenGL tutorial into old, busted, DirectX 9.0c equivalent code. =P
06:55 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
06:56 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
07:14 Derakon is now known as Derakon[AFK]
07:39 Kindamoody is now known as Kindamoody|breakfast
08:06 Kindamoody|breakfast is now known as Kindamoody
09:27 You're now known as TheWatcher
10:20 Kindamoody is now known as Kindamoody|out
10:32 abudhabi [abudhabi@Nightstar-1e924cb2.adsl.inetia.pl] has joined #code
10:33 abudhabi is now known as AnnoDomini
14:02 Attilla [Obsolete@Nightstar-8d4251a5.as43234.net] has joined #code
15:19 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
15:46 Attilla_ [Obsolete@Nightstar-b907d4e9.as43234.net] has joined #code
15:47 Attilla [Obsolete@Nightstar-8d4251a5.as43234.net] has quit [Ping timeout: 121 seconds]
15:50 Attilla_ [Obsolete@Nightstar-b907d4e9.as43234.net] has quit [Ping timeout: 121 seconds]
15:55 Attilla [Obsolete@Nightstar-2c638975.as43234.net] has joined #code
16:22 Syk [the@Nightstar-7d752098.lnk.telstra.net] has quit [[NS] Quit: leaving]
16:23 Syka [the@Nightstar-7d752098.lnk.telstra.net] has joined #code
16:55 Derakon[AFK] is now known as Derakon
17:27 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
17:32 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
18:28 Kindamoody|out is now known as Kindamoody
18:42 Syka is now known as syksleep
19:35 * McMartin grumbles at the OpenGL tutorial
19:35
<&McMartin>
OK, now it's starting to casually use stuff that DX9 cards don't have
19:35
<&McMartin>
However, it's doing so for silly things =P
20:05 Netsplit *.net <-> *.split quits: Attilla, Tarinaky, ToxicFrog
20:09 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
20:09 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
20:12 Attilla [Obsolete@Nightstar-2c638975.as43234.net] has joined #code
21:21 celticminstrel is now known as celmin|away
21:52 Vash [Vash@Nightstar-3ba4108e.wlfrct.sbcglobal.net] has joined #code
21:52 mode/#code [+o Vash] by ChanServ
21:55 Kindamoody is now known as Kindamoody[zZz]
22:59 ErikMesoy is now known as ErikMesoy|sleep
23:06
< AnnoDomini>
I'm trying to compile Vinland Trail on Windows. I've gotten as far as managing to get the libraries to include properly.
23:07
< AnnoDomini>
However, I'm getting the error: "undefined reference to `WinMain@16'"
23:08
< AnnoDomini>
I've googled a bit on it, which tells me that for some reason the program is searching for the wrong kind of main() function, but I'm unsure what to do with that.
23:08
<@Tamber>
"Cry for a bit, then sacrifice a chicken."
23:10
< AnnoDomini>
My main looks like: "int main ( int argc, char** argv )"
23:11
< gnolam>
Link against SDLmain.lib
23:11
< gnolam>
.
23:12
< AnnoDomini>
How?
23:12
< ToxicFrog>
AnnoDomini: the fix for this depends on what build system and libraries you're using.
23:12
< ToxicFrog>
The short form is, you have a command line program that's being linked as a windows GUI program
23:13
< ToxicFrog>
If you're using mingw-gcc, try the -mconsole option
23:13
< AnnoDomini>
Code::Blocks, MinGW32, SDL and a bunch of SDL things.
23:13
< gnolam>
In which case, you're probably linking against SDL.lib, but not SDLmain.lib.
23:14
< gnolam>
TL;DR: Windows actually wants an expanded main prototype. Cross-platform libraries have their own main() redefinitions to get around this.
23:14
< AnnoDomini>
ToxicFrog: That doesn't seem to work.
23:15
< ToxicFrog>
As an SDL program, you should be using gnolam's solution of linking against libsdlmain
23:20
< AnnoDomini>
I'm trying that, but I'm quite unsure what to put where. Do I keep the #include as it is, pointing to SDL.h?
23:21
< AnnoDomini>
Changing the linked library from SDL to SDLmain or SDL_main produces different errors.
23:22
< AnnoDomini>
(A bunch of .o errors and can't find the library, respectively.)
23:23
< AnnoDomini>
I'm guessing SDLmain is the proper name to link. But it spawns errors of the "undefined reference to `SDL_Flip'" sort.
23:23
< ToxicFrog>
You don't change it, you add it
23:24
< ToxicFrog>
You should be linking against SDL and SDLmain and whatever other libraries you need (math, SDL_image, SDL_gfx, etc)
23:24
< AnnoDomini>
This brings me back to undefined reference to WinMain@16.
23:29
<@TheWatcher>
Just to check, what /order/ are you putting them in? ¬¬
23:29
<@TheWatcher>
try putting SDLmain before SDL, ie: -lSDLmain -lSDL
23:29
< AnnoDomini>
I've tried both.
23:29
< AnnoDomini>
Same error.
23:29
<@TheWatcher>
Oh, and trying -mwindows at the end
23:30
< AnnoDomini>
In the linker options?
23:30
<@TheWatcher>
yus
23:30
< AnnoDomini>
No change.
23:32
<@TheWatcher>
Huh. You're also linking mingw32?
23:33
< AnnoDomini>
No. Should I?
23:34
< AnnoDomini>
Linking mingw32 doesn't change the error.
23:37 * AnnoDomini sleeps.
23:44 You're now known as TheWatcher[T-2]
23:56 You're now known as TheWatcher[zZzZ]
--- Log closed Sun Oct 21 00:00:00 2012
code logs -> 2012 -> Sat, 20 Oct 2012< code.20121019.log - code.20121021.log >

[ Latest log file ]