• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
ajm113

Trying To Run SDL on Visual Studio 2012

5 posts in this topic

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL [font=Times New Roman][size=3][color=#000000]2.1 [/color][/size][/font]Jan 20th snapshot source code, and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
[url="http://www.mediafire.com/?clvn8axmydposjf"]http://www.mediafire...clvn8axmydposjf[/url]


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

EDIT: Wooow, never mind... I fixed this myself, by putting the dlls in. "(project name)/Debug"... I'm kinda surprised they would relocate the execution position when you debug/release run your project. Let me ask this then... Why this change? I kinda like the new layout changes they made, but I'm not too happy to the new look really...

Thanks, Andrew. Edited by ajm113
0

Share this post


Link to post
Share on other sites
In every MSVC setup since the 2005 version (possibly before but my memory is too hazy on this), the default project setup I have experienced has always been to create Debug/Release subfolders for the different builds. When building (at least) two different configurations of the same program you have to do that (that is: store the builds in different directories; not necessary those exact two directories) or ensure every intermediate file and final file has a different name. If you don't do that you either have to do a full rebuild on every compile or risk linking files from two different configurations (which will fail at best and crash in an obscure manner at worst).
0

Share this post


Link to post
Share on other sites
Visual Studio from 2008 and up = Pure Garbage.

That why I stick to 2005.

Good luck
-6

Share this post


Link to post
Share on other sites
@BitMaster, thanks that makes more sense now come to think of it and it works better. ^^ Thanks for your post!

@Acotoz What don't you like about the newer ones if I may ask?

... Great Mediafire thinks I'm illegally redistributing something, even though I'm following GNU guidelines and the SDL website's... -__- I love how hosting companies overact and don't look up information a little more first that takes 5 seconds. Edited by ajm113
0

Share this post


Link to post
Share on other sites
I don't have the exact change set in my head anymore but I remember a huge relief going from MSVC 2005 to 2008 because several standard required thingies were working and some bugs were fixed (on the other hand MSVC 2008 also introduced a different set of bugs, some of which have not been fixed today). Going from MSVC 2008 to MSVC 2010 might be a different issue because while Intellisense got much better, it also increased its system requirements. I never noticed that but I heard from some people on lower end systems that it could get quite tiresome to work back then.

The idle banter aside, I would say in Acotoz we have a clear case of how user rating displays the quality of a user's responses. Even under the assumption that everything up from MSVC 2008 was indeed "pure garbage", I would never suggest staying with MSVC 2005 then. Too many things were broken there (especially some interesting template stuff) and it will never get C++11 support.
I you cannot stand MSVC for some reason, then investigate the other compilers and IDEs. Several free possibilities are available as well.
2

Share this post


Link to post
Share on other sites
I did feel that too going from 2005 to 2008, it just felt right when I was using 2008. Now I feel like I'm cheating on it, since I've been using it since it first came out.

[left]Yes, maybe use something [size=4][font=arial, helvetica, sans-serif][color=#282828]like codeblocks, it's simple and it's somewhat close to VS2005 Acotoz.[/color][/font][/size][/left] Edited by ajm113
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0