• 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
mrheisenberg

Visual Studio 2012 ruined everything

12 posts in this topic

I worked for around a year on a DirectX Framework in C++ in Visual Studio 2010.Then I made the horrible mistake of getting the new one - after I installed it the DirectX SDK samples started having all sorts of problems,I couldn't even compile audio libraries that I could with 2010,I heard others had the same problems after installing it with the new .NET 4.5.It also replaced some of the C++ core libraries I think,because after I spent 5 hours uninstalling this abomination(along with the other 30 things that installed along with it,my project started missing about 120 headers('excpt.h','crtdbg.h','string.h',pretty much everything).I uninstalled both 2010 and 2012,uninstalled all the .NET versions and the SDK and everything,then reinstalled 2010,.NET 4 and the SDK.The missing 120 headers problem still persists...what can I do to fix this?
1

Share this post


Link to post
Share on other sites
Interesting. I have 2010 and 2012 installed side by side, and have seen nothing like you describe. My D3D apps compile fine under both.

That said, I *have* seen similar problems using the vc11 rc version - that definitely did overwrite some existing d3d debug libs/dlls and caused some headaches.

The first thing to so is find out whether you actually have the files it can't find anywhere. I suspect you do, and either an environment variable or registry setting left over from your previous install is telling the compiler to look in the wrong place for your headers. The next thing to do is to find out where your compiler is looking for the files.
0

Share this post


Link to post
Share on other sites
[quote name='mrbastard' timestamp='1345999458' post='4973506']
Interesting. I have 2010 and 2012 installed side by side, and have seen nothing like you describe. My D3D apps compile fine under both.

That said, I *have* seen similar problems using the vc11 rc version - that definitely did overwrite some existing d3d debug libs/dlls and caused some headaches.

The first thing to so is find out whether you actually have the files it can't find anywhere. I suspect you do, and either an environment variable or registry setting left over from your previous install is telling the compiler to look in the wrong place for your headers. The next thing to do is to find out where your compiler is looking for the files.
[/quote][quote name='mrbastard' timestamp='1345999458' post='4973506']
Interesting. I have 2010 and 2012 installed side by side, and have seen nothing like you describe. My D3D apps compile fine under both.

That said, I *have* seen similar problems using the vc11 rc version - that definitely did overwrite some existing d3d debug libs/dlls and caused some headaches.

The first thing to so is find out whether you actually have the files it can't find anywhere. I suspect you do, and either an environment variable or registry setting left over from your previous install is telling the compiler to look in the wrong place for your headers. The next thing to do is to find out where your compiler is looking for the files.
[/quote]

but I'm running Windows 7 and it required me some .dlls from after the DirectX June 2010 SDK has been made,like Windows 8 dlls,for instance it requires me to have XAudio2_8.dll,even tho the DirectX SDK has only XAudio2_7.dll.Is there a way to download the latest Windows SDK(the one you sad has directx in it and that probably has the .dll i need + the 100 missing libraries) and use it under Windows7?I'm not into buying Win8 right now Q_Q
0

Share this post


Link to post
Share on other sites
Actually uninstalling VS 11 is quite easy, much unlike previous versions. I've been following it since the earliest release after last year's BUILD, and I never had any problems with my VS 2010 install. It is generally a very bad idea to uninstall a system component. And what does .net have to do with c++? Unless you use some of the 3.5+ features, I really don't see any sense in installing it (by default, you've got 2.0 in XP SP3, 3.0 in Vista and 3.5 in Win 7). VS installs a lot of stuff, but so far my experience has been smooth.

Anyhow, I don't recommend installing pre-release versions of VS on your dev PC - I usually do it on a VBox. That way you get to test all the Win8 stuff as well.

I would recommend to try and restore windows. VS must set a restore point before its installation. Just back-up your project on external HDD and restore. Restore has saved my ass quite often. Don't bother with manually installing and reinstalling. I guess there are better backup strategies, but that's what I've used and it mostly works. Best of luck with this mess!
0

Share this post


Link to post
Share on other sites
I also have VS2010 and 2012 side by side with no problems on Windows 7. It's also no longer pre-release software, so if you were using 2012RC make sure you download the latest release version.

