Jump to content

  • Log In with Google      Sign In   
  • Create Account


Soilborn

Member Since 16 Sep 2013
Offline Last Active Oct 26 2013 09:48 PM

Posts I've Made

In Topic: Getting SDL downloaded and installed

22 October 2013 - 02:31 PM

Ah Pink Horror, I think I know where our complexities arise. I said it was looking for SDL.lib, and then said I put a copy of the file where i was told to. It seems you thought I meant that I had copied SDL2.lib, when what I meant was SLD2.dll. My apologies, I should have been more clear.

 

Okay, so I tried setting things up again from scratch, same process. For some odd reason it seems to work fine. The first time I ran the simple program given in the tutorial it gave me a directex error. It ran in Avast Sandbox mode though which, though happy with it, terminated the application before I could get the error code. Every time I've run the program since it works without a hitch.

 

I think my problem is that I have two Program Files folders, "Program Files" and "Program Files (x86)". This seems like it was likely the root of the problem. Before I retried the tutorial I moved my libraries and includes from the later to the former. I think Visual Studio just didn't like the "(x86)" part of the folder name.

 

I was also getting a warning under my error list the second or third time I launched the tutorial application, but it's since vanished from subsequent executions. I think I'm good to go. Thanks anyway, Pink Horror! I'd hug you if I could.


In Topic: Getting SDL downloaded and installed

16 October 2013 - 08:13 AM

 



It's yelling at me saying "The program can't start because SDL2.dll is missing from your computer. Try reinstalling the program to fix this problem." =\

 

From your tutorial:

 

 

Before we can run this program we’ll need to copy the SDL binary into our executable’s directory. SDL2.dll can be found in the lib directory of your SDL folder under lib/(x86/x64), use the one for the architecture you linked against.

 

In my original post I'd pointed out that I'd already done that and, in fact, put a copy in every folder of the project. Maybe it's because my code isn't creating an executable when I run it?


In Topic: Getting SDL downloaded and installed

15 October 2013 - 06:05 PM

It's yelling at me saying "The program can't start because SDL2.dll is missing from your computer. Try reinstalling the program to fix this problem." =\


In Topic: Getting Started with Graphics. Help?

17 September 2013 - 02:53 PM

Well my problem was that I downloaded the wrong files and thought I would be able to just run a program and they'd be permenant plug-ins for C++. Nope. Gotta be included manually. I found and downloaded the include and lib files seperately, but I clearly have a lot to learn still.

 

Right now I'm doing other things, so I doubt you'll hear back from me on this issue today.


In Topic: Getting Started with Graphics. Help?

17 September 2013 - 12:59 PM

Thanks for the help so far, all of you. I'm truly grateful.

 

I'm trying to install SDL right now. I downloaded the latest version (SDL-2.0.0) and tossed the VisualC foldier right into my Visual Studio folder. I opened the SDL_VS2012.sln file as the instructions indicated and let it do it's thing. It built a bunch of solutions and says it placed some files here and there (not sure where.)

 

The rest of the instructions seem disconnected though. It says to build the .dll and .lib files, but I can't find them. All the folders contain either .vcproj or .vcxproj files. In the compiler I see a ton of files for .h and .c, but attempting to access them throws me an error saying that they don't exist (and indeed they don't.) Not quite sure where to go from here.

 

Edit: I found a youtube video that helped me out on this problem. I've yet to actually fiddle with SDL, but we'll see where this takes me.


PARTNERS