Witam. Niedawno powróciłem do programowanie, kiedyś korzystałem z code::block'a i wszystko było w porządku. Teraz mam zainstalowanego Visual Studio 2012. Dodałem do "Proporties" w projekcie dwie ścieżki:


C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86

Chciałem stworzyć pewien program, zacząłem dodawać include itp.

#pragma comment (lib, "d3d11.lib")
#pragma comment (lib, "d3dx11.lib")
#pragma comment (lib, "d3dx10.lib")

#include <windows.h>
#include <windowsx.h>
#include <d3d11.h>
#include <d3dx11.h>
#include <d3dx10.h>

Zrobiłem coś takiego, zbuildowałem i nie wiem czemu projekt się nie skompilował. W code blocku wszystko jest ok. Orientuje się ktoś czemu nie działa?
Oto errory

Error    29    error LNK1104: cannot open file 'C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86.obj'    C:\Users\Sebek\documents\visual studio 2012\Projects\Cheat\DirectMenu\LINK
Warning    1    warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    12
Warning    2    warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    13
Warning    3    warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    14
Warning    4    warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    15
Warning    5    warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    16
Warning    6    warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    17
Warning    7    warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    18
Warning    8    warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    21
Warning    9    warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    22
Warning    10    warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    23
Warning    11    warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    24
Warning    12    warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    25
Warning    13    warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    26
Warning    14    warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    27
Warning    15    warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    28
Warning    16    warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    29
Warning    17    warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    30
Warning    18    warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    31
Warning    19    warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    32
Warning    20    warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    33
Warning    21    warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    34
Warning    22    warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h    35
Warning    23    warning C4005: 'D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h    917
Warning    24    warning C4005: 'D3D11_ERROR_FILE_NOT_FOUND' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h    918
Warning    25    warning C4005: 'D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h    919
Warning    26    warning C4005: 'D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h    920
Warning    27    warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h    608
Warning    28    warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition    c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h    609