• 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
Shashwat Rohilla

Getting started with DirectX

16 posts in this topic

I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.

-1

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306734346' post='4817394']
I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.


[/quote]

why are you using a SDK that is 4 Years Old ?
0

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306734346' post='4817394']
I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.


[/quote]

You have to set the include path and the library paths for your project, as well as specify additional dependencies in the linker.

To specify the paths, open up VS and start a project (or use an existing sample from the SDK), click on the 'Properties' tab at the top, navigate to 'VC++ directories' and click on the 'Include Directories' row in the window and to the right specify the path to the SDK's include folder. Then click on the 'Library Directories' row and specify the path to the SDK's lib folder.

Once you done that, under the VC++ Directories click on Linker beneath it. In the linker category, navigate to the Input option. Select the 'Additional Dependencies' row and in the field to the right enter the library file names you want to use. For example to use DX10, you would want to probably specify


d3d10.lib
d3dx10d.lib
dxerr.lib
dxguid.lib
dxgi.lib

as dependencies.

Hope that was clear enough, good luck.
0

Share this post


Link to post
Share on other sites
[quote name='ryan20fun' timestamp='1306734882' post='4817396']
[quote name='Shashwat Rohilla' timestamp='1306734346' post='4817394']
I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.


[/quote]

why are you using a SDK that is 4 Years Old ?
[/quote]

This was one of the few torrents which I got. I asked my friend to download.
[b]Please send me the link for some newer version.
Or mail me some torrent (if possible) at [/b][email="shashwat.delhi@gmail.com"][b]shashwat.delhi@gmail.com[/b][/email][b].
Is this problem coming because I am using old SDK?
[/b]Thank you!
0

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306736539' post='4817405']
[quote name='ryan20fun' timestamp='1306734882' post='4817396']
[quote name='Shashwat Rohilla' timestamp='1306734346' post='4817394']
I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.


[/quote]

why are you using a SDK that is 4 Years Old ?
[/quote]

This was one of the few torrents which I got. I asked my friend to download.
[b]Please send me the link for some newer version.
Or mail me some torrent (if possible) at [/b][email="shashwat.delhi@gmail.com"][b]shashwat.delhi@gmail.com[/b][/email][b].
Is this problem coming because I am using old SDK?
[/b]Thank you!
[/quote]

[url="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba"]http://www.microsoft...02-438a3ba730ba[/url]
0

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306736539' post='4817405']
[quote name='ryan20fun' timestamp='1306734882' post='4817396']
[quote name='Shashwat Rohilla' timestamp='1306734346' post='4817394']
I am using Visual Studio 2008, windows 7 64-bit.

I downloaded DirectX SDK August 2007 and installed it.
When I tried to build a tutorial program, it said "can not open dx3d10d.lib"
Please help me why this error is coming. The file is present in the required folder of VS.


[/quote]

why are you using a SDK that is 4 Years Old ?
[/quote]

This was one of the few torrents which I got. I asked my friend to download.
[b]Please send me the link for some newer version.
Or mail me some torrent (if possible) at [/b][email="shashwat.delhi@gmail.com"][b]shashwat.delhi@gmail.com[/b][/email][b].
Is this problem coming because I am using old SDK?
[/b]Thank you!
[/quote]

why was my post -1 ?, its not like asking a question is bad

[url="http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba"]here is the link to the latest version[/url]
0

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306736539' post='4817405']
This was one of the few torrents which I got.
[/quote]



DirectX SDK is FREE [img]http://public.gamedev.net/public/style_emoticons/default/laugh.gif[/img]
1

Share this post


Link to post
Share on other sites
[quote name='Kamo16' timestamp='1306736502' post='4817404']
You have to set the include path and the library paths for your project, as well as specify additional dependencies in the linker.

To specify the paths, open up VS and start a project (or use an existing sample from the SDK), click on the 'Properties' tab at the top, navigate to 'VC++ directories' and click on the 'Include Directories' row in the window and to the right specify the path to the SDK's include folder. Then click on the 'Library Directories' row and specify the path to the SDK's lib folder.

Once you done that, under the VC++ Directories click on Linker beneath it. In the linker category, navigate to the Input option. Select the 'Additional Dependencies' row and in the field to the right enter the library file names you want to use. For example to use DX10, you would want to probably specify


d3d10.lib
d3dx10d.lib
dxerr.lib
dxguid.lib
dxgi.lib

as dependencies.

Hope that was clear enough, good luck.
[/quote]

Actually, when I tried writing a basic window program, it worked.
The path is already mentioned and dx*.lib are being added to the same path only. (Still, I will confirm)
It would have been this problem, then I think it should have given the error
"can not [b]find[/b] dxd310d.lib" instead of "can not [b]open[/b] dxd310d.lib". Isn't it?


[quote]
[url="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba"][color="#284b72"]http://www.microsoft...02-438a3ba730ba[/color][/url]
[/quote]

I downloaded this link. But the total size was around 350MB instead of 571MB mentioned there. The setup didn't started.
When I searched on the net, many people were getting the same error.
So, I started searching for the torrents and that is the one which I found the best at that time.

As a beginner in DirectX, I am comfortable with any version. But atleast the program should run.
0

Share this post


Link to post
Share on other sites
I have set the path for the library.
Now its giving some different error.
Can anyone tell me what is the problem?
I've attached the snapshots.
0

Share this post


Link to post
Share on other sites
[quote name='ryan20fun' timestamp='1306941660' post='4818298']
did you create that project or is it a "complete" sample tutorial ?
[/quote]

Complete sample Tutorial.

It was a VS2005 solution. When I opened it.
It was automatically converted to VS2008 format. Can it be the problem?
0

Share this post


Link to post
Share on other sites
My suggestion is to keep trying to download the latest directx sdk from microsoft. Since its a big file, it might not completely download the first few times you try if you have a slow internet connection or if you're far from their servers.
0

Share this post


Link to post
Share on other sites
[quote name='iedoc' timestamp='1306992619' post='4818530']
My suggestion is to keep trying to download the latest directx sdk from microsoft. Since its a big file, it might not completely download the first few times you try if you have a slow internet connection or if you're far from their servers.
[/quote]


It was downloaded fully. But when I checked the size. It was just around 300MB.
Not only me, many other people were getting the same problem.
When I tried running the setup, it gave me some error.
Anyways, I'll try it.
0

Share this post


Link to post
Share on other sites
[quote name='Shashwat Rohilla' timestamp='1306996262' post='4818545']
Do you think it the problem with the version?
Or I am missing something to run the program?
[/quote]

ive got the June2010 version and it is 571MB
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