VS 2010 Project - Out of date?

04/04/2012 15:24 m4a16#1
I tried many things to fix this problem, but nothing works. Everything is alright with VS 2010 settings, DirectX Include and library folders are added, libraries that i use in project are also added. I dont know what to do, please help me
04/04/2012 15:27 Dr. Coxxy#2
i read problem but i dont see any problem...
tell us the error vs gives you and we may help you
04/04/2012 16:12 m4a16#3
First it appears small window and tells me that there is a problem with Building my project and it is out of date. Here are some screenshots:

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

And a text with the error:

1>------ Build started: Project: Direct 3D, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol _true
1>Main.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "void __cdecl initD3D(struct HWND__ *)" (?initD3D@@YAXPAUHWND__@@@Z)
1>C:\C++ Project\Direct 3D\Debug\Direct 3D.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The source code i enter is a simple code that only show you a window with some color in it. This 'Out of date' thing appears even with simple codes like cout<<"hello"...
04/04/2012 16:20 Dr. Coxxy#4
you declared the include AND the lib folders of your directx sdk in your project properties?
take the x86 lib folder of the sdk!
even if you got x64 windows, you still compile a 32bit application if you dont declare to msvs that youre doing a 64 bit app.

(dont forget to declare it for Debug & for Release version, or you may got some unexpected errors if you compile as Release version)
04/04/2012 16:46 m4a16#5
Quote:
Originally Posted by Dr. Coxxy View Post
you declared the include AND the lib folders of your directx sdk in your project properties?
take the x86 lib folder of the sdk!
even if you got x64 windows, you still compile a 32bit application if you dont declare to msvs that youre doing a 64 bit app.

(dont forget to declare it for Debug & for Release version, or you may got some unexpected errors if you compile as Release version)
Wohoo thanks man :D I really apreciate your help, i was trying to fix this from 2-3 days :D thanks! :handsdown:
04/04/2012 16:47 Dr. Coxxy#6
Quote:
Originally Posted by m4a16 View Post
Wohoo thanks man :D I really apreciate your help, i was trying to fix this from 2-3 days :D thanks! :handsdown:
np