# Resolved: VC++ 2005 Express Beta and DX9 linker error

This topic is 4558 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

##### Share on other sites
Did you tryed to compile a simple windows application?
If your VS compiles only console application then you didnt set up your VS 2005 correctly . There are two ways to make VS 2005 Beta2 compile windows app:
1. The way described on the page you mentioned.
2. Assuming that you have installed VS in the Programe Files directory, create a directory "PlatformSDK" under "ProgramFiles\Microsoft Visual Studio 8\VC". Copy the "bin", "include" and "lib" directory from the PlatformSDK-installation into this directory.

For more details check this link:
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=2995

##### Share on other sites

I can build both win32 console applications and win32 windows applications. The latter being made through the win32 wizard, which results in a window with an "about box" and file->exit menu.

I'll uninstall everything and try it the second method that you propose.

I'll let you know if it works out! :)

##### Share on other sites
I dont think you have to reinstall VS or PlatformSDK . If you are able to compile windows aplications most probably your VS is configured with PlatformSDK correctly.
Unfortunately I dont have the August SDK installed on my machine. Maybe someone around here can compile that sample code and give you a hand with this problem.

[Edited by - Calin on August 31, 2005 7:45:18 AM]

##### Share on other sites
Hey there,

The problem is solved (at least so far as compiling DX9 programs). The sample programs tend not to compile due to the compiler using unicode, which I haven't figured how to have it use ANSI instead.

The solution was to create include, and lib system variables and then assign the associated directories to those. Then those variables were used as include and lib sources for the VC++ environment.

Thanks for the help!

##### Share on other sites
I just remembered I had the same problem when I started using VS Express Beta 2 ( a month ago). Too bad it didnt cross my mind initially.
Anyways Im glad you solved your problem.
BTW: I have read your blog. Interesting I just started to make a terrain engine too.

[Edited by - Calin on September 1, 2005 2:16:00 PM]

##### Share on other sites
Quote:
 Original post by CalinI just remembered I had the same problem when I started using VS Express Beta 2 ( a month ago). Too bad it didnt cross my mind initially. Anyways I`m glad you solved your problem. BTW: I have read your blog. Interesting I just started to make a terrain engine too.

Maybe we can share ideas about our progress with our respective terrain engines?

You are free to comment on the blog. I hope to start uploading pictures of my progress soon.

Thanks.