| |
| |
| |
|
Page: 1 2
Comments:
<0> I'm not sure what I"m doing wrong here http://rafb.net/paste/results/AUL9hX89.html <0> when I go image to screen, it works <0> so the problem has to be in that method. <0> function I mean <1> why aren't my SDL libs being installed ? <1> i install SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel and i have no sdl libs.. <1> any ideas ? <1> this is getting really annoying <1> awesome thankks for the (not) help. <1> -__ <1> :| <2> is there any way to use sdl+opengl+aalib? <0> not sure <3> sparr: yes but it would be really slow to try it out-of-the-box. what you'll want to do is get balls-deep into AALib sourcecode. AALib can run in X as opposed to in a text-mode environment like a terminal. So it's just a matter of finding its X routines and replacing them with SDL routines. <3> sparr: actually what am i thinking. aalib also provides general-purpose routines to translate a bitmap framebuffer into ascii text. you could just combine that with SDL_ttf, or better yet, some simple fixed-width text renderer <3> are opengl pbuffers available under mac os x with SDL now?
<3> Chronx: you haven't really provided any information. <2> err <2> theres already an X aalib video driver for sdl <2> it just doesnt appear to work with opengl <3> loodwig: your makeSurface() routine is pretty awful. whenever SDL can't successfully allocate a new surface for you, you shouldn't just TRY AGAIN without doing anything else. in most cases not getting the surface you request means you either ran out of video memory, ran out of system memory (you were denied memory by your system,) or some other serious failure <2> you know what they say <2> if at first you don't succeed... <3> sparr: oh that's neat. it's been a long time since i used aalib that must have been done within the past 4 years or so. yeah nothing that is designed to render using SDL's blitting functions will EVER work when using OpenGL. and it shouldn't. <2> ... then skydiving isnt for you :) <1> when i try to compile i get errors... undefined reference to "__sprintf_chk" ?? <1> i get like 30 of those <1> in different functions <1> what does that mena ? <1> mean <3> Chronx: that doesn't sound like a compiler error. that sounds like a linker error. <1> sounds like an error to me <1> any idea how to fix it ? <4> Hello everybody :D <1> i've had this problem before <1> i don't remember how exaclty i fixed it <3> no because you haven't said ANYTHING about your program, your build tool chain, or your system <1> g++ ? <1> my sdl app uses SDL_image SDL_mixer SDL_ttf <3> you already said that <1> and the errors are in SDL_mixer lib <1> in the functions of SDL_mixer <3> are the errors when you're building SDL_mixer? or when you're linking to SDL_mixer? <1> i don't know <1> beacuse i only have 1 .o file <3> why don't you show people your errors instead of just being a douche and expecting us to guess your problem? <4> Cool, I'm trying to use SDL on dev c++ <1> i'm being a douche .. <1> hmm <1> not sure how but ok <4> But I can't, Do you have any document about installing SDL on dev c++ ? <3> Chronx: then you shouldn't be trying to program an SDL application using any language other than BASIC. there are many other fundamental skills you still have to learn. <1> my app compiles fine on windows <1> but in linux the libs arenn't working <4> I'll ask later, see ya :-) <1> and i seriously doubt that basic supports SDL <1> http://cpp.sourceforge.net/?show=17702 <3> did you install SDL_mixer using your linux distribution's package manager? <1> yes. <1> SDL_mixer-devel <3> did you build any SDL_ttf test programs? <3> or SDL_mixer <1> no <3> i'm not saying this is it, but the SDL_mixer problem looks like it is linked to a different version of the C runtime library <1> any idea how to fix it ? <3> and as for SDL_ttf it looks like you might not have freetype installed <1> without compiling myself <3> sorry, that's the only solution i can offer you <3> but i mean, if you're a coward, you could try searching for different solution, to avoid the scariness of building SDL_mixer from source <1> shouldn't be too hard. <3> more like <3> _you_ shouldn't be too hard <3> after you sleep with your own mother <3> ohhhhhhhhhhhhh <3> buurrnned <1> right. <1> what are you like 12 ?
<1> lawl <1> burned. <3> excellent deduction. i'm smarter and less cowardly than you, and i made fun of your ***ual habits. if it's normal for a 12 year old to kick your *** so bad, then i guess that _was_ a clever deduction. <1> dude you're a complete douche <3> witty <1> lawl its always funny when ppl underline the wrong word <3> alright, you are very boring. <5> If I get a resize event and want to reset the display, do I need to do SDL_FreeSurface on the old display surface before ***igning a new one? <5> Or am I missing some handy "resize display" function? <6> hi! <7> yo <6> Does anyone have articles about SDL and gamemaking, who will permit translate it to Russian language ? <8> Hrm <8> Wow, you must be ancient! <9> superancient <8> anescient, even! <9> I'm eating honey with a spoon <8> Nice <8> Hmm <8> I want ice cream now. :) <9> having dipped honeycomb in it <8> Yum <9> and I have seven watermellons <9> make that six <10> that's a proper title people <11> I just got a flashback to an old SNL skit <11> celebrity jeopardy with norm mcdonald <10> you didn't know that there was an authority structure in turd burgling? <11> hadn't the foggiest <10> cooperation and organization are essential in such a dangerous field <8> Oh my. :) <10> I don't see much action myself, I'm more of a figurehead <10> somebody juggle <10> hang on to those, and I'll have myself burgled burgled turtle turds <8> lol <10> does anybody else eat the dust out of the bottom of the cereal bag <10> hey alright <11> depends on the cereal <5> If I get a resize event and want to reset the display, do I need to do SDL_FreeSurface on the old display surface before ***igning a new one using SetVideoMode? <12> no just a new videomode <5> Harekiet: So I can just overwrite the screen pointer with the results of calling SetVideoMode again? <12> Orborde: yeh <13> hi. can somebody tell why i can see the rafresh rate on my opengl scene? <13> well maybe i asked wrong :S. not good at english tachnical terms :P. why i see black horizontal stripes moving from top to bottom in my opengl scene <12> probably no double buffering <13> thx, but i already solved it <13> it was doube buffering problem yes :P <5> Harekiet: Thanks. <1> woot. <1> http://chronx.10gb.org/cpp/index.html <13> help needed. If my SDL_NewTimerCallback Delay(interval, ) function called rom SDL_AddTimer(interval, , ) function returns a different interval as it was p***ed, do i then have to use RemoveTimer() on the ID that i got from SDL_AddTimer() or is that done by SDL? <14> never used timers sorry <13> how did you done a delay then? <14> SDL_Delay <13> well i mean, if your program is doing an animation for example and you want that something happens every 1sec. <14> compare SDL_GetTicks to scheduled time <15> billy do something like: int Start = SDL_GetTicks() <15> then if ( SDL_GetTicks() - Start >= 1000) <15> and then execute a code <15> and set a new Start <13> ok <13> but this doesnt work if you have small time delays and and long functions in your while loop <13> just loop without while :P <16> well why'd you need higher granularity in timers than a frame anyway? <16> or not necessarily a frame, let's say "update" which is one main loop iteration <13> then SLD_AddTimer() is useless for display <13> ? <16> well yes in the sense that it's mostly useless for things like say animation <14> yes, don't use it for drawing frames <16> it's not useless for everything that is <13> yes because of that i said for display
Return to
#sdl or Go to some related
logs:
#nvidia file system of ubuntu xscreensaver entrance enlightenment #lisp roguelike tiles #suse mailscripts in linux #gaim #css #php
|
|