visual studio linkers + direct x error

hi

Where do I find "project properties"? since it isn't present under the options in visual studio 2010 (or that I'm finding it hard to find).

Project properties -> Linker -> Input -> Additional Dependencies


plus I've got this direct x 10 which is the core source of the problem. (I had basically copied and pasted a tutorial from the direct X sample, to see if I could eventually learn to write it from scratch but it failed).

1>------ Build started: Project: Game Software Engineering 1 Init, Configuration: Debug Win32 ------
1>Game Software Engineering 1 Init.obj : error LNK2019: unresolved external symbol _D3D10CreateDeviceAndSwapChain@32 referenced in function "long __cdecl InitDevice(void)" (?InitDevice@@YAJXZ)
1>H:\YEAR2\Game Software Engineering GAMENG\MAZUMA ENGINE\Game Software Engineering 1 Init\Debug\Game Software Engineering 1 Init.exe : fatal error LNK1120: 1 unresolved externals
1>
Where do I find "project properties"?

Right click your project (in the Solution Explorer pane) and click properties. Alternatively, select your project in the Solution Explorer, then click Project -> Properties in the main menu.

That linker error should go away once you add DirectX's .lib to your project's additional dependencies list.
Topic archived. No new replies allowed.