Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Ebrithil

Member Since 06 Nov 2007
Offline Last Active Aug 19 2013 11:13 AM

Posts I've Made

In Topic: SDL linking

01 May 2013 - 12:07 AM

Put the SDL.dll file in the same directory as the executable file. That's how I have seen most people doing.

 

This seems to be the best method. Thanks.


In Topic: SDL linking

30 April 2013 - 08:18 PM

I have no problem with linux what so ever. You install SDL by unpacking the tarball and running make (depending on what your distro is). My linker issue that I was having was that it just wasn't looking in the right directory and I have that covered. I just need to figure out how to run the program on a windows computer that dosen't have SDL. That means I need to either include it with the file or make it statically linked.


In Topic: SDL linking

30 April 2013 - 04:43 AM

Ok so I have got it to compile with no errors using:

/usr/bin/i486-mingw32-g++ -static-libgcc -static-libstdc++ -L . test.cpp -o test.exe -lmingw32 -lSDLmain -lSDL -mwindows

 

It still wont run on Windows however I get a SDL.dll not found error. So I guess I just have to make it static now?


In Topic: Random number generator help for a noob

08 June 2009 - 12:41 PM

yeah, I did originally have it seed up top. I guess I just didnt think about it when I cut and pasted a few sections of my code. Also after the reading sounds like I'm gonna have to change my IDE to deal with debugging anyways.

In Topic: Question about my IDE

29 March 2008 - 04:57 AM

yeah, i did start a new project not really sure what it was all about. However i was able to fix the problem by changing the names from gamestats and gamestats 2.0, to something as simple as gamestats and gameStats 2.0. Not really sure why this made a differnce tho. i guess the numbers on the end just didnt make it differnt enough. thanks for your time.

PARTNERS