| |
| |
| |
|
Page: 1 2 3
Comments:
<0> I just setup SDL with Dev-cpp whenever i compile a test SDL_Init() and SDL_Quit() it compiles fine, shows a console and then stays there till killed from task manager.... <0> on further looking there is a file called stdout.txt in the project folder with "Press any key to continue" <0> I forgot to mention there is a system("pause") after SDL_Quit() <0> Any ideas? I am fairly new to this. I have added all the libraries and it compiles fine. <1> what are you expecting it to do? <0> Open and close. I'm just setting everything up on a different computer. <0> I'm not getting the system("pause") message on the console. It is apparently writing to a file. <1> ahh, that is how it works in windows I believe <1> http://72.14.253.104/search?q=cache:uyvA3dTValUJ:www.libsdl.org/pipermail/sdl/2002-November/050292.html+sdl+stdout&hl=en&ct=clnk&cd=2&gl=us&lr=lang_en&client=iceape <0> Apparently so, SDL_init() SDL_Delay(3000) and SDL_quit() opens the console and closes it 3 secs later.. Sorry for wasting your time, and thank you for your help. <2> I'm having trouble setting up SDL on DevC++, I've gotten everything working except "undefined reference to WinMain" <2> I have included the libs in the lib directory of DevC++ <2> and also the .h files for SDL in the include directory... <0> make sure you link mingw32 SDLmain and SDL in that order <2> hmm, I just found that, but how do I do that? I put "-lmingw32 -lSDLmain -lSDL -mwindows" into additional command line options parameter <0> Project ->Project options -> Parameters and put it under linker
<2> doh... could you repeat that? <0> Project ->Project options -> Parameters and put it under linker <2> does DevC++ have a channel? <0> Project ->Project options -> Parameters and put it under linker <2> thanks <0> oops <2> oh, lol. I didn't know you could just type stuff into that box, I thought you just select files and I didn't know where to find the mingw32 thing <2> anyways, it worked thank you much <3> blitz surface! <4> Hello :) <3> hello <3> [Relic]: coding something? <4> not right now :) <3> what are you doing then? <4> looking through all my irc windows and getting ready to get some ice cream :) <3> new york super fugde chunck or cookie dough <4> 5 degrees out so it must be time for ice cream :) <4> some strawberry :) <3> how vanilla <3> what are you coding when you are coding? <4> space strategy wargame <3> sounds neat <3> got url? <4> not much more than a design doc and some basic gfx yet, till I figure out screen layouts <3> ok <4> :) <5> Is there a way to yield your process in sdl without giving up 10ms of time? <5> SDL_Delay(0) seems to always wait at least 10ms in linux <6> hi, i have problem to compile fe3d <6> isombody can help me, is because sdl lib <6> parasite-, please <7> i'm having some truouble with SDL_ttf <7> i've recently started programing a new 2d engine for an upcoming game i'm planning on developing <7> so i decided i just had to had words in my program (not like my previous one) <7> so, in my cl***, i have a private var: TTF_Font* font; <7> and in my constructor, i've done something like this: font = TTF_OpenFont("lazy.ttf", size); <7> however, it gives me some errors about: "binary '=' : no operator found which takes a right-hand operand of type 'TTF_Font *' (or there is no acceptable conversion)" <7> what am i doing wrong? <7> http://cpp.sourceforge.net/?show=28586 ... <1> it looks like you are sending 'string font' instead of TTF_Font <1> ah you are confusing the font string name with the SDL type <7> i am? <1> change line 6 to say TTF_Font* ttffont <7> ohhh <1> and then line 19 ttffont= <7> omg i just looked at my diclaration :O <1> :) <7> omg i feel so dumb :) <7> thank you <1> np <8> morning <7> morning <9> hi all! <9> Does anyone know how to compile sdl_gfx with nmake under visual c++ 6? I am getting this error makefile(12) : fatal error U1035: syntax error : expected ':' or '=' separator <9> it should be easy but I am no expert with nmake, I have just copied the makefile to the sdl_gfx dir and typed nmake as written in the readme file <10> Yes. Get proper bin tools. <9> where? <9> Does anyone know how to make sdl_gfx under visual c++ 6? <11> isn't there just a workspace file you can open? <11> although vc6 is getting ancient <9> nope it just has an makefile only
<9> I noticed a lot of people on the net have exactly the same problem.. here is a link http://www.resourcecode.de/showtopic.php?threadid=2215 <9> its in german but understandable :P) <11> oh well dunno, never used sdl_gfx otherwise :) <9> is there a better toolkit to rotate etc.? <9> What are you using instead? <11> If i'd have to do realtime rotating and scaling i'd use opengl <9> I can't on this computer... 300 mhz no hardware acceleration :) <9> got framerates under 6 fps :) <11> :) <11> software rotating and scaling isn't exactly cpu friendly either :) <9> yea but at least I could do a little rotation in mem before and it would be okay with small sprites <12> rotate manually at build time <9> that's why I would like to have that sdl_gfx library running <11> yeh precaching everything before should work decent enough with sdl_gfx <9> yea only if it would work.. I love programming little rpgs and usually I do everything in opengl but I am stuck here with a crappy computer and thought why not trying out SDL <9> so far so good but I simply can't compile sdl_gfx.. :/ <9> do you have a suggestion what could I use instead? <9> or somehow make this build possible? <12> learn about nmake and fix the problem <12> write to the mailinglist or whoever maintains sdl_gfx <12> consider if you really need to rotate at runtime <9> I would love to rotate at runtime, its essential <12> rotate with opengl, cache it and render with sdl <13> if you failed at compiling sdl_gfx and are unable to get support from the internet, you can use sge as an alternative. <9> sge? <13> is that a question? <9> I try to avoid opengl for now because of my computer? <9> whats sge> <9> ? <13> look it up? <9> okay? <9> :) <12> lazy people <9> and you call me lazy in front of 65 iddlers :) <12> yes <9> then try to help me getting sdl_gfx going. Its like you enter a channel about linux and ask a question and the answer is, try windows :) <12> sdl_gfx is not part of sdl and i've never used it <13> I've used it but I haven't seen the error messages you get. <9> so you use opengl instead? <9> pwned: compiled on visual c++ 6? <13> no, on mingw <9> would the dll's you create with mingw work as well under visual c++? <13> no idea. <13> they have faqs on the website <13> never had to <9> I found like at least 5 references on forums with people having exactly the same errormessage under nmake, but gamedev is atm under 'malicious attack' and out of order <12> you dont need hardware opengl to rotate to a surface <12> and i dont think i've ever needed runtime rotation when not doing real 3d <9> rnx: so I just use glrotate and how do <9> I load it into sdl? <13> is he asking how to initialize opengl in sdl ? <9> its confusing usung sdl together with opengl and I wouldnt know even why <9> nope I am asking how to render something under sdl, having it rotated with opengl <13> so if I suggest mingw, I guess it will be like suggesting to use windows instead of linux <9> not quite.. thats a fair solution, hopefully it will work <9> about opengl.. why would you use ogl and sdl together? <13> for the sound and the event handling and stuff <13> keyboard, mouse. <9> I see.. so its like opengl at the base and sdl for even handling ala glut or freeglut? <14> Similar, yes. <13> I'd rather choose the more functional thing. <13> unless of course I really want to draw a teapot <9> makes sense.. Although the reason why I wanna do something purely with sdl is because opengl is extremely slow on this computer <9> my teapot will take infinite time to boil here <12> as for the rotating ... you can of course render opengl offscreen and fetch the rotated surface for use in sdl <13> he was asking how <9> rnx: any source on the web on how to do that? <9> sound quite complicated and with caching the rotation even more so... <12> i was just listing you options <12> there are lots of resources on opengl render to texture etc. <9> I know.. its just probably not worth the effort, initializing opengl just for a few rotations now and there <9> I am downloading sge right now.. <13> sge binaries ? <9> yes
Return to
#sdl or Go to some related
logs:
kelaouchi #ubuntu yup rpm sles oes #perl #ubuntu #perl #linux escape delimiter csv ADS3GX4R5-E bios upgrade
courierpop3login debugging
|
|