[quote name='mrheisenberg' timestamp='1346000697' post='4973508']
Is there a way to download the latest Windows SDK(the one you sad has directx in it and that probably has the .dll i need + the 100 missing libraries) and use it under Windows7?
[/quote]

[url="http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx"]You can get it here.[/url]

It's the Windows 8 SDK but it works fine for Windows 7.
0

Share this post


Link to post
Share on other sites
Did you uninstall VS2010 and then tried to install VS2012 as this caused me issues before with 2008 and 2010 without rebooting in between. The only fix I found was to uninstall everything VS related and restart the install procedure.
0

Share this post


Link to post
Share on other sites
I had this issue. After installing SP1 for VS 2010 (or it was 2012? I forget) all my issues went away - but depends what error were you getting?
0

Share this post


Link to post
Share on other sites
[quote name='krippy2k8' timestamp='1346003199' post='4973516']
I also have VS2010 and 2012 side by side with no problems on Windows 7. It's also no longer pre-release software, so if you were using 2012RC make sure you download the latest release version.

[quote name='mrheisenberg' timestamp='1346000697' post='4973508']
Is there a way to download the latest Windows SDK(the one you sad has directx in it and that probably has the .dll i need + the 100 missing libraries) and use it under Windows7?
[/quote]

[url="http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx"]You can get it here.[/url]

It's the Windows 8 SDK but it works fine for Windows 7.
[/quote]

ok I did all that and most of the libraries are now in place,some trouble was that they slightly renamed most dx headers in the Win8 SDK,but one thing I don't understand - it says in msdn:
[quote]Note The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Metro style apps.
Create a data processor for a shader asynchronously[/quote] for <d3dx11async.h>
Does that mean there is a replacement header for it?I can't find anything about it.
0

Share this post


Link to post
Share on other sites
[quote name='mrheisenberg' timestamp='1346018250' post='4973586']
ok I did all that and most of the libraries are now in place,some trouble was that they slightly renamed most dx headers in the Win8 SDK,but one thing I don't understand - it says in msdn:
[quote]Note The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Metro style apps.
Create a data processor for a shader asynchronously[/quote] for <d3dx11async.h>
Does that mean there is a replacement header for it?I can't find anything about it.
[/quote]
No, that means it's going away (eventually). It's been deprecated. There isn't a "replacement" header for it. Here's a little note from Wikipedia on it:

[quote]In 2012, Microsoft announced that D3DX would be deprecated in the Windows 8 SDK, along with other development frameworks such as XNA, Silverlight, and Windows Presentation Foundation. The mathematical constructs of D3DX, like vectors and matrices, would be consolidated with XNAMath into a new library: DirectXMath.[/quote] Edited by Cornstalks
0

Share this post


Link to post
Share on other sites
[quote name='Cornstalks' timestamp='1346018483' post='4973587']
[quote name='mrheisenberg' timestamp='1346018250' post='4973586']
ok I did all that and most of the libraries are now in place,some trouble was that they slightly renamed most dx headers in the Win8 SDK,but one thing I don't understand - it says in msdn:
[quote]Note The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Metro style apps.
Create a data processor for a shader asynchronously[/quote] for <d3dx11async.h>
Does that mean there is a replacement header for it?I can't find anything about it.
[/quote]
No, that means it's going away (eventually). It's been deprecated. There isn't a "replacement" header for it. Here's a little note from Wikipedia on it:

[quote]In 2012, Microsoft announced that D3DX would be deprecated in the Windows 8 SDK, along with other development frameworks such as XNA, Silverlight, and Windows Presentation Foundation. The mathematical constructs of D3DX, like vectors and matrices, would be consolidated with XNAMath into a new library: DirectXMath.[/quote]
[/quote]
The effect part is consolidated in the effect library which you have to build yourself and then link against that lib. This was done because most profesional users didn't like the closed source nature of the library this way you can modify it so it works for your particular problem.
0

Share this post


Link to post
Share on other sites
[quote name='NightCreature83' timestamp='1346027247' post='4973623']
This was done because most profesional users didn't like the closed source nature of the library this way you can modify it so it works for your particular problem.
[/quote]

I suspect it was done not so much because of this but simply because MS didn't want to support it any more :)

I know there is no hint of the effect library in our rendering code down in CT; we do it all with our own constructs and code and I suspect the same is true for other companies too.
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